devfs_t vs device_t
Steve has insisted that all "allow domain" rules be removed from the sample policy. This increases the cost (in terms of policy size, complexity, and user confusion) of having a separate type devfs_t for the root of the devfs file system.
This combined with the limited benefits of having the separate type lead me to now believe that having such a type loses us more than it gains us.
I have created a new test policy tree with no devfs_t and which uses device_t for /dev in both devfs and non-devfs. I have it working on three machines without any problems (apart from the need to change to permissive mode before the install of the new policy and reboot afterwards).
Steve, please let me know what you think of this idea.
As an aside, for future upgrade paths I have been considering a mechanism for a policy snippet to be inserted in the running policydb but not in the policydb that is loaded from disk at boot time, so therefore you can have some temporary rules for running programs that will disappear at reboot time. Of course it would be a bad idea to run for weeks or months in such a state, but it could be very handy if you want to install a new policy now and then schedule a reboot at 8PM to take care of any left-over processes.
Signature · 3 lines
I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the
Quoted 1 line
From field.
--
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 6 lines · Russell Coker
I have created a new test policy tree with no
devfs_tand which usesdevice_tfor /dev in both devfs and non-devfs. I have it working on three machines without any problems (apart from the need to change to permissive mode before the install of the new policy and reboot afterwards).Steve, please let me know what you think of this idea.
I'm in favor of such a change.
Quoted 7 lines
As an aside, for future upgrade paths I have been considering a mechanism for a policy snippet to be inserted in the running policydb but not in the policydb that is loaded from disk at boot time, so therefore you can have some temporary rules for running programs that will disappear at reboot time. Of course it would be a bad idea to run for weeks or months in such a state, but it could be very handy if you want to install a new policy now and then schedule a reboot at 8PM to take care of any left-over processes.
Yes, this would likely be useful.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
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 10 lines · Stephen Smalley
Quoted 7 lines · Russell Coker
I have created a new test policy tree with no
devfs_tand which usesdevice_tfor /dev in both devfs and non-devfs. I have it working on three machines without any problems (apart from the need to change to permissive mode before the install of the new policy and reboot afterwards).Steve, please let me know what you think of this idea.
I'm in favor of such a change.
OK, I'll send you a suitable patch as soon as you have decided on what patches you will accept from the ones I emailed you yesterday. Then I'll send you a patch that applies on top of it.
Quoted 10 lines
Quoted 8 lines
As an aside, for future upgrade paths I have been considering a mechanism for a policy snippet to be inserted in the running policydb but not in the policydb that is loaded from disk at boot time, so therefore you can have some temporary rules for running programs that will disappear at reboot time. Of course it would be a bad idea to run for weeks or months in such a state, but it could be very handy if you want to install a new policy now and then schedule a reboot at 8PM to take care of any left-over processes.
Yes, this would likely be useful.
OK.
Signature · 3 lines
I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the
Quoted 1 line
From field.
--
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.