Date: Fri, 22 Jan 2016 19:28:01 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 206503] [exp-run] Correct type of 'ss_sp' in stack_t and struct sigstack Message-ID: <bug-206503-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206503 Bug ID: 206503 Summary: [exp-run] Correct type of 'ss_sp' in stack_t and struct sigstack Product: Ports & Packages Version: Latest Hardware: Any URL: https://github.com/freebsd/freebsd/compare/master...bs djhb:sigstack_void.diff OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: jhb@FreeBSD.org CC: freebsd-ports-bugs@FreeBSD.org POSIX requires the 'ss_sp' fields in 'stack_t' (used with sigaltstack(2)) a= nd 'struct sigstack' (used with sigstack(2)) to be declared as 'void *': http://pubs.opengroup.org/onlinepubs/7908799/xsh/signal.h.html However, FreeBSD defines these as 'char *' (and inherited this from 4BSD). NetBSD changed their ss_sp to void * back in 1998 (1.27 of signal.h). Open= BSD followed suit in 1.9 of their signal.h. I suspect if anything this should reduce breakage in 3rd party software, bu= t an exp-run can't hurt. The patch is contained in the URL. The majority of the patch is fixes to t= he kernel to compile with the change. Only the change to sys/sys/signal.h is visible to userland, so you only need a new world with the patched signal.h= for an exp-run. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206503-13>