Eric Andersen 22 лет назад
Родитель
Сommit
35a57855ba
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      libc/sysdeps/linux/common/bits/shm.h

+ 1 - 0
libc/sysdeps/linux/common/bits/shm.h

@@ -71,6 +71,7 @@ struct shmid_ds {
 /* shm_mode upper byte flags */
 # define SHM_DEST	01000	/* segment will be destroyed on last detach */
 # define SHM_LOCKED	02000   /* segment will not be swapped */
+# define SHM_HUGETLB	04000	/* segment is mapped via hugetlb */
 
 struct  shminfo {
     int shmmax;