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:
delphij 2010-12-02 18:24:22 +00:00
parent e5fb69509c
commit 1936e2cdba

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);