pub const SHM_R: i32 = 0o400;
shmget() shmflg values. The bottom nine bits are the same as open(2) mode flags or S_IRUGO from <linux/stat.h>
shmget()
open(2)
S_IRUGO
<linux/stat.h>