]> granicus.if.org Git - procps-ng/commit
sysctl: Print lines longer than 1024 chars
authorWerner Fink <werner@suse.de>
Mon, 22 May 2017 12:31:34 +0000 (22:31 +1000)
committerCraig Small <csmall@enc.com.au>
Mon, 22 May 2017 12:34:29 +0000 (22:34 +1000)
commite04394ef2420785bc8fa648f3ab6c9489fde20ec
treeb859b017e9f210541d5289a92d13776a071911c0
parentaa41c309dd393933671e0cedaf8ebe0432ab24c4
sysctl: Print lines longer than 1024 chars

as well do not open /proc/sys files if only the names of the
system control names of the kernel parameters should be shown.
Avoid leaking tmpname in case of a pattern mismatch.

Signed-off-by: Werner Fink <werner@suse.de>
sysctl.c