From owner-freebsd-ports-bugs@freebsd.org Fri Jan 22 19:28:02 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04411A8E643 for ; Fri, 22 Jan 2016 19:28:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CF7C9116D for ; Fri, 22 Jan 2016 19:28:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u0MJS1ue031057 for ; Fri, 22 Jan 2016 19:28:01 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Fri, 22 Jan 2016 19:28:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jhb@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2016 19:28:02 -0000 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.=