John Baldwin b65a9568f8 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
2018-09-24 18:20:38 +00:00
..
2018-09-13 21:00:17 +00:00
2018-09-13 07:04:00 +00:00
2018-09-21 13:43:06 +00:00
2018-08-24 15:00:36 +00:00
2018-08-23 13:21:01 +00:00
2018-09-24 17:41:29 +00:00
2018-07-15 00:31:17 +00:00
2018-09-22 17:05:49 +00:00