diff options
author | Steve Langasek <steve.langasek@ubuntu.com> | 2019-01-03 21:15:18 -0800 |
---|---|---|
committer | Steve Langasek <vorlon@debian.org> | 2019-01-08 22:11:51 -0800 |
commit | 18ad8104e674ec8e1fb74d15a248680e51044854 (patch) | |
tree | 7f69ab6548c6e13babbcd5835ea09a6ecbee2c3d /modules/pam_namespace/pam_namespace.h | |
parent | 4b2748e1c594a8175dfa83b6dc321291da012882 (diff) | |
parent | c55c14c5c6762139ec6695d84ea0e2e917da5264 (diff) | |
download | pam-18ad8104e674ec8e1fb74d15a248680e51044854.tar.gz pam-18ad8104e674ec8e1fb74d15a248680e51044854.tar.bz2 pam-18ad8104e674ec8e1fb74d15a248680e51044854.zip |
merge upstream version 1.1.5
Diffstat (limited to 'modules/pam_namespace/pam_namespace.h')
-rw-r--r-- | modules/pam_namespace/pam_namespace.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/pam_namespace/pam_namespace.h b/modules/pam_namespace/pam_namespace.h index da21bd70..c49995c0 100644 --- a/modules/pam_namespace/pam_namespace.h +++ b/modules/pam_namespace/pam_namespace.h @@ -74,6 +74,14 @@ #define CLONE_NEWNS 0x00020000 /* Flag to create new namespace */ #endif +/* mount flags for mount_private */ +#ifndef MS_REC +#define MS_REC (1<<14) +#endif +#ifndef MS_PRIVATE +#define MS_PRIVATE (1<<18) +#endif + /* * Module defines */ @@ -96,6 +104,7 @@ #define PAMNS_NO_UNMOUNT_ON_CLOSE 0x00010000 /* no unmount at session close */ #define PAMNS_USE_CURRENT_CONTEXT 0x00020000 /* use getcon instead of getexeccon */ #define PAMNS_USE_DEFAULT_CONTEXT 0x00040000 /* use get_default_context instead of getexeccon */ +#define PAMNS_MOUNT_PRIVATE 0x00080000 /* Make the polydir mounts private */ /* polydir flags */ #define POLYDIR_EXCLUSIVE 0x00000001 /* polyinstatiate exclusively for override uids */ |