busybox/procps
Aaro Koskinen c89764c063 sysctl: fix compatibility with procps sysctl
Busybox sysctl is incompatible with procps when '.' appears in
directory name, mostly happens with VLANs.

        busybox syntax (since 2008): net.ipv4.conf.eth0.100.mc_forwarding
         procps syntax (since 2002): net.ipv4.conf.eth0/100.mc_forwarding
                 (supported by both: net/ipv4/conf/eth0.100/mc_forwarding)

Use procps syntax for output; for input, allow both.

function                                             old     new   delta
sysctl_dots_to_slashes                                86     143     +57
sysctl_act_on_setting                                443     453     +10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 67/0)               Total: 67 bytes

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2019-02-08 16:52:51 +01:00
..
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
free.c config: update size information 2018-12-28 03:20:17 +01:00
fuser.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
iostat.c config: update size information 2018-12-28 03:20:17 +01:00
Kbuild.src kill: optimizations for single-applet build 2017-01-09 18:46:58 +01:00
kill.c config: update size information 2018-12-28 03:20:17 +01:00
lsof.c config: update size information 2018-12-28 03:20:17 +01:00
mpstat.c config: update size information 2018-12-28 03:20:17 +01:00
nmeter.c config: update size information 2018-12-28 03:20:17 +01:00
pgrep.c config: update size information 2018-12-28 03:20:17 +01:00
pidof.c config: update size information 2018-12-28 03:20:17 +01:00
pmap.c pmap: make 32-bit version work better on 64-bit kernels 2018-12-31 15:18:45 +01:00
powertop.c config: update size information 2018-12-28 03:20:17 +01:00
ps.c ps: fix build failure if FEATURE_PS_TIME is disabled 2017-08-22 15:39:13 +02:00
ps.posix ps: add documentation on POSIX ps 2006-11-05 00:47:38 +00:00
pstree.c config: update size information 2018-12-28 03:20:17 +01:00
pwdx.c config: update size information 2018-12-28 03:20:17 +01:00
smemcap.c smemcap: keep outputting by ignoring transient processes, take two 2018-08-30 11:49:51 +02:00
sysctl.c sysctl: fix compatibility with procps sysctl 2019-02-08 16:52:51 +01:00
top.c config: update size information 2018-12-28 03:20:17 +01:00
uptime.c config: update size information 2018-12-28 03:20:17 +01:00
watch.c config: update size information 2018-12-28 03:20:17 +01:00