summaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
authorDenys Vlasenko2010-11-28 04:34:09 +0100
committerDenys Vlasenko2010-11-28 04:34:09 +0100
commit1c31e9e82b12bdceeec4f8e07955984e20ee6b7e (patch)
tree7b06f2898ba16ea00b77c5a2d1295c37753a8c4d /selinux
parent57542ebe4fee39b6d3091b964c42ce07ecfec7ef (diff)
downloadbusybox-1c31e9e82b12bdceeec4f8e07955984e20ee6b7e.zip
busybox-1c31e9e82b12bdceeec4f8e07955984e20ee6b7e.tar.gz
use BB_EXECVP_or_die where appropriate
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'selinux')
-rw-r--r--selinux/runcon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/selinux/runcon.c b/selinux/runcon.c
index b70a5e3..54349b2 100644
--- a/selinux/runcon.c
+++ b/selinux/runcon.c
@@ -132,6 +132,5 @@ int runcon_main(int argc UNUSED_PARAM, char **argv)
bb_error_msg_and_die("can't set up security context '%s'",
context_str(con));
- execvp(argv[0], argv);
- bb_perror_msg_and_die("can't execute '%s'", argv[0]);
+ BB_EXECVP_or_die(argv);
}