diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-11 22:16:02 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-11 22:16:02 +0000 |
commit | 1203c9bf2f63938f7766a3022a9659b25712824f (patch) | |
tree | 162a5019d61ce2403466754ab0ee727e04f1563b /coreutils | |
parent | baca1759129945fcd03d96ccc840892401b5a1af (diff) | |
download | busybox-w32-1203c9bf2f63938f7766a3022a9659b25712824f.tar.gz busybox-w32-1203c9bf2f63938f7766a3022a9659b25712824f.tar.bz2 busybox-w32-1203c9bf2f63938f7766a3022a9659b25712824f.zip |
next portion of selinux updates: chcon, runcon. From
Yuichi Nakamura <himainu-ynakam@miomio.jp>
KaiGai Kohei <busybox@kaigai.gr.jp>
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/id.c | 2 | ||||
-rw-r--r-- | coreutils/install.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/coreutils/id.c b/coreutils/id.c index a0364675f..e183402fa 100644 --- a/coreutils/id.c +++ b/coreutils/id.c | |||
@@ -89,7 +89,7 @@ int id_main(int argc, char **argv) | |||
89 | if (flags & JUST_CONTEXT) { | 89 | if (flags & JUST_CONTEXT) { |
90 | selinux_or_die(); | 90 | selinux_or_die(); |
91 | if (argc - optind == 1) { | 91 | if (argc - optind == 1) { |
92 | bb_error_msg_and_die("can't print security context when user specified"); | 92 | bb_error_msg_and_die("user name can't be passed with -Z"); |
93 | } | 93 | } |
94 | 94 | ||
95 | if (getcon(&scontext)) { | 95 | if (getcon(&scontext)) { |
diff --git a/coreutils/install.c b/coreutils/install.c index 83facad9d..1f65407b1 100644 --- a/coreutils/install.c +++ b/coreutils/install.c | |||
@@ -1,6 +1,7 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * Copyright (C) 2003 by Glenn McGrath <bug1@iinet.net.au> | 3 | * Copyright (C) 2003 by Glenn McGrath <bug1@iinet.net.au> |
4 | * SELinux support: by Yuichi Nakamura <ynakam@hitachisoft.jp> | ||
4 | * | 5 | * |
5 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 6 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
6 | * | 7 | * |