All of lore.kernel.org
 help / color / mirror / Atom feed
* copy/paste policy patch
@ 2008-04-25 13:07 Xavier Toth
  2008-04-28 12:47 ` Christopher J. PeBenito
  2008-04-28 18:26 ` Eamon Walsh
  0 siblings, 2 replies; 10+ messages in thread
From: Xavier Toth @ 2008-04-25 13:07 UTC (permalink / raw)
  To: SE Linux, Eamon Walsh, Christopher J. PeBenito

[-- Attachment #1: Type: text/plain, Size: 1340 bytes --]

Here's a patch I'm using with an MLS version of glipper to give the
capability to check for dominance between copy and paste data contexts.
Hopefully some version of this can be upstreamed.

--- serefpolicy-3.3.1/policy/flask/access_vectors       2008-04-08
13:41:18.000000000 -0500
+++ serefpolicy-3.3.1.new//policy/flask/access_vectors  2008-04-08
13:35:43.000000000 -0500
@@ -765,3 +765,10 @@
 {
        recv
 }
+
+class x_application_data
+{
+        paste
+        paste_without_confirm
+        copy
+}
--- serefpolicy-3.3.1/policy/flask/security_classes     2008-04-08
13:41:18.000000000 -0500
+++ serefpolicy-3.3.1.new//policy/flask/security_classes        2008-04-08
13:34:36.000000000 -0500
@@ -114,5 +114,6 @@
 class x_resource               # userspace
 class x_event                  # userspace
 class x_synthetic_event                # userspace
+class x_application_data        # userspace

 # FLASK
--- serefpolicy-3.3.1/policy/mls        2008-04-08 13:41:18.000000000 -0500
+++ serefpolicy-3.3.1.new/policy/mls    2008-04-08 14:20:49.000000000 -0500
@@ -567,6 +567,12 @@
         ( t1 == mlsxwinwritexinput ) or
         ( t1 == mlsxwinwrite ));

+#
+# MLS policy for the x_application_data class
+#
+mlsconstrain x_application_data { paste_without_confirm }
+       ( l1 domby l2 );
+

 #
 # MLS policy for the pax class

[-- Attachment #2: Type: text/html, Size: 2190 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-05-28 18:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-25 13:07 copy/paste policy patch Xavier Toth
2008-04-28 12:47 ` Christopher J. PeBenito
2008-04-28 22:39   ` Eamon Walsh
2008-04-28 22:46     ` Xavier Toth
2008-04-30 23:29       ` Eamon Walsh
2008-05-06 14:27         ` Christopher J. PeBenito
2008-05-28 17:18           ` Xavier Toth
2008-05-28 18:21             ` Christopher J. PeBenito
2008-04-28 18:26 ` Eamon Walsh
     [not found]   ` <cadfc0e40804281221g40382bf4ice31d0e36c7550c4@mail.gmail.com>
2008-04-28 19:41     ` Eamon Walsh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.