1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-27 16:39:08 +00:00

Decode IPC_CREAT and IPC_EXCL for semget(2).

PR:		bin/152781
Submitted by:	Anton Yuzhaninov <citrin citrin ru>
MFC after:	2 weeks
This commit is contained in:
Xin LI 2010-12-02 18:24:22 +00:00
parent ef694c1ac4
commit 706d26a4a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216130

View File

@ -254,6 +254,8 @@ shmctlname (int cmd) {
void
semgetname (int flag) {
int or = 0;
if_print_or(flag, IPC_CREAT, or);
if_print_or(flag, IPC_EXCL, or);
if_print_or(flag, SEM_R, or);
if_print_or(flag, SEM_A, or);
if_print_or(flag, (SEM_R>>3), or);