]> granicus.if.org Git - procps-ng/commit
Preload sysctl lines even if longer than stdio buffer
authorWerner Fink <werner@suse.de>
Thu, 18 Jan 2018 10:06:55 +0000 (11:06 +0100)
committerCraig Small <csmall@enc.com.au>
Wed, 28 Feb 2018 09:46:58 +0000 (20:46 +1100)
commit6559450503b80d8be5741ac6aa81467a9bc2b7c8
tree24d4f7600aab645739ca82abd38320153ebb9c12
parent3497521d63d4494eb5b5915fff982dd884dd002c
Preload sysctl lines even if longer than stdio buffer

by using getline(3) to use a dynamically increased buffer
if required by the input found in sysctl configuration files.

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