]> granicus.if.org Git - procps-ng/commit
library: add support for the 'LIBPROC_HIDE_KERNEL' var
authorJim Warner <james.warner@comcast.net>
Mon, 3 Jan 2022 23:00:00 +0000 (00:00 +0100)
committerCraig Small <csmall@dropbear.xyz>
Fri, 7 Jan 2022 08:19:15 +0000 (19:19 +1100)
commit2a7ec67ac806d91520f59c384684e2332774368b
treedb2bfbf94420d374fe8ac3cee2445c2ef8522de7
parentcbff1dd10645cb8c7fc55dda08b06fbafed05932
library: add support for the 'LIBPROC_HIDE_KERNEL' var

This patch was prompted by Björn Fischer's merge #147
request referenced below. It has been generalized such
that it now embraces both of those 'pids_fetch' types.

[ and thanks to Björn for initiating this extension ]

Reference(s):
https://gitlab.com/procps-ng/procps/-/merge_requests/147

Prototyped-by: Björn Fischer <bf@CeBiTec.Uni-Bielefeld.DE>
Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/readproc.c
proc/readproc.h