Brooks Davis 3076591b7a Attempt to use AT_PS_STRINGS to get the ps_strings pointer.
This saves a system call and avoids one of the (relatively rare) cases
of the kernel exporting pointers via sysctl.

As a temporary measure, keep the sysctl support to allow limited
compatability with old kernels.

Fail gracefully if ps_strings can't be found (should never happen).

Reviewed by:	kib
Obtained from:	CheriBSD
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D24407
2020-04-15 20:28:20 +00:00
..
2019-12-28 02:11:41 +00:00
2018-10-20 22:39:35 +00:00
2019-07-02 23:56:37 +00:00
2017-12-08 17:52:53 +00:00
2019-09-02 01:55:55 +00:00
2020-03-19 06:33:06 +00:00
2020-04-10 09:37:20 +00:00
2020-04-10 09:27:18 +00:00
2020-02-08 21:17:48 +00:00
2020-02-02 16:34:57 +00:00
2019-12-11 17:37:53 +00:00