Skip to contentSkip to conversation

A small patch for auditd.te

DISCUSSION Paul Moore 1 participant 1 message Apr 25, 2005 SELinux security module

lore
Share & tools
lore

Paul Moore

author
#0 lore raw

* My apologies if this is a duplicate, my first message seems to have been lost.

Below is my attempt at fixing the audit policy so that the auditd and auditctl work correctly at boot time. I tested this on the latest FC4 bits augmented with Dan's MLS policy RPM and the latest audit RPMs from David Woodhouse's repository.

Index: auditd.te
===================================================================
RCS file:
/cvsroot/selinux/nsa/selinux-usr/policy/domains/program/unused/auditd.te,v retrieving revision 1.6
diff -r1.6 auditd.te
4a5,6

Quoted 2 lines

# Some fixes by Paul Moore <[email protected]>
#

15a18

Quoted 1 line

allow auditd_t self:process setsched;

34a38

Quoted 1 line

allow auditctl_t init_t:fd use;

38a43

Quoted 1 line

role system_r types auditctl_t;

42a48,51

Quoted 3 lines

allow initrc_t auditctl_exec_t:file rx_file_perms; allow initrc_t auditd_etc_t:file r_file_perms; domain_auto_trans(initrc_t, auditctl_exec_t, auditctl_t)

Signature · 8 lines
. paul moore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. [email protected]                                      hewlett packard
. (603) 884-5056                                          linux security

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