[Bug 224443] exp-run: SysV IPC API cleanup

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 19 02:57:16 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224443

            Bug ID: 224443
           Summary: exp-run: SysV IPC API cleanup
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: brooks at FreeBSD.org
            Blocks: 224299, 224300

The System V message queue and semaphore headers and APIs contain a number of
mistakes.   Some types are declared that should not be, and the *id_ds structs
contain kernel-only members.

The review https://reviews.freebsd.org/D13538 contains a patch which removes
the types that should not be declared, fixes the system as required, and
renames the kernel-only, non-standard members to break existing consumers (if
any).  This isn't expected to break much as standard autoconf macros exist to
detect the most common issue (improperly declaring union semun).  The *is_ds
member changes are to explore the possibility of revising the APIs to remove
the members.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224299
[Bug 224299] sys/msg.h improperly declares struct mymsg
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224300
[Bug 224300] sys/sem.h improperly declares union semun
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list