aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-11 22:16:02 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-11 22:16:02 +0000
commit6a85e08fff515fa8cc124a7bb6a2027c5c47bfeb (patch)
tree162a5019d61ce2403466754ab0ee727e04f1563b /coreutils
parent8901c8a57fe14f9367ec857a15df52d726eafe3a (diff)
downloadbusybox-w32-6a85e08fff515fa8cc124a7bb6a2027c5c47bfeb.tar.gz
busybox-w32-6a85e08fff515fa8cc124a7bb6a2027c5c47bfeb.tar.bz2
busybox-w32-6a85e08fff515fa8cc124a7bb6a2027c5c47bfeb.zip
next portion of selinux updates: chcon, runcon. From
Yuichi Nakamura <himainu-ynakam@miomio.jp> KaiGai Kohei <busybox@kaigai.gr.jp> git-svn-id: svn://busybox.net/trunk/busybox@18067 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/id.c2
-rw-r--r--coreutils/install.c3
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 *