All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] refpolicy: add X object classes to unconfined_t
@ 2006-09-12 19:11 Eamon Walsh
  2006-09-13 13:47 ` Christopher J. PeBenito
  2006-09-14 14:10 ` Joshua Brindle
  0 siblings, 2 replies; 13+ messages in thread
From: Eamon Walsh @ 2006-09-12 19:11 UTC (permalink / raw)
  To: cpebenito; +Cc: selinux

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

Hello,
I'm working on the XSELinux code, which has just been brought up to date
with the current X.org code base.

The following patch adds the X Windows userspace object classes to
unconfined_t.


Signed-off-by:  Eamon Walsh <ewalsh@tycho.nsa.gov>

 policy/modules/system/unconfined.if |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)


-- 
Eamon Walsh <ewalsh@tycho.nsa.gov>
National Security Agency

[-- Attachment #2: unconfined-x.patch --]
[-- Type: text/x-patch, Size: 1149 bytes --]

--- refpolicy/policy/modules/system/unconfined.if	2006-09-11 21:06:30.000000000 -0400
+++ refpolicy-new/policy/modules/system/unconfined.if	2006-09-11 21:08:55.000000000 -0400
@@ -15,6 +15,17 @@
 		class dbus all_dbus_perms;
 		class nscd all_nscd_perms;
 		class passwd all_passwd_perms;
+		class drawable all_drawable_perms;
+		class window all_window_perms;
+		class gc all_gc_perms;
+		class font all_font_perms;
+		class colormap all_colormap_perms;
+		class property all_property_perms;
+		class cursor all_cursor_perms;	
+		class xclient all_xclient_perms;
+		class xserver all_xserver_perms;
+		class xinput all_xinput_perms;
+		class xextension all_xextension_perms;
 	')
 
 	# Use any Linux capability.
@@ -31,6 +42,17 @@
 	allow $1 self:nscd *;
 	allow $1 self:dbus *;
 	allow $1 self:passwd *;
+	allow $1 self:drawable *;
+	allow $1 self:window *;
+	allow $1 self:gc *;
+	allow $1 self:font *;
+	allow $1 self:colormap *;
+	allow $1 self:property *;
+	allow $1 self:cursor *;
+	allow $1 self:xclient *;
+	allow $1 self:xserver *;
+	allow $1 self:xinput *;
+	allow $1 self:xextension *;
 
 	kernel_unconfined($1)
 	corenet_unconfined($1)

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

end of thread, other threads:[~2006-12-05 23:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-12 19:11 [PATCH] refpolicy: add X object classes to unconfined_t Eamon Walsh
2006-09-13 13:47 ` Christopher J. PeBenito
2006-09-13 21:13   ` Eamon Walsh
2006-09-14 14:10 ` Joshua Brindle
2006-09-15 12:46   ` Joshua Brindle
2006-09-15 21:19     ` Eamon Walsh
2006-09-18 14:43       ` Christopher J. PeBenito
2006-11-29 15:12       ` Xavier Toth
2006-11-29 20:09         ` Eamon Walsh
2006-11-29 22:34           ` Xavier Toth
2006-11-30  3:27             ` Eamon Walsh
2006-12-05 22:47               ` XACE and MLS Ted X Toth
2006-12-05 23:37                 ` 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.