sys/shm.h: add macro define for posix
Signed-off-by: guohao15 <guohao15@xiaomi.com>
This commit is contained in:
parent
bf57047429
commit
99c6f2e568
@ -40,6 +40,10 @@
|
||||
#define SHM_RDONLY 0x01 /* Attach read-only (else read-write) */
|
||||
#define SHM_RND 0x02 /* Round attach address to SHMLBA */
|
||||
|
||||
#define SHM_R 0x03 /* or S_IRUGO */
|
||||
#define SHM_W 0x04 /* or S_IWUGO */
|
||||
#define SHM_HUGETLB 0x05 /* segment will use huge TLB pages */
|
||||
|
||||
/* Segment low boundary address multiple */
|
||||
|
||||
#ifdef CONFIG_SHM_SHMLBA
|
||||
|
Loading…
Reference in New Issue
Block a user