Skip to contentSkip to conversation

Refpolicy: Add new permissions for open perms

PATCH In review Eric Paris 2 participants 2 messages Feb 28, 2008 – Mar 4, 2008 SELinux security module

lore
Share & tools
lore

Eric Paris

author
#0 lore raw

PATCH 1/1 Refpolicy: Add new permissions for open perms

Add new permissions for open permissions. This patch does not enable or make use of those new permissions. I'll leave that for a future patch from the policy people.

-Eric

---

policy/flask/access_vectors +9 -0
diff -Naupr serefpolicy-3.3.0.orig/policy/flask/access_vectors serefpolicy-3.3.0/policy/flask/access_vectors
@@ -125,6 +125,7 @@ inherits file
 	reparent
 	search
 	rmdir
+	open
 }
 
 class file
@@ -133,6 +134,7 @@ inherits file
 	execute_no_trans
 	entrypoint
 	execmod
+	open
 }
 
 class lnk_file
@@ -144,16 +146,23 @@ inherits file
 	execute_no_trans
 	entrypoint
 	execmod
+	open
 }
 
 class blk_file
 inherits file
+{
+	open
+}
 
 class sock_file
 inherits file
 
 class fifo_file
 inherits file
+{
+	open
+}
 
 class fd
 {

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 3 lines · Eric Paris

Add new permissions for open permissions. This patch does not enable or make use of those new permissions. I'll leave that for a future patch from the policy people.

Merged.

Quoted 50 lines

diff -Naupr serefpolicy-3.3.0.orig/policy/flask/access_vectors serefpolicy-3.3.0/policy/flask/access_vectors

policy/flask/access_vectors +9 -1
@@ -125,6 +125,7 @@ inherits file
 	reparent
 	search
 	rmdir
+	open
 }
 
 class file
@@ -133,6 +134,7 @@ inherits file
 	execute_no_trans
 	entrypoint
 	execmod
+	open
 }
 
 class lnk_file
@@ -144,16 +146,23 @@ inherits file
 	execute_no_trans
 	entrypoint
 	execmod
+	open
 }
 
 class blk_file
 inherits file
+{
+	open
+}
 
 class sock_file
 inherits file
 
 class fifo_file
 inherits file
+{
+	open
+}
 
 class fd
 {
 
 
 
--

This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.