Re: [patch] shmget.2: Document SHM_R and SHM_W

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Walter,

On 4/26/19 6:50 AM, walter harms wrote:
Hi all,

The use of SHM_R SHM_W seems to be common.

I don't think that's true. (But yes, the falgs have been around
for a long time.)

I found it in this man page date 1995
https://www.freebsd.org/cgi/man.cgi?query=shmget&sektion=2&apropos=0&manpath=FreeBSD+4.2-RELEASE
and in linux/shm.h
/* permission flag for shmget */
#define SHM_R           0400    /* or S_IRUGO from <linux/stat.h> */
#define SHM_W           0200    /* or S_IWUGO from <linux/stat.h> */

Yes, but you won't find those flags documented in recent FreeBSD manual pages, for example.

Thanks,

Michael



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux