Skip to contentSkip to conversation

Depend on CONFIG_AUDIT?

DISCUSSION Thomas Bleher 3 participants 3 messages May 10, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

I just compiled a 2.6.6-rc3-mm3 kernel without CONFIG_AUDIT to see what would happen. SELinux still seems to initialize but doesn't produce any log messages. Since this is useless for most people I think SELinux should depend on CONFIG_AUDIT.

Thomas

Signature · 2 lines
http://www.cip.ifi.lmu.de/~bleher/selinux/ - my SELinux pages
GPG-Fingerprint: BC4F BB16 30D6 F253 E3EA  D09E C562 2BAE B2F4 ABE7
#1 lore raw
Quoted 4 lines · Thomas Bleher

I just compiled a 2.6.6-rc3-mm3 kernel without CONFIG_AUDIT to see what would happen. SELinux still seems to initialize but doesn't produce any log messages. Since this is useless for most people I think SELinux should depend on CONFIG_AUDIT.

I'm not sure that it should depend on CONFIG_AUDIT; I can envision a situation where you want SELinux enforcing a policy but don't care to collect any audit data. However, we should likely adjust the avc code so that avc_audit is just an empty static inline when CONFIG_AUDIT is disabled.

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.
#2 lore raw

patches

hello,

I want to include a coreutils-selinux.patch into the file coreutils.spec, but I don't know how to do. however I've tried to do it, but I think it had created errors.

Next, Is it normal to have an empty coreutils-selinux.patch file ?

In addition, when doing :
rpm -ivh coreutils.rpm, I have a conflict with file-utils, sh-utils, and text-utils.

Is it necessary to upgrade text-utils, sh-utils and file-utils to cope with this confilcts or to delete the installed ones?

I think I'm near the solution but I've a lack of details

may day may day ...
A.B

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