[PATCH 2/5] start-stop-daemon: replace execvp with BB_EXECVP

Nadav Tasher tashernadav at gmail.com
Thu Dec 19 21:10:04 UTC 2024


Signed-off-by: Nadav Tasher <tashernadav at gmail.com>
---
 debianutils/start_stop_daemon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c
index 271bc4edf..4b42b23a8 100644
--- a/debianutils/start_stop_daemon.c
+++ b/debianutils/start_stop_daemon.c
@@ -629,6 +629,6 @@ int start_stop_daemon_main(int argc UNUSED_PARAM, char **argv)
 	 * strace -oLOG start-stop-daemon -S -x /bin/usleep -a qwerty 500000
 	 * should exec "/bin/usleep", but argv[0] should be "qwerty":
 	 */
-	execvp(execname, argv);
+	BB_EXECVP(execname, argv);
 	bb_perror_msg_and_die("can't execute '%s'", startas);
 }
-- 
2.34.1



More information about the busybox mailing list