dnsdomainname,hostname: make NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
80e8e3cc05
commit
ed4393bdc7
@ -99,7 +99,7 @@ diff - runner
|
|||||||
dirname - NOFORK
|
dirname - NOFORK
|
||||||
dmesg - runner
|
dmesg - runner
|
||||||
dnsd - daemon
|
dnsd - daemon
|
||||||
dnsdomainname - needs ^C (may talk to DNS servers, which may be down)
|
dnsdomainname - noexec. needs ^C (may talk to DNS servers, which may be down)
|
||||||
dos2unix - noexec. runner
|
dos2unix - noexec. runner
|
||||||
dpkg - runner
|
dpkg - runner
|
||||||
du - runner
|
du - runner
|
||||||
@ -156,7 +156,7 @@ hdparm - hardware
|
|||||||
head - noexec. runner
|
head - noexec. runner
|
||||||
hexdump - noexec. runner
|
hexdump - noexec. runner
|
||||||
hostid - NOFORK
|
hostid - NOFORK
|
||||||
hostname - needs ^C (may talk to DNS servers, which may be down)
|
hostname - noexec. needs ^C (may talk to DNS servers, which may be down)
|
||||||
httpd - daemon
|
httpd - daemon
|
||||||
hush - interactive, longterm
|
hush - interactive, longterm
|
||||||
hwclock - hardware (xioctl(RTC_RD_TIME))
|
hwclock - hardware (xioctl(RTC_RD_TIME))
|
||||||
|
@ -22,9 +22,9 @@
|
|||||||
//config: help
|
//config: help
|
||||||
//config: Alias to "hostname -d".
|
//config: Alias to "hostname -d".
|
||||||
|
|
||||||
// APPLET_ODDNAME:name main location suid_type help
|
// APPLET_NOEXEC:name main location suid_type help
|
||||||
//applet:IF_DNSDOMAINNAME(APPLET_ODDNAME(dnsdomainname, hostname, BB_DIR_BIN, BB_SUID_DROP, dnsdomainname))
|
//applet:IF_DNSDOMAINNAME(APPLET_NOEXEC(dnsdomainname, hostname, BB_DIR_BIN, BB_SUID_DROP, dnsdomainname))
|
||||||
//applet:IF_HOSTNAME(APPLET(hostname, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_HOSTNAME( APPLET_NOEXEC(hostname, hostname, BB_DIR_BIN, BB_SUID_DROP, hostname ))
|
||||||
|
|
||||||
//kbuild: lib-$(CONFIG_HOSTNAME) += hostname.o
|
//kbuild: lib-$(CONFIG_HOSTNAME) += hostname.o
|
||||||
//kbuild: lib-$(CONFIG_DNSDOMAINNAME) += hostname.o
|
//kbuild: lib-$(CONFIG_DNSDOMAINNAME) += hostname.o
|
||||||
|
Loading…
Reference in New Issue
Block a user