* setsebool [not found] ` <44B5623C.8060600@us.ibm.com> @ 2006-07-13 10:54 ` Daniel J Walsh 2006-07-13 11:34 ` setsebool Steve Grubb 2006-07-13 12:07 ` setsebool Stephen Smalley 0 siblings, 2 replies; 9+ messages in thread From: Daniel J Walsh @ 2006-07-13 10:54 UTC (permalink / raw) To: Stephen Smalley; +Cc: Michael C Thompson, Steve Grubb, SE Linux How come when I set one boolean via setsebool I get an AVC granted message for all the booleans? Is this a problem in the Kernel or libraries? Or just the way it is? -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: setsebool 2006-07-13 10:54 ` setsebool Daniel J Walsh @ 2006-07-13 11:34 ` Steve Grubb 2006-07-13 12:06 ` setsebool Karl MacMillan 2006-07-13 12:07 ` setsebool Stephen Smalley 1 sibling, 1 reply; 9+ messages in thread From: Steve Grubb @ 2006-07-13 11:34 UTC (permalink / raw) To: Daniel J Walsh; +Cc: Stephen Smalley, Michael C Thompson, SE Linux On Thursday 13 July 2006 06:54, Daniel J Walsh wrote: > Is this a problem in the Kernel or libraries? Or just the way it is? I think the granted statement comes from policy. I was thinking that audit of granting when changing booleans would be dropped from policy when the 2.6.17 kernel was out. -Steve -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: setsebool 2006-07-13 11:34 ` setsebool Steve Grubb @ 2006-07-13 12:06 ` Karl MacMillan 2006-07-13 12:26 ` setsebool Stephen Smalley 0 siblings, 1 reply; 9+ messages in thread From: Karl MacMillan @ 2006-07-13 12:06 UTC (permalink / raw) To: Steve Grubb; +Cc: Daniel J Walsh, Stephen Smalley, Michael C Thompson, SE Linux On Thu, 2006-07-13 at 07:34 -0400, Steve Grubb wrote: > On Thursday 13 July 2006 06:54, Daniel J Walsh wrote: > > Is this a problem in the Kernel or libraries? Or just the way it is? > > I think the granted statement comes from policy. I was thinking that audit of > granting when changing booleans would be dropped from policy when the 2.6.17 > kernel was out. > The kernel also generates a message with all of the boolean states in addition to the auditallow. When wrote that my thought was that there would not be that many booleans and printing them all would make it easier to see the state of the system in the logs. Obviously I was wrong about the number of booleans. The message is printed from security_set_bools in services.c. Should this just go in favor of an audit message or be changed to just print the state of the changed booleans? Karl > -Steve > > > -- > This message was distributed to subscribers of the selinux mailing list. > If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with > the words "unsubscribe selinux" without quotes as the message. > -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: setsebool 2006-07-13 12:06 ` setsebool Karl MacMillan @ 2006-07-13 12:26 ` Stephen Smalley 2006-07-13 12:41 ` setsebool Karl MacMillan 0 siblings, 1 reply; 9+ messages in thread From: Stephen Smalley @ 2006-07-13 12:26 UTC (permalink / raw) To: Karl MacMillan; +Cc: Steve Grubb, Daniel J Walsh, Michael C Thompson, SE Linux On Thu, 2006-07-13 at 08:06 -0400, Karl MacMillan wrote: > On Thu, 2006-07-13 at 07:34 -0400, Steve Grubb wrote: > > On Thursday 13 July 2006 06:54, Daniel J Walsh wrote: > > > Is this a problem in the Kernel or libraries? Or just the way it is? > > > > I think the granted statement comes from policy. I was thinking that audit of > > granting when changing booleans would be dropped from policy when the 2.6.17 > > kernel was out. > > > > The kernel also generates a message with all of the boolean states in > addition to the auditallow. When wrote that my thought was that there > would not be that many booleans and printing them all would make it > easier to see the state of the system in the logs. Obviously I was wrong > about the number of booleans. > > The message is printed from security_set_bools in services.c. Should > this just go in favor of an audit message or be changed to just print > the state of the changed booleans? Steve Grubb already changed that printk to an audit_log call that only displays changed values. In 2.6.17. -- Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: setsebool 2006-07-13 12:26 ` setsebool Stephen Smalley @ 2006-07-13 12:41 ` Karl MacMillan 2006-07-13 12:58 ` setsebool Stephen Smalley 0 siblings, 1 reply; 9+ messages in thread From: Karl MacMillan @ 2006-07-13 12:41 UTC (permalink / raw) To: Stephen Smalley; +Cc: Steve Grubb, SE Linux On Thu, 2006-07-13 at 08:26 -0400, Stephen Smalley wrote: > On Thu, 2006-07-13 at 08:06 -0400, Karl MacMillan wrote: > > On Thu, 2006-07-13 at 07:34 -0400, Steve Grubb wrote: > > > On Thursday 13 July 2006 06:54, Daniel J Walsh wrote: > > > > Is this a problem in the Kernel or libraries? Or just the way it is? > > > > > > I think the granted statement comes from policy. I was thinking that audit of > > > granting when changing booleans would be dropped from policy when the 2.6.17 > > > kernel was out. > > > > > > > The kernel also generates a message with all of the boolean states in > > addition to the auditallow. When wrote that my thought was that there > > would not be that many booleans and printing them all would make it > > easier to see the state of the system in the logs. Obviously I was wrong > > about the number of booleans. > > > > The message is printed from security_set_bools in services.c. Should > > this just go in favor of an audit message or be changed to just print > > the state of the changed booleans? > > Steve Grubb already changed that printk to an audit_log call that only > displays changed values. In 2.6.17. > Oops - that will teach me to look at old kernel source. Looking through the archives I didn't see that patch posted to this list (but maybe I missed it). Where was this discussed? Karl -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: setsebool 2006-07-13 12:41 ` setsebool Karl MacMillan @ 2006-07-13 12:58 ` Stephen Smalley 0 siblings, 0 replies; 9+ messages in thread From: Stephen Smalley @ 2006-07-13 12:58 UTC (permalink / raw) To: Karl MacMillan; +Cc: Steve Grubb, SE Linux On Thu, 2006-07-13 at 08:41 -0400, Karl MacMillan wrote: > > Steve Grubb already changed that printk to an audit_log call that only > > displays changed values. In 2.6.17. > > > > Oops - that will teach me to look at old kernel source. Looking through > the archives I didn't see that patch posted to this list (but maybe I > missed it). Where was this discussed? linux-audit and redhat-lspp lists. -- Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: setsebool 2006-07-13 10:54 ` setsebool Daniel J Walsh 2006-07-13 11:34 ` setsebool Steve Grubb @ 2006-07-13 12:07 ` Stephen Smalley 2006-07-13 12:25 ` setsebool Steve Grubb 2006-07-13 13:37 ` setsebool Christopher J. PeBenito 1 sibling, 2 replies; 9+ messages in thread From: Stephen Smalley @ 2006-07-13 12:07 UTC (permalink / raw) To: Daniel J Walsh; +Cc: Michael C Thompson, Steve Grubb, SE Linux On Thu, 2006-07-13 at 06:54 -0400, Daniel J Walsh wrote: > How come when I set one boolean via setsebool I get an AVC granted > message for all the booleans? > > Is this a problem in the Kernel or libraries? Or just the way it is? libsemanage sets them all upon commit. We could likely drop the auditallow statement on setbool as it isn't particularly useful and we now have the explicit audit messages for MAC_CONFIG_CHANGE. -- Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: setsebool 2006-07-13 12:07 ` setsebool Stephen Smalley @ 2006-07-13 12:25 ` Steve Grubb 2006-07-13 13:37 ` setsebool Christopher J. PeBenito 1 sibling, 0 replies; 9+ messages in thread From: Steve Grubb @ 2006-07-13 12:25 UTC (permalink / raw) To: Stephen Smalley; +Cc: Daniel J Walsh, Michael C Thompson, SE Linux On Thursday 13 July 2006 08:07, Stephen Smalley wrote: > We could likely drop the auditallow statement on setbool as it isn't > particularly useful and we now have the explicit audit messages for > MAC_CONFIG_CHANGE. That would be great. Thanks, -Steve -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: setsebool 2006-07-13 12:07 ` setsebool Stephen Smalley 2006-07-13 12:25 ` setsebool Steve Grubb @ 2006-07-13 13:37 ` Christopher J. PeBenito 1 sibling, 0 replies; 9+ messages in thread From: Christopher J. PeBenito @ 2006-07-13 13:37 UTC (permalink / raw) To: Stephen Smalley; +Cc: Daniel J Walsh, Michael C Thompson, Steve Grubb, SE Linux On Thu, 2006-07-13 at 08:07 -0400, Stephen Smalley wrote: > On Thu, 2006-07-13 at 06:54 -0400, Daniel J Walsh wrote: > > How come when I set one boolean via setsebool I get an AVC granted > > message for all the booleans? > > > > Is this a problem in the Kernel or libraries? Or just the way it is? > > libsemanage sets them all upon commit. > We could likely drop the auditallow statement on setbool as it isn't > particularly useful and we now have the explicit audit messages for > MAC_CONFIG_CHANGE. I'll remove the auditallow except for distro_rhel4 since those systems don't have libsemanage and auditing. -- 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 majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-07-13 13:37 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <44AD708E.10205@us.ibm.com>
[not found] ` <200607061639.55819.sgrubb@redhat.com>
[not found] ` <44AD7553.3050605@us.ibm.com>
[not found] ` <200607061712.05688.sgrubb@redhat.com>
[not found] ` <44AE7C4E.2070500@us.ibm.com>
[not found] ` <44AFC876.8050501@redhat.com>
[not found] ` <44B54FDC.7040505@us.ibm.com>
[not found] ` <44B55404.6090702@redhat.com>
[not found] ` <44B55CB2.8010409@us.ibm.com>
[not found] ` <44B560CD.7080202@redhat.com>
[not found] ` <44B5623C.8060600@us.ibm.com>
2006-07-13 10:54 ` setsebool Daniel J Walsh
2006-07-13 11:34 ` setsebool Steve Grubb
2006-07-13 12:06 ` setsebool Karl MacMillan
2006-07-13 12:26 ` setsebool Stephen Smalley
2006-07-13 12:41 ` setsebool Karl MacMillan
2006-07-13 12:58 ` setsebool Stephen Smalley
2006-07-13 12:07 ` setsebool Stephen Smalley
2006-07-13 12:25 ` setsebool Steve Grubb
2006-07-13 13:37 ` setsebool Christopher J. PeBenito
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.