Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
2 changed files
with
20 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters