genfscon problem
Hi!
I have this:
genfscon selinuxfs /user object_u:object_r:tcb_mod_t
But my /selinux/user file continues to be tcb_t.
Did I made some mistake or genfscon isn't updated on policy reload?
Signature · 7 lines
GNU GPL: csak tiszta forrásból -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 8 lines · Magosányi Árpád
Hi!
I have this:
genfscon selinuxfs /user object_u:object_r:tcb_mod_tBut my /selinux/user file continues to be
tcb_t.Did I made some mistake or genfscon isn't updated on policy reload?
Read the last two paras of the comment header for genfs_contexts or the end of selinux-doc/PORTING. Also, even if genfs_contexts did support fine-grained labeling of selinuxfs, a policy reload does not walk the inode lists and reset the SIDs of incore inodes, so it wouldn't change the SID of an inode that was already incore.
Signature · 8 lines
Stephen Smalley <[email protected]> National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.