summaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
authorDenys Vlasenko2009-11-13 09:08:27 +0100
committerDenys Vlasenko2009-11-13 09:08:27 +0100
commit6331cf059ccfdf35f4e5a505cbae885094cc41b0 (patch)
treeccb4b4f0d96d9636861a75f7fc6c97b8b15bd306 /selinux
parentf4fee418ae9f5308b4d32bc8d4e618f779f3203f (diff)
downloadbusybox-6331cf059ccfdf35f4e5a505cbae885094cc41b0.zip
busybox-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.gz
*: use "can't" instead of "cannot"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'selinux')
-rw-r--r--selinux/chcon.c8
-rw-r--r--selinux/getsebool.c2
-rw-r--r--selinux/runcon.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c
index 55c2522..4395a7e 100644
--- a/selinux/chcon.c
+++ b/selinux/chcon.c
@@ -49,12 +49,12 @@ static int FAST_FUNC change_filedir_context(
}
if (status < 0 && errno != ENODATA) {
if ((option_mask32 & OPT_QUIET) == 0)
- bb_error_msg("cannot obtain security context: %s", fname);
+ bb_error_msg("can't obtain security context: %s", fname);
goto skip;
}
if (file_context == NULL && specified_context == NULL) {
- bb_error_msg("cannot apply partial context to unlabeled file %s", fname);
+ bb_error_msg("can't apply partial context to unlabeled file %s", fname);
goto skip;
}
@@ -62,7 +62,7 @@ static int FAST_FUNC change_filedir_context(
context = set_security_context_component(file_context,
user, role, type, range);
if (!context) {
- bb_error_msg("cannot compute security context from %s", file_context);
+ bb_error_msg("can't compute security context from %s", file_context);
goto skip;
}
} else {
@@ -75,7 +75,7 @@ static int FAST_FUNC change_filedir_context(
context_string = context_str(context);
if (!context_string) {
- bb_error_msg("cannot obtain security context in text expression");
+ bb_error_msg("can't obtain security context in text expression");
goto skip;
}
diff --git a/selinux/getsebool.c b/selinux/getsebool.c
index b761b72..7478b79 100644
--- a/selinux/getsebool.c
+++ b/selinux/getsebool.c
@@ -25,7 +25,7 @@ int getsebool_main(int argc, char **argv)
rc = security_get_boolean_names(&names, &len);
if (rc)
- bb_perror_msg_and_die("cannot get boolean names");
+ bb_perror_msg_and_die("can't get boolean names");
if (!len) {
puts("No booleans");
diff --git a/selinux/runcon.c b/selinux/runcon.c
index 6ecd789..8472b70 100644
--- a/selinux/runcon.c
+++ b/selinux/runcon.c
@@ -41,13 +41,13 @@ static context_t runcon_compute_new_context(char *user, char *role, char *type,
security_context_t cur_context;
if (getcon(&cur_context))
- bb_error_msg_and_die("cannot get current context");
+ bb_error_msg_and_die("can't get current context");
if (compute_trans) {
security_context_t file_context, new_context;
if (getfilecon(command, &file_context) < 0)
- bb_error_msg_and_die("cannot retrieve attributes of '%s'",
+ bb_error_msg_and_die("can't retrieve attributes of '%s'",
command);
if (security_compute_create(cur_context, file_context,
SECCLASS_PROCESS, &new_context))