commit c99be5959bc7e7b407f7dd9ba6637f8fbb6c9249 Author: Tomas Mraz tmraz@fedoraproject.org Date: Mon Jun 6 18:22:32 2011 +0200
Define the MS_PRIVATE and MS_REC flags if they are not in sys/mount.h.
ChangeLog | 3 +++ modules/pam_namespace/pam_namespace.h | 8 ++++++++ 2 files changed, 11 insertions(+), 0 deletions(-) --- diff --git a/ChangeLog b/ChangeLog index b0cb53a..836804b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 7b39068..c49995c 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 */
linux-pam-commits@lists.fedorahosted.org