aboutsummaryrefslogtreecommitdiff
path: root/debianutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-08-06 20:55:56 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-08-06 20:55:56 +0200
commit184c738582eb190489dd2e9d120b1e036df65401 (patch)
treec12ad562b1ecff416ed4bc48e0ccb4c1a0fc35c1 /debianutils
parent035e71578e98744acba2394bb03686d08f60d956 (diff)
downloadbusybox-w32-184c738582eb190489dd2e9d120b1e036df65401.tar.gz
busybox-w32-184c738582eb190489dd2e9d120b1e036df65401.tar.bz2
busybox-w32-184c738582eb190489dd2e9d120b1e036df65401.zip
stty: fix bb_common_bufsiz1 use in NOEXEC
function old new delta stty_main 1211 1221 +10 do_display 379 370 -9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'debianutils')
-rw-r--r--debianutils/start_stop_daemon.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c
index 07c104baa..9effdc80b 100644
--- a/debianutils/start_stop_daemon.c
+++ b/debianutils/start_stop_daemon.c
@@ -79,6 +79,7 @@ Misc options:
79//config: -N|--nicelevel N 79//config: -N|--nicelevel N
80 80
81//applet:IF_START_STOP_DAEMON(APPLET_ODDNAME(start-stop-daemon, start_stop_daemon, BB_DIR_SBIN, BB_SUID_DROP, start_stop_daemon)) 81//applet:IF_START_STOP_DAEMON(APPLET_ODDNAME(start-stop-daemon, start_stop_daemon, BB_DIR_SBIN, BB_SUID_DROP, start_stop_daemon))
82/* not NOEXEC: uses bb_common_bufsiz1 */
82 83
83//kbuild:lib-$(CONFIG_START_STOP_DAEMON) += start_stop_daemon.o 84//kbuild:lib-$(CONFIG_START_STOP_DAEMON) += start_stop_daemon.o
84 85
@@ -409,11 +410,11 @@ static const char start_stop_daemon_longopts[] ALIGN1 =
409 "quiet\0" No_argument "q" 410 "quiet\0" No_argument "q"
410 "test\0" No_argument "t" 411 "test\0" No_argument "t"
411 "make-pidfile\0" No_argument "m" 412 "make-pidfile\0" No_argument "m"
412#if ENABLE_FEATURE_START_STOP_DAEMON_FANCY 413# if ENABLE_FEATURE_START_STOP_DAEMON_FANCY
413 "oknodo\0" No_argument "o" 414 "oknodo\0" No_argument "o"
414 "verbose\0" No_argument "v" 415 "verbose\0" No_argument "v"
415 "nicelevel\0" Required_argument "N" 416 "nicelevel\0" Required_argument "N"
416#endif 417# endif
417 "startas\0" Required_argument "a" 418 "startas\0" Required_argument "a"
418 "name\0" Required_argument "n" 419 "name\0" Required_argument "n"
419 "signal\0" Required_argument "s" 420 "signal\0" Required_argument "s"
@@ -421,9 +422,9 @@ static const char start_stop_daemon_longopts[] ALIGN1 =
421 "chuid\0" Required_argument "c" 422 "chuid\0" Required_argument "c"
422 "exec\0" Required_argument "x" 423 "exec\0" Required_argument "x"
423 "pidfile\0" Required_argument "p" 424 "pidfile\0" Required_argument "p"
424#if ENABLE_FEATURE_START_STOP_DAEMON_FANCY 425# if ENABLE_FEATURE_START_STOP_DAEMON_FANCY
425 "retry\0" Required_argument "R" 426 "retry\0" Required_argument "R"
426#endif 427# endif
427 ; 428 ;
428#endif 429#endif
429 430