sysctl-util: make sysctl_read_ip_property() a wrapper around sysctl_read()
authorLennart Poettering <lennart@poettering.net>
Wed, 15 Sep 2021 07:22:06 +0000 (09:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 15 Sep 2021 14:32:40 +0000 (16:32 +0200)
commitd1469b70959660b400a2868867c564342605c74d
tree454cffe0e5d656b088154539ab91699c3bac6c1b
parentf9755203b972966d545bba7f3d257cf4c6a4f8a0
sysctl-util: make sysctl_read_ip_property() a wrapper around sysctl_read()

let's do what we did for sysctl_write()/sysctl_write_ip_property() also
for the read paths: i.e. make one a wrapper of the other, and add more
careful input validation.
src/basic/sysctl-util.c