Date: Mon, 24 Sep 2018 18:21:20 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 231525] [exp-run] Restore the API of the kf_sa_local and kf_sa_peer members of struct kinfo_file. Message-ID: <bug-231525-7788-1bL6cnTZou@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-231525-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-231525-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231525 --- Comment #11 from commit-hook@freebsd.org --- A commit references this bug: Author: jhb Date: Mon Sep 24 18:20:39 UTC 2018 New revision: 338916 URL: https://svnweb.freebsd.org/changeset/base/338916 Log: Restore the API of the kf_sa_local and kf_sa_peer members. In 11.x and earlier these were accessible as direct members of 'struct kinfo_file'. Existing code already knows about the new location of these members as well, so wrapper macros did not work for these fields. Instead, define an anonymous struct containing the fields from 'struct kinfo_file' in FreeBSD 11 that were not part of the 'kf_un' union. This anonymous struct is then placed in an anonymous union along with the new 'kf_un' union. This preserves the API of both structure layouts without requiring any wrapper macros. PR: 231525 Reviewed by: kib Approved by: re (gjb) Differential Revision: https://reviews.freebsd.org/D17262 Changes: head/sys/sys/user.h --=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-231525-7788-1bL6cnTZou>