[PATCH 64/90] Fix semanage dontaudit off to work correctly

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


   This patch looks good to me. acked.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/I+scACgkQrlYvE4MpobNgEQCfcjDvdvIPomSim0QHhO7Y6zFD
/r0AoMxIbM3/MjbVCwfdST6Fwrk3Zoqk
=KQoB
-----END PGP SIGNATURE-----
>From 1e0a8d1e9e4c0a807cb4113a637ac0e428b5c545 Mon Sep 17 00:00:00 2001
From: Dan Walsh <dwalsh@xxxxxxxxxx>
Date: Fri, 18 May 2012 09:52:57 -0400
Subject: [PATCH 64/90] Fix semanage dontaudit off to work correctly

---
 policycoreutils/semanage/semanage |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/policycoreutils/semanage/semanage b/policycoreutils/semanage/semanage
index 0136d1e..a4d9a01 100644
--- a/policycoreutils/semanage/semanage
+++ b/policycoreutils/semanage/semanage
@@ -378,6 +378,9 @@ Object-specific Options (see above):
 		if object == "permissive":
 			OBJECT = seobject.permissiveRecords(store)
 		
+		if object == "dontaudit":
+                        OBJECT = seobject.dontauditClass(store)
+
 		if list:
 			if object == "boolean":
                                OBJECT.list(heading, locallist, use_file)
@@ -401,7 +404,6 @@ Object-specific Options (see above):
                 target = cmds[0]
 
 		if object == "dontaudit":
-                       OBJECT = seobject.dontauditClass(store)
                        OBJECT.toggle(target)
                        return
                               
-- 
1.7.10.2


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

  Powered by Linux