On Sun, 2013-09-15 at 12:54 -0400, Joshua Brindle wrote: > Dominick Grift wrote: > > I was explaining the concept of (type) attributes using the domain type > > attribute as an example on IRC, and a sharp person embarrassed me by > > noting that the following rule returns nothing where he would have > > expected something: > > > > sesearch -A -d -s domain -c process -p fork > > > > Why does this not return anything? Is is because the target is "self"? > > "self" is resolved by the compiler, it isn't present in the kernel binary. > > You specified -d "do not search for type's attributes" and then gave an > attribute as the source. I'm not sure what the intended behavior was but > excluding the -d gave me back a large set of rules. The result i expected would have been the exact (direct) rule as specified in the policy: allow domain self : process fork; So not the large list that one gets without the -d option because that is not the direct rule > -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.