Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id s63EMwiZ001969 for ; Thu, 3 Jul 2014 10:22:58 -0400 References: <53B4E97D.20401@gmail.com> <53B52610.30401@redhat.com> <1404386386.31757.YahooMailNeo@web87906.mail.ir2.yahoo.com> Message-ID: <1404397212.55445.YahooMailNeo@web87902.mail.ir2.yahoo.com> Date: Thu, 3 Jul 2014 15:20:12 +0100 From: Richard Haines Subject: Re: Enforcing default_user, default_role, default_type, default_range To: dE In-Reply-To: <1404386386.31757.YahooMailNeo@web87906.mail.ir2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: "selinux@tycho.nsa.gov" Reply-To: Richard Haines List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: ----- Original Message ----- > From: Richard Haines > To: Daniel J Walsh ; dE > Cc: "selinux@tycho.nsa.gov" > Sent: Thursday, 3 July 2014, 12:19 > Subject: Re: Enforcing default_user, default_role, default_type, default_range > > > > ----- Original Message ----- >> From: Daniel J Walsh >> To: dE ; selinux@tycho.nsa.gov >> Cc: >> Sent: Thursday, 3 July 2014, 10:44 >> Subject: Re: Enforcing default_user, default_role, default_type, > default_range >> >> >> On 07/03/2014 01:26 AM, dE wrote: >>>   These rules are not enforced by the object manager, but does >>>   restorecon read these? >> No.  restorecon and other labeling tools just read the fcontext files. >>> >>>   Also what's the effect of these statements on SELinux aware >> applications? >>> The SELinux Notebook section 2.10 - Computing Security Contexts attemps to explain labeling using these and other rules for SELinux-aware apps. For the next edition I've a few minor corrections - the CIL statement names have changed and security_compute_member always defaults to using the tcon user. The book is available from: http://www.freetechbooks.com/the-selinux-notebook-the-foundations-t785.html If you find any errors or want any clarifications let me know as I'm working on the next version (for release one day - but not sure when). >> Most likely nothing. >>>   Are there tools to list these statements? I didn't find anything > in >>>   sesearch man page, and seinfo is silent on this. >>>   ________________ >> Probably not.  seinfo/sesearch have not been updated to handle them > > There is an updated version of APOL that will show these plus all other rules to > policy version 29. > You can either built it from: > https://github.com/TresysTechnology/setools3.git > or: > https://github.com/QuarkSecurity/setools > > Or download the rpms from: > https://quarksecurity.com/files/RPMS/ > >>>   _______________________________ >>>   Selinux mailing list >>>   Selinux@tycho.nsa.gov >>>   To unsubscribe, send email to Selinux-leave@tycho.nsa.gov. >>>   To get help, send an email containing "help" to >>>   Selinux-request@tycho.nsa.gov. >> >> >> _______________________________________________ >> Selinux mailing list >> Selinux@tycho.nsa.gov >> To unsubscribe, send email to Selinux-leave@tycho.nsa.gov. >> To get help, send an email containing "help" to >> Selinux-request@tycho.nsa.gov. >> > > _______________________________________________ > Selinux mailing list > Selinux@tycho.nsa.gov > To unsubscribe, send email to Selinux-leave@tycho.nsa.gov. > To get help, send an email containing "help" to > Selinux-request@tycho.nsa.gov. >