2.6.25-rc5
Hello
I've updated to 2.6.25-rc5 and am noticing new security cleasses in
SELinux, also the new POSIX option is nice.
[ 1.011576] SELinux:8192 avtab hash slots allocated. Num of rules:201978 [ 1.042271] SELinux:8192 avtab hash slots allocated. Num of rules:201978 [ 1.073362] security: 7 users, 7 roles, 2613 types, 88 bools [ 1.073364] security: 67 classes, 201978 rules [ 1.074502] security: class peer not defined in policy [ 1.074504] security: class capability2 not defined in policy [ 1.074522] security: permission recvfrom in class node not defined in policy [ 1.074524] security: permission sendto in class node not defined in policy [ 1.074529] security: permission ingress in class netif not defined in policy [ 1.074531] security: permission egress in class netif not defined in policy <----new [ 1.074567] security: permission setfcap in class capability not defined in policy [ 1.074579] security: permission flow_in in class packet not defined in policy [ 1.074581] security: permission flow_out in class packet not defined in policy [ 1.074583] security: permission forward_in in class packet not defined in policy [ 1.074585] security: permission forward_out in class packet not defined in policy [ 1.074702] SELinux: Completing initialization. [ 1.074703] SELinux: Setting up existing superblocks. [ 1.080008] SELinux: initialized (dev sda1, type ext3), uses xattr [ 1.080008] SELinux: initialized (dev debugfs, type debugfs), uses genfs_contexts [ 1.080008] SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts [ 1.080008] SELinux: initialized (dev mqueue, type mqueue), uses transition SIDs [ 1.080008] SELinux: initialized (dev hugetlbfs, type hugetlbfs), uses genfs_contexts [ 1.080008] SELinux: initialized (dev devpts, type devpts), uses transition SIDs [ 1.080008] SELinux: initialized (dev inotifyfs, type inotifyfs), uses genfs_contexts [ 1.080008] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs [ 1.080008] SELinux: initialized (dev futexfs, type futexfs), uses genfs_contexts [ 1.080008] SELinux: initialized (dev anon_inodefs, type anon_inodefs), uses genfs_contexts [ 1.080008] SELinux: initialized (dev pipefs, type pipefs), uses task SIDs [ 1.080008] SELinux: initialized (dev sockfs, type sockfs), uses task SIDs [ 1.080008] SELinux: initialized (dev proc, type proc), uses genfs_contexts [ 1.080008] SELinux: initialized (dev bdev, type bdev), uses genfs_contexts [ 1.080008] SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts [ 1.080008] SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts [ 0.521501] SELinux: policy loaded with handle_unknown=deny [ 0.521508] type=1403 audit(1205185017.730:2): policy loaded auid=4294967295 ses=4294967295 [ 0.905424] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs [ 0.908987] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs [ 1.395365] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs [ 4.206622] SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts [ 7.345932] SELinux: initialized (dev tmpfs, type tmpfs), uses transition
SIDs
Overall SELinux seems to be running smoothly
regards;
Justin P. Mattock
Quoted 6 lines · Justin Mattock
Hello
I've updated to 2.6.25-rc5 and am noticing new security cleasses in
SELinux, also the new POSIX option is nice.[ 1.074531] security: permission egress in class netif not defined inpolicy <----new
That's fine, it just means that the kernel is aware of permissions that your policy is not.
Signature · 7 lines
James Morris <[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 11 lines · James Morris
Quoted 6 lines · Justin Mattock
Hello
I've updated to 2.6.25-rc5 and am noticing new security cleasses in
SELinux, also the new POSIX option is nice.[ 1.074531] security: permission egress in class netif not defined inpolicy <----new
That's fine, it just means that the kernel is aware of permissions that your policy is not.
And just to clarify, those permissions aren't necessarily being enforced by your kernel. The new networking permissions only get enabled if the network_peer_controls capability is set in your policy. That is to prevent breakage for existing users until policy is updated to support the new controls. I think the necessary rules have been added to the upstream refpolicy, but the capability hasn't been turned on yet.
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.