diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2011-01-04 19:56:15 +0700 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2011-01-04 19:56:15 +0700 |
commit | 5f6f2162512106adf120d4b528bb125e93e34429 (patch) | |
tree | 7d7449f755633c263be7125ad58d21cc3ca5b8a7 /selinux | |
parent | 9db69882bee2d528d706d61d34ef7741122330be (diff) | |
parent | a116552869db5e7793ae10968eb3c962c69b3d8c (diff) | |
download | busybox-w32-5f6f2162512106adf120d4b528bb125e93e34429.tar.gz busybox-w32-5f6f2162512106adf120d4b528bb125e93e34429.tar.bz2 busybox-w32-5f6f2162512106adf120d4b528bb125e93e34429.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'selinux')
-rw-r--r-- | selinux/runcon.c | 3 | ||||
-rw-r--r-- | selinux/sestatus.c | 8 |
2 files changed, 5 insertions, 6 deletions
diff --git a/selinux/runcon.c b/selinux/runcon.c index b70a5e396..54349b25c 100644 --- a/selinux/runcon.c +++ b/selinux/runcon.c | |||
@@ -132,6 +132,5 @@ int runcon_main(int argc UNUSED_PARAM, char **argv) | |||
132 | bb_error_msg_and_die("can't set up security context '%s'", | 132 | bb_error_msg_and_die("can't set up security context '%s'", |
133 | context_str(con)); | 133 | context_str(con)); |
134 | 134 | ||
135 | execvp(argv[0], argv); | 135 | BB_EXECVP_or_die(argv); |
136 | bb_perror_msg_and_die("can't execute '%s'", argv[0]); | ||
137 | } | 136 | } |
diff --git a/selinux/sestatus.c b/selinux/sestatus.c index 7fb2b470b..aa12e806c 100644 --- a/selinux/sestatus.c +++ b/selinux/sestatus.c | |||
@@ -12,10 +12,10 @@ | |||
12 | 12 | ||
13 | extern char *selinux_mnt; | 13 | extern char *selinux_mnt; |
14 | 14 | ||
15 | #define OPT_VERBOSE (1 << 0) | 15 | #define OPT_VERBOSE (1 << 0) |
16 | #define OPT_BOOLEAN (1 << 1) | 16 | #define OPT_BOOLEAN (1 << 1) |
17 | 17 | ||
18 | #define COL_FMT "%-31s " | 18 | #define COL_FMT "%-31s " |
19 | 19 | ||
20 | static void display_boolean(void) | 20 | static void display_boolean(void) |
21 | { | 21 | { |
@@ -151,7 +151,7 @@ int sestatus_main(int argc UNUSED_PARAM, char **argv) | |||
151 | const char *pol_path; | 151 | const char *pol_path; |
152 | int rc; | 152 | int rc; |
153 | 153 | ||
154 | opt_complementary = "?0"; /* no arguments are required. */ | 154 | opt_complementary = "?0"; /* no arguments are required. */ |
155 | opts = getopt32(argv, "vb"); | 155 | opts = getopt32(argv, "vb"); |
156 | 156 | ||
157 | /* SELinux status: line */ | 157 | /* SELinux status: line */ |