All of lore.kernel.org
 help / color / mirror / Atom feed
* seapp_contexts boolean support
@ 2012-07-19  1:28 William Roberts
  2012-07-19 13:24 ` Stephen Smalley
  0 siblings, 1 reply; 2+ messages in thread
From: William Roberts @ 2012-07-19  1:28 UTC (permalink / raw)
  To: selinux; +Cc: Stephen Smalley

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

I was thinking of adding support to enable seboolean control over
seapp_contexts. We have had to make a weird change to seapp_contexts for
CTS and it would be nice if that only got pulled in and used when the CTS
boolean is enabled.

I was thinking is could work like this:

seapp_contexts would have an additional option, sebool, you could set this
to the name of the seboolean, such as CTS.

When the code that parses the seapp_contexts file
(selinux_android_setcontext) could check the sebool flag first, and if it
matches, apply the existing rules to it, else, throw it away as a possible
match.

Would anyone find this useful, and if so I can code it up tomorrow after I
submit the Settings app patches to Garrett.

-- 
Respectfully,

William C Roberts

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

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

end of thread, other threads:[~2012-07-19 13:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-19  1:28 seapp_contexts boolean support William Roberts
2012-07-19 13:24 ` Stephen Smalley

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.