about summary refs log tree commit diff
path: root/include/bits/shm.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-14 20:03:55 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-14 20:03:55 -0500
commitc316b284456e8b8d5f6e2ff18ece9c15b60033c7 (patch)
treea16bf7e02544b28fb992ec87beb47d2810b81ff0 /include/bits/shm.h
parent6fbf8bfd750a5c982b716bea0802692847918951 (diff)
downloadmusl-c316b284456e8b8d5f6e2ff18ece9c15b60033c7.tar.gz
musl-c316b284456e8b8d5f6e2ff18ece9c15b60033c7.tar.xz
musl-c316b284456e8b8d5f6e2ff18ece9c15b60033c7.zip
update various bits headers for new linux additions
based on patch by nik
Diffstat (limited to 'include/bits/shm.h')
-rw-r--r--include/bits/shm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/bits/shm.h b/include/bits/shm.h
index 46774237..bc95a1ca 100644
--- a/include/bits/shm.h
+++ b/include/bits/shm.h
@@ -2,6 +2,12 @@
 
 #define SHM_RDONLY 010000
 #define SHM_RND    020000
+#define SHM_REMAP  040000
+#define SHM_EXEC   0100000
+
+/* linux extensions */
+#define SHM_LOCK        11
+#define SHM_UNLOCK      12
 
 struct shmid_ds
 {