projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng-{enable-event(1),event-rule(7)}: `--filter` is not always avail.
[lttng-tools.git]
/
src
/
common
/
credentials.c
diff --git
a/src/common/credentials.c
b/src/common/credentials.c
index 589ffabc26f1ea7ac965ba70f702853fd3cfc2ee..0aeaabaeb3a4249cc7c9e25e54f1906fb97dffd0 100644
(file)
--- a/
src/common/credentials.c
+++ b/
src/common/credentials.c
@@
-9,16
+9,19
@@
#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)
{
@@
-38,6
+41,7
@@
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)
{
@@
-57,6
+61,7
@@
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.02291 seconds
and
4
git commands to generate.