Define the MS_PRIVATE and MS_REC flags if they are not in sys/mount.h.
authorTomas Mraz <tmraz@fedoraproject.org>
Mon, 6 Jun 2011 16:22:32 +0000 (18:22 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Mon, 6 Jun 2011 16:22:32 +0000 (18:22 +0200)
ChangeLog
modules/pam_namespace/pam_namespace.h

index b0cb53a223b5a8273e99a8b3befeb18b6b9a2088..836804b31baed4b1802130e63622dc480b3b2f78 100644 (file)
--- 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.
index 7b39068b5770afaed3cae06fb4c3481615c177c0..c49995c0da6e1c60555e0df6ebe0e3374cc80579 100644 (file)
 #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
  */