On 01/21/2015 01:13 PM, Bhuvan Gupta
wrote:
Hello,
After doing some more investigation your explanation
make perfect sense.
But while going through my own mail i released that the two
allow rule that i mentioned:
[1] allow sandbox_domain
default_t : file { ioctl read write getattr lock append };
[2] allow domain
usr_t : dir { ioctl read getattr lock search open };
If you notice that the first one has sandbox_domain
and second one just domain
sandbox_domain is an attribute of all sandbox_t types
seinfo -asandbox_domain -x
domain is the attribute of all process types. So the second
allow rules says every process
on the system is allowed to search through usr_t directories.
I understand the domain and types are same so
sandbox_domain == sandbox_t.
But what does domain in [2] signifies ?
Thanks a lot.
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux
|
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux