[Bug 224300] sys/sem.h improperly declares union semun

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 2 22:33:10 UTC 2018


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

--- Comment #3 from commit-hook at freebsd.org ---
A commit references this bug:

Author: brooks
Date: Fri Mar  2 22:32:54 UTC 2018
New revision: 330299
URL: https://svnweb.freebsd.org/changeset/base/330299

Log:
  Don't declare union semun in userspace unless _WANT_SEMUN is defined.

  POSIX explicitly states that the application must declare union semun.
  This makes no sense, but it is what it is.  This brings us into line
  with Linux, MacOS/Darwin, and NetBSD.

  In a ports exp-run a moderate number of ports fail due to a lack of
  approprate autotools-like discovery mechanisms or local patches.  A
  commit to address them will follow shortly.

  PR:           224300, 224443 (exp-run)
  Reviewed by:  emaste, jhb, kib
  Exp-run by:   antoine
  Sponsored by: DARPA, AFRL
  Differential Revision:        https://reviews.freebsd.org/D14492

Changes:
  head/contrib/sendmail/include/sm/os/sm_os_freebsd.h
  head/lib/libc/gen/semctl.c
  head/lib/libc/sys/semctl.2
  head/sys/sys/param.h
  head/sys/sys/sem.h
  head/usr.bin/svn/lib/libapr/apr.h

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list