diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-12 15:16:24 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-12 15:16:24 +0100 |
commit | 1f52a79d4eb0216bf1f2d96539609f02d8bb9e71 (patch) | |
tree | d175e992048df607a2e851d51ca738e4f0e53d38 /src/basic/missing.h | |
parent | 4a6a24be180337f405591c7fa4fa112a765c53bb (diff) | |
parent | ece87975a97509b48a01b1e3da2e99c1c7dfd77a (diff) |
Merge pull request #2265 from ipuustin/ambient
capabilities: added support for ambient capabilities.
Diffstat (limited to 'src/basic/missing.h')
-rw-r--r-- | src/basic/missing.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h index 880e724cb4..2d2785bead 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -1129,3 +1129,19 @@ static inline key_serial_t request_key(const char *type, const char *description #ifndef KEY_SPEC_USER_KEYRING #define KEY_SPEC_USER_KEYRING -4 #endif + +#ifndef PR_CAP_AMBIENT +#define PR_CAP_AMBIENT 47 +#endif + +#ifndef PR_CAP_AMBIENT_IS_SET +#define PR_CAP_AMBIENT_IS_SET 1 +#endif + +#ifndef PR_CAP_AMBIENT_RAISE +#define PR_CAP_AMBIENT_RAISE 2 +#endif + +#ifndef PR_CAP_AMBIENT_CLEAR_ALL +#define PR_CAP_AMBIENT_CLEAR_ALL 4 +#endif |