[PATCH 153/155] Allow seunshare to run as root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch looks good to me. acked.


>From eaab42fe2007fb130a5bfef51d93810b9ea42b72 Mon Sep 17 00:00:00 2001
From: Dan Walsh <dwalsh@xxxxxxxxxx>
Date: Tue, 26 Jul 2011 10:42:26 -0400
Subject: [PATCH 153/155] Allow seunshare to run as root

---
 policycoreutils/sandbox/seunshare.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/policycoreutils/sandbox/seunshare.c b/policycoreutils/sandbox/seunshare.c
index e4454bb..48dd9fe 100644
--- a/policycoreutils/sandbox/seunshare.c
+++ b/policycoreutils/sandbox/seunshare.c
@@ -843,11 +843,12 @@ int main(int argc, char **argv) {
 	};
 
 	uid_t uid = getuid();
-
+/*
 	if (!uid) {
 		fprintf(stderr, _("Must not be root"));
 		return -1;
 	}
+*/
 
 #ifdef USE_NLS
 	setlocale(LC_ALL, "");
-- 
1.7.6


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux