]> granicus.if.org Git - procps-ng/commit
sysctl: increase max supported line length of the conf file
authorSami Farin <hvtaifwkbgefbaei@gmail.com>
Fri, 14 Mar 2014 06:00:00 +0000 (00:00 -0600)
committerJaromir Capik <jcapik@redhat.com>
Fri, 14 Mar 2014 17:55:14 +0000 (18:55 +0100)
commit9c7e8b82f872e2d46ce866255ff132e0e6a0f937
treea3716dae0b6dd869dd3ceac1c6da2df8fe1103ac
parent2ec9f5c22e3eeaf4da514e0e6ec9374cfdbb9a99
sysctl: increase max supported line length of the conf file

I ran into this limit with net.ipv4.ip_local_reserved_ports ,
sysctl complained about the line after the long line, further
slowing down my error hunting.

Due to fgets usage, increase buffer size to 4096 chars with
minimum amount of code changes.

Signed-off-by: Sami Farin <hvtaifwkbgefbaei@gmail.com>
sysctl.c