From c99be5959bc7e7b407f7dd9ba6637f8fbb6c9249 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Mon, 6 Jun 2011 18:22:32 +0200 Subject: Define the MS_PRIVATE and MS_REC flags if they are not in sys/mount.h. --- modules/pam_namespace/pam_namespace.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/pam_namespace/pam_namespace.h') 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 */ -- cgit v1.2.3