diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-04-12 21:08:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-04-12 21:08:44 +0200 |
commit | ac1234459056864aeb04053fdfe9b0001fc32590 (patch) | |
tree | 795ad03a0a809e6454a98a59bfed7a6cf7c3f968 /src/util.h | |
parent | a7444edaf768ae3dda13c42d8fe26f78b4e63e38 (diff) |
pam: use /proc/self/loginuid only if we have CAP_AUDIT_CONTROL
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index ff38b35804..72ddd36e55 100644 --- a/src/util.h +++ b/src/util.h @@ -396,6 +396,8 @@ bool plymouth_running(void); void parse_syslog_priority(char **p, int *priority); +int have_effective_cap(int value); + #define NULSTR_FOREACH(i, l) \ for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1) |