|
@@ -22,7 +22,6 @@
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#include <bits/types.h>
|
|
#include <bits/types.h>
|
|
-#include <bits/wordsize.h>
|
|
|
|
|
|
|
|
/* Permission flag for shmget. */
|
|
/* Permission flag for shmget. */
|
|
#define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */
|
|
#define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */
|
|
@@ -81,6 +80,7 @@ struct shmid_ds
|
|
# define SHM_DEST 01000 /* segment will be destroyed on last detach */
|
|
# define SHM_DEST 01000 /* segment will be destroyed on last detach */
|
|
# define SHM_LOCKED 02000 /* segment will not be swapped */
|
|
# define SHM_LOCKED 02000 /* segment will not be swapped */
|
|
# define SHM_HUGETLB 04000 /* segment is mapped via hugetlb */
|
|
# define SHM_HUGETLB 04000 /* segment is mapped via hugetlb */
|
|
|
|
+# define SHM_NORESERVE 010000 /* don't check for reservations */
|
|
|
|
|
|
struct shminfo
|
|
struct shminfo
|
|
{
|
|
{
|