Skip to contentSkip to conversation

3.6.3 policy on fc10 and kerneloops

DISCUSSION Xavier Toth 2 participants 4 messages Jan 26, 2009 SELinux security module

lore
Share & tools
lore
#0 lore raw

I've built and install an fc10 version of the rawhide policy and am now getting kerneloops. Does the kernel build rely on policy files?

Kernel failure message 1:
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1b6
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ed
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ed

Ted

--
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
Quoted 11 lines · Xavier Toth

I've built and install an fc10 version of the rawhide policy and am now getting kerneloops. Does the kernel build rely on policy files?

Kernel failure message 1:
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1b6
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ed
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ed

No, but enabling the openperm policy capability will trigger that warning on older kernels.

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.
#2 lore raw
Quoted 13 lines · Stephen Smalley
Quoted 11 lines · Xavier Toth

I've built and install an fc10 version of the rawhide policy and am now getting kerneloops. Does the kernel build rely on policy files?

Kernel failure message 1:
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1b6
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ed
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ed

Quoted 8 lines

No, but enabling the openperm policy capability will trigger that warning on older kernels.

--
Stephen Smalley
National Security Agency

I'm not familiar with the openperm policy capability how is it enabled/disabled?

Ted

--
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 17 lines · Xavier Toth
Quoted 16 lines · Stephen Smalley
Quoted 11 lines · Xavier Toth

I've built and install an fc10 version of the rawhide policy and am now getting kerneloops. Does the kernel build rely on policy files?

Kernel failure message 1:
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1b6
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ff
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ed
SELinux: WARNING: inside open_file_mask_to_av with unknown mode:c1ed

No, but enabling the openperm policy capability will trigger that warning on older kernels.

Quoted 7 lines
Quoted 5 lines

--
Stephen Smalley
National Security Agency

I'm not familiar with the openperm policy capability how is it enabled/disabled?

The policy/policy_capabilities file specifies what policy capabilities are enabled for a given policy - that tells the kernel whether or not to enable newer permission checks that require a newer policy. Originally introduced for the network peer controls and then extended for the new open permission check.

You have to modify that file and then rebuild the base module.

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.