diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-23 16:25:17 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-23 16:25:17 +0100 |
commit | 651a2697f725f10c1ebdb8947925b5a9c6cf4fe2 (patch) | |
tree | e2373083cc4bf57af9c114c311ff089b84835f0f /selinux/runcon.c | |
parent | 37a658c4c86fa5ad9fb6f76cba2fca80f4249036 (diff) | |
download | busybox-w32-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.tar.gz busybox-w32-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.tar.bz2 busybox-w32-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.zip |
*: merge some common strings
text data bss dec hexfilename
838650 8009 0 846659 ceb43busybox_old
838519 8009 0 846528 ceac0busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'selinux/runcon.c')
-rw-r--r-- | selinux/runcon.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/selinux/runcon.c b/selinux/runcon.c index 8472b7090..4afd1116e 100644 --- a/selinux/runcon.c +++ b/selinux/runcon.c | |||
@@ -59,13 +59,13 @@ static context_t runcon_compute_new_context(char *user, char *role, char *type, | |||
59 | if (!con) | 59 | if (!con) |
60 | bb_error_msg_and_die("'%s' is not a valid context", cur_context); | 60 | bb_error_msg_and_die("'%s' is not a valid context", cur_context); |
61 | if (user && context_user_set(con, user)) | 61 | if (user && context_user_set(con, user)) |
62 | bb_error_msg_and_die("failed to set new user '%s'", user); | 62 | bb_error_msg_and_die("can't set new user '%s'", user); |
63 | if (type && context_type_set(con, type)) | 63 | if (type && context_type_set(con, type)) |
64 | bb_error_msg_and_die("failed to set new type '%s'", type); | 64 | bb_error_msg_and_die("can't set new type '%s'", type); |
65 | if (range && context_range_set(con, range)) | 65 | if (range && context_range_set(con, range)) |
66 | bb_error_msg_and_die("failed to set new range '%s'", range); | 66 | bb_error_msg_and_die("can't set new range '%s'", range); |
67 | if (role && context_role_set(con, role)) | 67 | if (role && context_role_set(con, role)) |
68 | bb_error_msg_and_die("failed to set new role '%s'", role); | 68 | bb_error_msg_and_die("can't set new role '%s'", role); |
69 | 69 | ||
70 | return con; | 70 | return con; |
71 | } | 71 | } |