diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-12-27 18:48:01 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-12-30 16:37:38 +0100 |
| commit | 28a9676c1744554a9ae68b0ff19190f8165d8a06 (patch) | |
| tree | 64591792642ca88c719e2b7c232193a1bee292c2 /sys/linux | |
| parent | af6b8ef8f18c45343685f0ee7af9dd3a4b2b5d95 (diff) | |
sys/linux: add {MSG,SEM,SHM}_STAT_ANY
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/gen/386.go | 21 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 21 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 21 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 21 | ||||
| -rw-r--r-- | sys/linux/gen/mips64le.go | 21 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 21 | ||||
| -rw-r--r-- | sys/linux/ipc.txt | 3 | ||||
| -rw-r--r-- | sys/linux/ipc_386.const | 3 | ||||
| -rw-r--r-- | sys/linux/ipc_amd64.const | 3 | ||||
| -rw-r--r-- | sys/linux/ipc_arm.const | 3 | ||||
| -rw-r--r-- | sys/linux/ipc_arm64.const | 3 | ||||
| -rw-r--r-- | sys/linux/ipc_mips64le.const | 3 | ||||
| -rw-r--r-- | sys/linux/ipc_ppc64le.const | 3 |
13 files changed, 141 insertions, 6 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index bb713e269..828164f86 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -42425,6 +42425,11 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 11}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 402, Name: "msgctl$MSG_STAT_ANY", CallName: "msgctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 13}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 399, Name: "msgget", CallName: "msgget", Args: []Type{ &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 4}}, ValuesStart: 2039359027, ValuesPerProc: 4}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgget_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, @@ -44278,6 +44283,12 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 18}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 394, Name: "semctl$SEM_STAT_ANY", CallName: "semctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 20}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 394, Name: "semctl$SETALL", CallName: "semctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 4}}}, @@ -47140,6 +47151,11 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 13}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 396, Name: "shmctl$SHM_STAT_ANY", CallName: "shmctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 15}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 396, Name: "shmctl$SHM_UNLOCK", CallName: "shmctl", MissingArgs: 1, Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 12}, @@ -52716,6 +52732,7 @@ var consts_386 = []ConstValue{ {Name: "MSG_PEEK", Value: 2}, {Name: "MSG_PROBE", Value: 16}, {Name: "MSG_STAT", Value: 11}, + {Name: "MSG_STAT_ANY", Value: 13}, {Name: "MSG_TRUNC", Value: 32}, {Name: "MSG_WAITALL", Value: 256}, {Name: "MSG_WAITFORONE", Value: 65536}, @@ -54058,6 +54075,7 @@ var consts_386 = []ConstValue{ {Name: "SELINUX_MAGIC", Value: 4185718668}, {Name: "SEM_INFO", Value: 19}, {Name: "SEM_STAT", Value: 18}, + {Name: "SEM_STAT_ANY", Value: 20}, {Name: "SEM_UNDO", Value: 4096}, {Name: "SETALL", Value: 17}, {Name: "SETTIMER", Value: 1}, @@ -54117,6 +54135,7 @@ var consts_386 = []ConstValue{ {Name: "SHM_REMAP", Value: 16384}, {Name: "SHM_RND", Value: 8192}, {Name: "SHM_STAT", Value: 13}, + {Name: "SHM_STAT_ANY", Value: 15}, {Name: "SHM_UNLOCK", Value: 12}, {Name: "SHORT_INODE", Value: 16777216}, {Name: "SHUT_RD"}, @@ -57808,4 +57827,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "2129f0a22103dd8349c978c39eff7d24c56bd585" +const revision_386 = "a1c81dce4b42a545e15fcb8a931b0d9b3505c3f2" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index fb1d26155..33191e105 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -43035,6 +43035,11 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 11}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 71, Name: "msgctl$MSG_STAT_ANY", CallName: "msgctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 13}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 68, Name: "msgget", CallName: "msgget", Args: []Type{ &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 8}}, ValuesStart: 2039359027, ValuesPerProc: 4}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, @@ -44894,6 +44899,12 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 18}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 66, Name: "semctl$SEM_STAT_ANY", CallName: "semctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 20}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 66, Name: "semctl$SETALL", CallName: "semctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}}, @@ -47761,6 +47772,11 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 13}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 31, Name: "shmctl$SHM_STAT_ANY", CallName: "shmctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 15}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 31, Name: "shmctl$SHM_UNLOCK", CallName: "shmctl", MissingArgs: 1, Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 12}, @@ -53333,6 +53349,7 @@ var consts_amd64 = []ConstValue{ {Name: "MSG_PEEK", Value: 2}, {Name: "MSG_PROBE", Value: 16}, {Name: "MSG_STAT", Value: 11}, + {Name: "MSG_STAT_ANY", Value: 13}, {Name: "MSG_TRUNC", Value: 32}, {Name: "MSG_WAITALL", Value: 256}, {Name: "MSG_WAITFORONE", Value: 65536}, @@ -54675,6 +54692,7 @@ var consts_amd64 = []ConstValue{ {Name: "SELINUX_MAGIC", Value: 4185718668}, {Name: "SEM_INFO", Value: 19}, {Name: "SEM_STAT", Value: 18}, + {Name: "SEM_STAT_ANY", Value: 20}, {Name: "SEM_UNDO", Value: 4096}, {Name: "SETALL", Value: 17}, {Name: "SETTIMER", Value: 1}, @@ -54734,6 +54752,7 @@ var consts_amd64 = []ConstValue{ {Name: "SHM_REMAP", Value: 16384}, {Name: "SHM_RND", Value: 8192}, {Name: "SHM_STAT", Value: 13}, + {Name: "SHM_STAT_ANY", Value: 15}, {Name: "SHM_UNLOCK", Value: 12}, {Name: "SHORT_INODE", Value: 16777216}, {Name: "SHUT_RD"}, @@ -58436,4 +58455,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "51c1c755ec7df5f3046562d5d492bfc6f68e8d2d" +const revision_amd64 = "f937c6f69138fb188e0ca117eb97010d403d947b" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index d63199ad3..19fa24dee 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -42157,6 +42157,11 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 11}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 304, Name: "msgctl$MSG_STAT_ANY", CallName: "msgctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 13}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 303, Name: "msgget", CallName: "msgget", Args: []Type{ &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 4}}, ValuesStart: 2039359027, ValuesPerProc: 4}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgget_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, @@ -44003,6 +44008,12 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 18}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 300, Name: "semctl$SEM_STAT_ANY", CallName: "semctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 20}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 300, Name: "semctl$SETALL", CallName: "semctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 4}}}, @@ -46873,6 +46884,11 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 13}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 308, Name: "shmctl$SHM_STAT_ANY", CallName: "shmctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 15}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 308, Name: "shmctl$SHM_UNLOCK", CallName: "shmctl", MissingArgs: 1, Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 12}, @@ -52376,6 +52392,7 @@ var consts_arm = []ConstValue{ {Name: "MSG_PEEK", Value: 2}, {Name: "MSG_PROBE", Value: 16}, {Name: "MSG_STAT", Value: 11}, + {Name: "MSG_STAT_ANY", Value: 13}, {Name: "MSG_TRUNC", Value: 32}, {Name: "MSG_WAITALL", Value: 256}, {Name: "MSG_WAITFORONE", Value: 65536}, @@ -53716,6 +53733,7 @@ var consts_arm = []ConstValue{ {Name: "SELINUX_MAGIC", Value: 4185718668}, {Name: "SEM_INFO", Value: 19}, {Name: "SEM_STAT", Value: 18}, + {Name: "SEM_STAT_ANY", Value: 20}, {Name: "SEM_UNDO", Value: 4096}, {Name: "SETALL", Value: 17}, {Name: "SETTIMER", Value: 1}, @@ -53775,6 +53793,7 @@ var consts_arm = []ConstValue{ {Name: "SHM_REMAP", Value: 16384}, {Name: "SHM_RND", Value: 8192}, {Name: "SHM_STAT", Value: 13}, + {Name: "SHM_STAT_ANY", Value: 15}, {Name: "SHM_UNLOCK", Value: 12}, {Name: "SHORT_INODE", Value: 16777216}, {Name: "SHUT_RD"}, @@ -57456,4 +57475,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "1a72b28cc5fbd63ca72f462d7ce235955c878c65" +const revision_arm = "7401acc44c98ef35927f489adedba830e0fc91f3" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index df35bbd40..750687469 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -42569,6 +42569,11 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 11}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 187, Name: "msgctl$MSG_STAT_ANY", CallName: "msgctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 13}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 186, Name: "msgget", CallName: "msgget", Args: []Type{ &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 8}}, ValuesStart: 2039359027, ValuesPerProc: 4}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, @@ -44390,6 +44395,12 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 18}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 191, Name: "semctl$SEM_STAT_ANY", CallName: "semctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 20}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 191, Name: "semctl$SETALL", CallName: "semctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}}, @@ -47254,6 +47265,11 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 13}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 195, Name: "shmctl$SHM_STAT_ANY", CallName: "shmctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 15}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 195, Name: "shmctl$SHM_UNLOCK", CallName: "shmctl", MissingArgs: 1, Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 12}, @@ -52730,6 +52746,7 @@ var consts_arm64 = []ConstValue{ {Name: "MSG_PEEK", Value: 2}, {Name: "MSG_PROBE", Value: 16}, {Name: "MSG_STAT", Value: 11}, + {Name: "MSG_STAT_ANY", Value: 13}, {Name: "MSG_TRUNC", Value: 32}, {Name: "MSG_WAITALL", Value: 256}, {Name: "MSG_WAITFORONE", Value: 65536}, @@ -54060,6 +54077,7 @@ var consts_arm64 = []ConstValue{ {Name: "SELINUX_MAGIC", Value: 4185718668}, {Name: "SEM_INFO", Value: 19}, {Name: "SEM_STAT", Value: 18}, + {Name: "SEM_STAT_ANY", Value: 20}, {Name: "SEM_UNDO", Value: 4096}, {Name: "SETALL", Value: 17}, {Name: "SETTIMER", Value: 1}, @@ -54119,6 +54137,7 @@ var consts_arm64 = []ConstValue{ {Name: "SHM_REMAP", Value: 16384}, {Name: "SHM_RND", Value: 8192}, {Name: "SHM_STAT", Value: 13}, + {Name: "SHM_STAT_ANY", Value: 15}, {Name: "SHM_UNLOCK", Value: 12}, {Name: "SHORT_INODE", Value: 16777216}, {Name: "SHUT_RD"}, @@ -57781,4 +57800,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "8fe645e1016e5ed052d586d091f23ec185816e41" +const revision_arm64 = "b37a6b91b151c4bf29c836c503da436754a76ee4" diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go index 3d1fc2c7f..0746d99a9 100644 --- a/sys/linux/gen/mips64le.go +++ b/sys/linux/gen/mips64le.go @@ -41153,6 +41153,11 @@ var syscalls_mips64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 11}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 5069, Name: "msgctl$MSG_STAT_ANY", CallName: "msgctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 13}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 5066, Name: "msgget", CallName: "msgget", Args: []Type{ &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 8}}, ValuesStart: 2039359027, ValuesPerProc: 4}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, @@ -43005,6 +43010,12 @@ var syscalls_mips64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 18}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 5064, Name: "semctl$SEM_STAT_ANY", CallName: "semctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 20}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 5064, Name: "semctl$SETALL", CallName: "semctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}}, @@ -45872,6 +45883,11 @@ var syscalls_mips64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 13}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 5030, Name: "shmctl$SHM_STAT_ANY", CallName: "shmctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 15}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 5030, Name: "shmctl$SHM_UNLOCK", CallName: "shmctl", MissingArgs: 1, Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 12}, @@ -51284,6 +51300,7 @@ var consts_mips64le = []ConstValue{ {Name: "MSG_PEEK", Value: 2}, {Name: "MSG_PROBE", Value: 16}, {Name: "MSG_STAT", Value: 11}, + {Name: "MSG_STAT_ANY", Value: 13}, {Name: "MSG_TRUNC", Value: 32}, {Name: "MSG_WAITALL", Value: 256}, {Name: "MSG_WAITFORONE", Value: 65536}, @@ -52616,6 +52633,7 @@ var consts_mips64le = []ConstValue{ {Name: "SELINUX_MAGIC", Value: 4185718668}, {Name: "SEM_INFO", Value: 19}, {Name: "SEM_STAT", Value: 18}, + {Name: "SEM_STAT_ANY", Value: 20}, {Name: "SEM_UNDO", Value: 4096}, {Name: "SETALL", Value: 17}, {Name: "SETTIMER", Value: 1}, @@ -52675,6 +52693,7 @@ var consts_mips64le = []ConstValue{ {Name: "SHM_REMAP", Value: 16384}, {Name: "SHM_RND", Value: 8192}, {Name: "SHM_STAT", Value: 13}, + {Name: "SHM_STAT_ANY", Value: 15}, {Name: "SHM_UNLOCK", Value: 12}, {Name: "SHORT_INODE", Value: 16777216}, {Name: "SHUT_RD"}, @@ -55406,4 +55425,4 @@ var consts_mips64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_mips64le = "42996b5327e11405b631a8d378afe32f409638fd" +const revision_mips64le = "5e16bc782ff9de6177ea8883c6e7d59a054c8f0a" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index 858f9db9e..50a0ef576 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -42484,6 +42484,11 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 11}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 402, Name: "msgctl$MSG_STAT_ANY", CallName: "msgctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 13}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 399, Name: "msgget", CallName: "msgget", Args: []Type{ &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 8}}, ValuesStart: 2039359027, ValuesPerProc: 4}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, @@ -44343,6 +44348,12 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 18}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 394, Name: "semctl$SEM_STAT_ANY", CallName: "semctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 20}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 394, Name: "semctl$SETALL", CallName: "semctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}}, @@ -47202,6 +47213,11 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 13}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, }}, + {NR: 396, Name: "shmctl$SHM_STAT_ANY", CallName: "shmctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 15}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + }}, {NR: 396, Name: "shmctl$SHM_UNLOCK", CallName: "shmctl", MissingArgs: 1, Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 12}, @@ -52705,6 +52721,7 @@ var consts_ppc64le = []ConstValue{ {Name: "MSG_PEEK", Value: 2}, {Name: "MSG_PROBE", Value: 16}, {Name: "MSG_STAT", Value: 11}, + {Name: "MSG_STAT_ANY", Value: 13}, {Name: "MSG_TRUNC", Value: 32}, {Name: "MSG_WAITALL", Value: 256}, {Name: "MSG_WAITFORONE", Value: 65536}, @@ -54047,6 +54064,7 @@ var consts_ppc64le = []ConstValue{ {Name: "SELINUX_MAGIC", Value: 4185718668}, {Name: "SEM_INFO", Value: 19}, {Name: "SEM_STAT", Value: 18}, + {Name: "SEM_STAT_ANY", Value: 20}, {Name: "SEM_UNDO", Value: 4096}, {Name: "SETALL", Value: 17}, {Name: "SETTIMER", Value: 1}, @@ -54106,6 +54124,7 @@ var consts_ppc64le = []ConstValue{ {Name: "SHM_REMAP", Value: 16384}, {Name: "SHM_RND", Value: 8192}, {Name: "SHM_STAT", Value: 13}, + {Name: "SHM_STAT_ANY", Value: 15}, {Name: "SHM_UNLOCK", Value: 12}, {Name: "SHORT_INODE", Value: 16777216}, {Name: "SHUT_RD"}, @@ -57740,4 +57759,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "5721f529741d3db0c9ff563a5336a3a81c3ecad4" +const revision_ppc64le = "b7381c109e9546b5c27058269406fd95955fb499" diff --git a/sys/linux/ipc.txt b/sys/linux/ipc.txt index 50874c5d8..13703b913 100644 --- a/sys/linux/ipc.txt +++ b/sys/linux/ipc.txt @@ -25,6 +25,7 @@ msgctl$IPC_RMID(msqid ipc_msq, cmd const[IPC_RMID]) msgctl$IPC_INFO(msqid ipc_msq, cmd const[IPC_INFO], buf buffer[out]) msgctl$MSG_INFO(msqid ipc_msq, cmd const[MSG_INFO], buf buffer[out]) msgctl$MSG_STAT(msqid ipc_msq, cmd const[MSG_STAT], buf buffer[out]) +msgctl$MSG_STAT_ANY(msqid ipc_msq, cmd const[MSG_STAT_ANY], buf buffer[out]) resource ipc_sem[ipc] semget(key ipc_key_t, nsems flags[sem_sem_id], flags flags[semget_flags]) ipc_sem @@ -37,6 +38,7 @@ semctl$IPC_RMID(semid ipc_sem, semnum const[0], cmd const[IPC_RMID]) semctl$IPC_INFO(semid ipc_sem, semnum flags[sem_sem_id], cmd const[IPC_INFO], buf buffer[out]) semctl$SEM_INFO(semid ipc_sem, semnum flags[sem_sem_id], cmd const[SEM_INFO], arg buffer[out]) semctl$SEM_STAT(semid ipc_sem, semnum flags[sem_sem_id], cmd const[SEM_STAT], arg buffer[out]) +semctl$SEM_STAT_ANY(semid ipc_sem, semnum flags[sem_sem_id], cmd const[SEM_STAT_ANY], arg buffer[out]) semctl$GETALL(semid ipc_sem, semnum const[0], cmd const[GETALL], arg buffer[out]) semctl$GETNCNT(semid ipc_sem, semnum flags[sem_sem_id], cmd const[GETNCNT], arg buffer[out]) semctl$GETPID(semid ipc_sem, semnum flags[sem_sem_id], cmd const[GETPID], arg buffer[out]) @@ -58,6 +60,7 @@ shmctl$IPC_RMID(shmid ipc_shm, cmd const[IPC_RMID]) shmctl$IPC_INFO(shmid ipc_shm, cmd const[IPC_INFO], buf buffer[out]) shmctl$SHM_INFO(shmid ipc_shm, cmd const[SHM_INFO], buf buffer[out]) shmctl$SHM_STAT(shmid ipc_shm, cmd const[SHM_STAT], buf buffer[out]) +shmctl$SHM_STAT_ANY(shmid ipc_shm, cmd const[SHM_STAT_ANY], buf buffer[out]) shmctl$SHM_LOCK(shmid ipc_shm, cmd const[SHM_LOCK]) shmctl$SHM_UNLOCK(shmid ipc_shm, cmd const[SHM_UNLOCK]) shmdt(addr shmaddr) diff --git a/sys/linux/ipc_386.const b/sys/linux/ipc_386.const index 5261865e1..de1c2eac9 100644 --- a/sys/linux/ipc_386.const +++ b/sys/linux/ipc_386.const @@ -16,8 +16,10 @@ MSG_EXCEPT = 8192 MSG_INFO = 12 MSG_NOERROR = 4096 MSG_STAT = 11 +MSG_STAT_ANY = 13 SEM_INFO = 19 SEM_STAT = 18 +SEM_STAT_ANY = 20 SEM_UNDO = 4096 SETALL = 17 SETVAL = 16 @@ -31,6 +33,7 @@ SHM_RDONLY = 4096 SHM_REMAP = 16384 SHM_RND = 8192 SHM_STAT = 13 +SHM_STAT_ANY = 15 SHM_UNLOCK = 12 S_IRGRP = 32 S_IROTH = 4 diff --git a/sys/linux/ipc_amd64.const b/sys/linux/ipc_amd64.const index 3a3b73a64..cc6bc9978 100644 --- a/sys/linux/ipc_amd64.const +++ b/sys/linux/ipc_amd64.const @@ -16,8 +16,10 @@ MSG_EXCEPT = 8192 MSG_INFO = 12 MSG_NOERROR = 4096 MSG_STAT = 11 +MSG_STAT_ANY = 13 SEM_INFO = 19 SEM_STAT = 18 +SEM_STAT_ANY = 20 SEM_UNDO = 4096 SETALL = 17 SETVAL = 16 @@ -31,6 +33,7 @@ SHM_RDONLY = 4096 SHM_REMAP = 16384 SHM_RND = 8192 SHM_STAT = 13 +SHM_STAT_ANY = 15 SHM_UNLOCK = 12 S_IRGRP = 32 S_IROTH = 4 diff --git a/sys/linux/ipc_arm.const b/sys/linux/ipc_arm.const index 8bdfe4934..fad4da4b8 100644 --- a/sys/linux/ipc_arm.const +++ b/sys/linux/ipc_arm.const @@ -16,8 +16,10 @@ MSG_EXCEPT = 8192 MSG_INFO = 12 MSG_NOERROR = 4096 MSG_STAT = 11 +MSG_STAT_ANY = 13 SEM_INFO = 19 SEM_STAT = 18 +SEM_STAT_ANY = 20 SEM_UNDO = 4096 SETALL = 17 SETVAL = 16 @@ -31,6 +33,7 @@ SHM_RDONLY = 4096 SHM_REMAP = 16384 SHM_RND = 8192 SHM_STAT = 13 +SHM_STAT_ANY = 15 SHM_UNLOCK = 12 S_IRGRP = 32 S_IROTH = 4 diff --git a/sys/linux/ipc_arm64.const b/sys/linux/ipc_arm64.const index ad2874e72..b32141ffc 100644 --- a/sys/linux/ipc_arm64.const +++ b/sys/linux/ipc_arm64.const @@ -16,8 +16,10 @@ MSG_EXCEPT = 8192 MSG_INFO = 12 MSG_NOERROR = 4096 MSG_STAT = 11 +MSG_STAT_ANY = 13 SEM_INFO = 19 SEM_STAT = 18 +SEM_STAT_ANY = 20 SEM_UNDO = 4096 SETALL = 17 SETVAL = 16 @@ -31,6 +33,7 @@ SHM_RDONLY = 4096 SHM_REMAP = 16384 SHM_RND = 8192 SHM_STAT = 13 +SHM_STAT_ANY = 15 SHM_UNLOCK = 12 S_IRGRP = 32 S_IROTH = 4 diff --git a/sys/linux/ipc_mips64le.const b/sys/linux/ipc_mips64le.const index 99b893eb8..e10bdf679 100644 --- a/sys/linux/ipc_mips64le.const +++ b/sys/linux/ipc_mips64le.const @@ -16,8 +16,10 @@ MSG_EXCEPT = 8192 MSG_INFO = 12 MSG_NOERROR = 4096 MSG_STAT = 11 +MSG_STAT_ANY = 13 SEM_INFO = 19 SEM_STAT = 18 +SEM_STAT_ANY = 20 SEM_UNDO = 4096 SETALL = 17 SETVAL = 16 @@ -31,6 +33,7 @@ SHM_RDONLY = 4096 SHM_REMAP = 16384 SHM_RND = 8192 SHM_STAT = 13 +SHM_STAT_ANY = 15 SHM_UNLOCK = 12 S_IRGRP = 32 S_IROTH = 4 diff --git a/sys/linux/ipc_ppc64le.const b/sys/linux/ipc_ppc64le.const index 813231669..fd7aebc92 100644 --- a/sys/linux/ipc_ppc64le.const +++ b/sys/linux/ipc_ppc64le.const @@ -16,8 +16,10 @@ MSG_EXCEPT = 8192 MSG_INFO = 12 MSG_NOERROR = 4096 MSG_STAT = 11 +MSG_STAT_ANY = 13 SEM_INFO = 19 SEM_STAT = 18 +SEM_STAT_ANY = 20 SEM_UNDO = 4096 SETALL = 17 SETVAL = 16 @@ -31,6 +33,7 @@ SHM_RDONLY = 4096 SHM_REMAP = 16384 SHM_RND = 8192 SHM_STAT = 13 +SHM_STAT_ANY = 15 SHM_UNLOCK = 12 S_IRGRP = 32 S_IROTH = 4 |
