Skip to contentSkip to conversation

loadkeys and init fds

refpolicy Martin Orr 2 participants 2 messages Feb 25, 2008 – Mar 4, 2008 SELinux security module

lore
Share & tools
lore

Martin Orr

author
#0 lore raw

Prevent audit messages on boot:

Feb 25 13:52:47 caligula kernel: audit(1203947566.566:9): avc:  denied  {

use } for pid=2900 comm="loadkeys" path="/dev/console" dev=tmpfs ino=311 context=system_u:system_r:loadkeys_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=fd

Best wishes,

Signature · 1 line
Martin Orr
modules/apps/loadkeys.te +1 -0
Index: policy/modules/apps/loadkeys.te
===================================================================
@@ -32,6 +32,7 @@
 term_dontaudit_use_console(loadkeys_t)
 term_use_unallocated_ttys(loadkeys_t)
 
+init_dontaudit_use_fds(loadkeys_t)
 init_dontaudit_use_script_ptys(loadkeys_t)
 
 libs_use_ld_so(loadkeys_t)
#1 lore raw
Quoted 6 lines · Martin Orr

Prevent audit messages on boot:

Feb 25 13:52:47 caligula kernel: audit(1203947566.566:9): avc:  denied  {

use } for pid=2900 comm="loadkeys" path="/dev/console" dev=tmpfs ino=311 context=system_u:system_r:loadkeys_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=fd

Merged.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


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