vserver 1.9.3
[linux-2.6.git] / include / linux / shm.h
index 9a00f5f..80113a1 100644 (file)
@@ -44,6 +44,7 @@ struct shmid_ds {
 #define        SHM_RDONLY      010000  /* read-only access */
 #define        SHM_RND         020000  /* round attach address to SHMLBA boundary */
 #define        SHM_REMAP       040000  /* take-over region on attach */
+#define        SHM_EXEC        0100000 /* execution access */
 
 /* super user shmctl commands */
 #define SHM_LOCK       11
@@ -84,6 +85,7 @@ struct shmid_kernel /* private to the kernel */
        time_t                  shm_ctim;
        pid_t                   shm_cprid;
        pid_t                   shm_lprid;
+       struct user_struct      *mlock_user;
 };
 
 /* shm_mode upper byte flags */