projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
liblttng-ctl: use export list to define exported symbols
[lttng-tools.git]
/
src
/
common
/
credentials.c
diff --git
a/src/common/credentials.c
b/src/common/credentials.c
index 8b4621c7c03970b832b20385c5b641e320baee5a..fd8b4477bb9ad1b0861ab8a76a10bce35fed60ac 100644
(file)
--- a/
src/common/credentials.c
+++ b/
src/common/credentials.c
@@
-8,19
+8,16
@@
#include <stdbool.h>
#include "credentials.h"
#include <stdbool.h>
#include "credentials.h"
-LTTNG_HIDDEN
uid_t lttng_credentials_get_uid(const struct lttng_credentials *creds)
{
return LTTNG_OPTIONAL_GET(creds->uid);
}
uid_t lttng_credentials_get_uid(const struct lttng_credentials *creds)
{
return LTTNG_OPTIONAL_GET(creds->uid);
}
-LTTNG_HIDDEN
gid_t lttng_credentials_get_gid(const struct lttng_credentials *creds)
{
return LTTNG_OPTIONAL_GET(creds->gid);
}
gid_t lttng_credentials_get_gid(const struct lttng_credentials *creds)
{
return LTTNG_OPTIONAL_GET(creds->gid);
}
-LTTNG_HIDDEN
bool lttng_credentials_is_equal_uid(const struct lttng_credentials *a,
const struct lttng_credentials *b)
{
bool lttng_credentials_is_equal_uid(const struct lttng_credentials *a,
const struct lttng_credentials *b)
{
@@
-40,7
+37,6
@@
bool lttng_credentials_is_equal_uid(const struct lttng_credentials *a,
return a->uid.value == b->uid.value;
}
return a->uid.value == b->uid.value;
}
-LTTNG_HIDDEN
bool lttng_credentials_is_equal_gid(const struct lttng_credentials *a,
const struct lttng_credentials *b)
{
bool lttng_credentials_is_equal_gid(const struct lttng_credentials *a,
const struct lttng_credentials *b)
{
@@
-60,7
+56,6
@@
bool lttng_credentials_is_equal_gid(const struct lttng_credentials *a,
return a->gid.value == b->gid.value;
}
return a->gid.value == b->gid.value;
}
-LTTNG_HIDDEN
bool lttng_credentials_is_equal(const struct lttng_credentials *a,
const struct lttng_credentials *b)
{
bool lttng_credentials_is_equal(const struct lttng_credentials *a,
const struct lttng_credentials *b)
{
This page took
0.023867 seconds
and
4
git commands to generate.