Information
Hi.
I have seen that the binary policy file (policy.15) have "15" as version of the checkpolicy utility, right ? The change done in the sysvinit package load the policy as: /sbin/load_policy /etc/security/selinux/policy.15, right? If yes, a change in the version of the checkpolicy, I have that change the sysvinit too ?
Is this a good idea ?
This is only a question.
Cheers.
Thanks.
Signature · 10 lines
Carlos Anisio Monteiro <[email protected]> IPEN/CNEN-SP Sao Paulo - Brasil -- 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 · Carlos Anísio Monteiro
I have seen that the binary policy file (policy.15) have "15" as version of the checkpolicy utility, right ?
The change done in the sysvinit package load the policy as:/sbin/load_policy/etc/security/selinux/policy.15, right?
If yes, a change in the version of the checkpolicy, I have that change the sysvinit too ?
The file /selinux/policyvers has the version. A future version of sysvinit will examine that file to determine which (of possibly many) policy databases should be loaded.
Maybe Dan's rpm has this already, I haven't checked.
Signature · 11 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- 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 5 lines · Russell Coker
The file /selinux/policyvers has the version. A future version of sysvinit will examine that file to determine which (of possibly many) policy databases should be loaded.
Maybe Dan's rpm has this already, I haven't checked.
Yes, the patched SysVinit already includes this feature. A security_policyvers() function was added to libselinux to encapsulate obtaining the policy version required for the kernel, and the patched init program uses this function to obtain the version number at runtime. The library function will try to obtain the version number from the kernel via /selinux/policyvers, and will fall back to a default of 15 if that fails (for older kernels that did not export /selinux/policyvers).
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.
Quoted 12 lines · Russell Coker
Quoted 8 lines · Carlos Anísio Monteiro
I have seen that the binary policy file (policy.15) have "15" as version of the checkpolicy utility, right ?
The change done in the sysvinit package load the policy as:/sbin/load_policy/etc/security/selinux/policy.15, right?
If yes, a change in the version of the checkpolicy, I have that change the sysvinit too ?
Quoted 4 lines
The file /selinux/policyvers has the version. A future version of sysvinit will examine that file to determine which (of possibly many) policy databases should be loaded.
Maybe Dan's rpm has this already, I haven't checked.
Yes the current patch used security_policyvers from libselinux to determine the policy version.
Dan