Strange behaviour in MLS Policy
Any idea why devpts in MLS is mounting at SystemHigh?
I see no reason in policy that this would happen.
From reading policy I believe it should be mounting at SystemLow, the same way tmpfs does.
The goal is to get it to mount at SystemLow-SystemHigh.
Dan
--
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 · Daniel J Walsh
Any idea why devpts in MLS is mounting at SystemHigh?
I see no reason in policy that this would happen.
From reading policy I believe it should be mounting at SystemLow, the
same way tmpfs does.The goal is to get it to mount at SystemLow-SystemHigh.
devpts is labeled via fs_use_trans, so the SIDs of its inodes are computed as transition SIDs, and it therefore inherits its MLS label from the creating task (in this case, the kernel). See Chad Hanson's patch from Friday to change initscripts to restorecon /dev/pts after boot.
Signature · 8 lines
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 [email protected] with the words "unsubscribe selinux" without quotes as the message.