aboutsummaryrefslogtreecommitdiffstats
path: root/sys/freebsd/ipc.txt.const
diff options
context:
space:
mode:
authorMark Johnston <markjdb@gmail.com>2021-05-15 13:20:50 -0400
committerGitHub <noreply@github.com>2021-05-15 19:20:50 +0200
commitf54a5c0916af7d798b204eb70c484f154d69e0a3 (patch)
tree384a352cf53d4feb3ec1168f88766ca20b6b0128 /sys/freebsd/ipc.txt.const
parent93f844de48fff3f13271ec9e3fc2f5abf7692424 (diff)
sys/freebsd: fix some problems with SysV semaphore definitions (#2588)
- There is no __semctl(SEM_INFO). - The fields in semid_ds and ipc_perm were wrong. - The last parameter for many of the operations was specified incorrectly. The last problem resulted in occasional SYZFAILs when IPC_STAT is used since the output region doesn't get set up properly and in some cases can cause kcov data to be overwritten.
Diffstat (limited to 'sys/freebsd/ipc.txt.const')
-rw-r--r--sys/freebsd/ipc.txt.const1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/freebsd/ipc.txt.const b/sys/freebsd/ipc.txt.const
index 57386860e..14bc65137 100644
--- a/sys/freebsd/ipc.txt.const
+++ b/sys/freebsd/ipc.txt.const
@@ -21,7 +21,6 @@ O_EXCL = 2048
O_RDONLY = 0
O_RDWR = 2
O_TRUNC = 1024
-SEM_INFO = 11
SEM_STAT = 10
SEM_UNDO = 4096
SETALL = 9