diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | modules/pam_namespace/pam_namespace.h | 8 |
2 files changed, 11 insertions, 0 deletions
@@ -11,6 +11,9 @@ (check_account): read_field() now uses state information. No extra read_field() call at the end of configuration line. + * modules/pam_namespace/pam_namespace.h: Define the MS_PRIVATE and + MS_REC flags if they are not in sys/mount.h. + 2011-06-06 Nguyễn Thái Ngọc Duy <pclouds@gmail.com> * po/LINGUAS: Add vietnamese. diff --git a/modules/pam_namespace/pam_namespace.h b/modules/pam_namespace/pam_namespace.h index 7b39068b..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 */ |