summaryrefslogtreecommitdiff
path: root/networking/hostname.c
diff options
context:
space:
mode:
authorDenys Vlasenko2017-08-07 20:34:26 +0200
committerDenys Vlasenko2017-08-07 20:34:26 +0200
commited4393bdc7a4d3b1b59293a3393eb1d6953bac99 (patch)
tree0ce9ec021bd0ab1cb8849a74be5088f03adcd248 /networking/hostname.c
parent80e8e3cc0542ac6242d49eaf223146dcbf2fa0da (diff)
downloadbusybox-ed4393bdc7a4d3b1b59293a3393eb1d6953bac99.zip
busybox-ed4393bdc7a4d3b1b59293a3393eb1d6953bac99.tar.gz
dnsdomainname,hostname: make NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/hostname.c')
-rw-r--r--networking/hostname.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/hostname.c b/networking/hostname.c
index 7d7c60d..ea0ff95 100644
--- a/networking/hostname.c
+++ b/networking/hostname.c
@@ -22,9 +22,9 @@
//config: help
//config: Alias to "hostname -d".
-// APPLET_ODDNAME:name main location suid_type help
-//applet:IF_DNSDOMAINNAME(APPLET_ODDNAME(dnsdomainname, hostname, BB_DIR_BIN, BB_SUID_DROP, dnsdomainname))
-//applet:IF_HOSTNAME(APPLET(hostname, BB_DIR_BIN, BB_SUID_DROP))
+// APPLET_NOEXEC:name main location suid_type help
+//applet:IF_DNSDOMAINNAME(APPLET_NOEXEC(dnsdomainname, hostname, BB_DIR_BIN, BB_SUID_DROP, dnsdomainname))
+//applet:IF_HOSTNAME( APPLET_NOEXEC(hostname, hostname, BB_DIR_BIN, BB_SUID_DROP, hostname ))
//kbuild: lib-$(CONFIG_HOSTNAME) += hostname.o
//kbuild: lib-$(CONFIG_DNSDOMAINNAME) += hostname.o