Skip to contentSkip to conversation

Rawhide kernel is reporting

DISCUSSION Daniel J Walsh 4 participants 4 messages Dec 31, 2007 – Jan 7, 2008 SELinux security module

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

SELinux: policy loaded with handle_unknown=allow

Have no idea what this means.

Dan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkd5HPYACgkQrlYvE4MpobOkCACfT4kNc5CYsw4rtEDokk5RdXwO 0/YAn0RbSbhQaEY7ytMcLWKIvQrt7qj5
=JH78
-----END PGP SIGNATURE-----

--
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.

#1 lore raw

It means that if you kernel has defined classes and permissions which the policy doesn't know about those security checks will be 'allowed'. Aka if you update your kernel and not your policy 'hopefully' it won't break stuff.

-Eric

Quoted 13 lines · Daniel J Walsh

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

SELinux: policy loaded with handle_unknown=allow

Have no idea what this means.

Dan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

Quoted 4 lines

iEYEARECAAYFAkd5HPYACgkQrlYvE4MpobOkCACfT4kNc5CYsw4rtEDokk5RdXwO 0/YAn0RbSbhQaEY7ytMcLWKIvQrt7qj5
=JH78
-----END PGP SIGNATURE-----

--
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.

#2 lore raw

Stephen do you have any thoughts on me stealing another flag to specify maybe 'has_unknown'? Then we can only print a message if there is an unknown permission? I could probably also to the printing in the validate_classes loop and not have to carry a flag.

dwlash also suggested

SELinux: policy loaded with allowing unknown accesses.

probably a bit less cryptic. If we like the idea of not printing the message except when relevant I'll make both changes...

-Eric

Quoted 27 lines · Eric Paris

It means that if you kernel has defined classes and permissions which the policy doesn't know about those security checks will be 'allowed'. Aka if you update your kernel and not your policy 'hopefully' it won't break stuff.

-Eric

Quoted 13 lines · Daniel J Walsh

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

SELinux: policy loaded with handle_unknown=allow

Have no idea what this means.

Dan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

Quoted 4 lines

iEYEARECAAYFAkd5HPYACgkQrlYvE4MpobOkCACfT4kNc5CYsw4rtEDokk5RdXwO 0/YAn0RbSbhQaEY7ytMcLWKIvQrt7qj5
=JH78
-----END PGP SIGNATURE-----

Quoted 5 lines

--
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.

--
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.

#3 lore raw
Quoted 11 lines · Eric Paris

Stephen do you have any thoughts on me stealing another flag to specify maybe 'has_unknown'? Then we can only print a message if there is an unknown permission? I could probably also to the printing in the validate_classes loop and not have to carry a flag.

dwlash also suggested

SELinux: policy loaded with allowing unknown accesses.

probably a bit less cryptic. If we like the idea of not printing the message except when relevant I'll make both changes...

Moving the output to validate_classes and making it conditional on whether or not any classes/perms were undefined seems reasonable. I don't think the above is less cryptic though. Maybe "SELinux: Missing kernel classes or permissions from the loaded policy, allowing/denying/rejecting".

Quoted 41 lines

-Eric

Quoted 27 lines · Eric Paris

It means that if you kernel has defined classes and permissions which the policy doesn't know about those security checks will be 'allowed'. Aka if you update your kernel and not your policy 'hopefully' it won't break stuff.

-Eric

Quoted 13 lines · Daniel J Walsh

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

SELinux: policy loaded with handle_unknown=allow

Have no idea what this means.

Dan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

Quoted 4 lines

iEYEARECAAYFAkd5HPYACgkQrlYvE4MpobOkCACfT4kNc5CYsw4rtEDokk5RdXwO 0/YAn0RbSbhQaEY7ytMcLWKIvQrt7qj5
=JH78
-----END PGP SIGNATURE-----

Quoted 5 lines

--
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.

--
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.

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.