diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-09-18 15:45:13 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-09-18 15:45:13 +0200 |
commit | b63afead4411c5832d427ed149683c85cc81a4c9 (patch) | |
tree | a137db4764d05f8b6726e23c0c74979e5de7b88f /networking/ip.c | |
parent | c3e60e1e9a66b45794e04e9a0a39d1c012780930 (diff) | |
download | busybox-w32-b63afead4411c5832d427ed149683c85cc81a4c9.tar.gz busybox-w32-b63afead4411c5832d427ed149683c85cc81a4c9.tar.bz2 busybox-w32-b63afead4411c5832d427ed149683c85cc81a4c9.zip |
ip,ip*: make them NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ip.c')
-rw-r--r-- | networking/ip.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/networking/ip.c b/networking/ip.c index 8aaeef0db..0bc0edc57 100644 --- a/networking/ip.c +++ b/networking/ip.c | |||
@@ -126,13 +126,13 @@ | |||
126 | //config: Ethernet, wireless, infrared, ppp/slip, ip tunnelling | 126 | //config: Ethernet, wireless, infrared, ppp/slip, ip tunnelling |
127 | //config: link types are supported without this option selected. | 127 | //config: link types are supported without this option selected. |
128 | 128 | ||
129 | //applet:IF_IP(APPLET(ip, BB_DIR_SBIN, BB_SUID_DROP)) | 129 | //applet:IF_IP( APPLET_NOEXEC(ip , ip , BB_DIR_SBIN, BB_SUID_DROP, ip )) |
130 | //applet:IF_IPADDR(APPLET(ipaddr, BB_DIR_SBIN, BB_SUID_DROP)) | 130 | //applet:IF_IPADDR( APPLET_NOEXEC(ipaddr , ipaddr , BB_DIR_SBIN, BB_SUID_DROP, ipaddr )) |
131 | //applet:IF_IPLINK(APPLET(iplink, BB_DIR_SBIN, BB_SUID_DROP)) | 131 | //applet:IF_IPLINK( APPLET_NOEXEC(iplink , iplink , BB_DIR_SBIN, BB_SUID_DROP, iplink )) |
132 | //applet:IF_IPROUTE(APPLET(iproute, BB_DIR_SBIN, BB_SUID_DROP)) | 132 | //applet:IF_IPROUTE( APPLET_NOEXEC(iproute , iproute , BB_DIR_SBIN, BB_SUID_DROP, iproute )) |
133 | //applet:IF_IPRULE(APPLET(iprule, BB_DIR_SBIN, BB_SUID_DROP)) | 133 | //applet:IF_IPRULE( APPLET_NOEXEC(iprule , iprule , BB_DIR_SBIN, BB_SUID_DROP, iprule )) |
134 | //applet:IF_IPTUNNEL(APPLET(iptunnel, BB_DIR_SBIN, BB_SUID_DROP)) | 134 | //applet:IF_IPTUNNEL(APPLET_NOEXEC(iptunnel, iptunnel, BB_DIR_SBIN, BB_SUID_DROP, iptunnel)) |
135 | //applet:IF_IPNEIGH(APPLET(ipneigh, BB_DIR_SBIN, BB_SUID_DROP)) | 135 | //applet:IF_IPNEIGH( APPLET_NOEXEC(ipneigh , ipneigh , BB_DIR_SBIN, BB_SUID_DROP, ipneigh )) |
136 | 136 | ||
137 | //kbuild:lib-$(CONFIG_IP) += ip.o | 137 | //kbuild:lib-$(CONFIG_IP) += ip.o |
138 | //kbuild:lib-$(CONFIG_IPADDR) += ip.o | 138 | //kbuild:lib-$(CONFIG_IPADDR) += ip.o |