Page MenuHomeFreeBSD

Fix and enable SysV IPC tests.

Authored by brooks on Dec 13 2017, 1:14 AM.



Don't declare some types that FreeBSD incorrectly declares.

Fix an incorrect call to open() (missing mode).

ANSIfy prototypes.

Enable SysV message queue, semaphore, and shared memory tests.

Test Plan

Tested successfully on amd64, broken on mips64.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

brooks created this revision.Dec 13 2017, 1:14 AM
brooks updated this revision to Diff 36571.Dec 14 2017, 1:01 AM
  • Rename struct mymsg to testmsg to avoid FreeBSD's misdecleration.
asomers accepted this revision.Dec 14 2017, 1:24 AM

It's really weird that POSIX requires applications themselves to define mymsg and semun. But I guess that's the way it is...

This revision is now accepted and ready to land.Dec 14 2017, 1:24 AM
This revision was automatically updated to reflect the committed changes.