SELinux Security Module development
 help / color / mirror / Atom feed
* Strange AVC denials without effect
@ 2020-07-03 10:28 Topi Miettinen
  2020-07-03 13:49 ` Paul Moore
  0 siblings, 1 reply; 4+ messages in thread
From: Topi Miettinen @ 2020-07-03 10:28 UTC (permalink / raw)
  To: SElinux list

Hello,

I renamed SELinux packet types and also without using type attributes 
(like packet_type etc), so that refpolicy TE rules for packets should 
not apply. Then I added new rules for the new types one by one as they 
were needed. But there are lots of audit entries which would seem to 
indicate that kernel_t is prevented from sending packets:

type=AVC msg=audit(1593770235.180:3222): avc:  denied  { send } for 
pid=408 comm="irq/30-iwlwifi" saddr=10.0.0.3 daddr=1.1.1.1 netif=wlan0 
scontext=system_u:system_r:kernel_t:s0 
tcontext=system_u:object_r:my_dns_client_packet_t:s0 tclass=packet 
permissive=0

In reality, the packets are sent. But kernel_t is not permissive and 
there should not be any rules which would allow the action, so shouldn't 
this prevent packet transmission?

-Topi

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-04 13:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-03 10:28 Strange AVC denials without effect Topi Miettinen
2020-07-03 13:49 ` Paul Moore
2020-07-03 18:16   ` Topi Miettinen
2020-07-04 13:15   ` Topi Miettinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox