public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* auditd and CAP_AUDIT_READ
@ 2018-11-15  0:57 Richard Guy Briggs
  2018-11-15  9:51 ` Steve Grubb
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Guy Briggs @ 2018-11-15  0:57 UTC (permalink / raw)
  To: linux-audit

Hi Steve,

In commit 183775f155cb96d8012c2d493041a03f1b825b2f ("Do capabilities
check rather than uid") a switch was made from checking "getuid() != 0"
to checking CAP_AUDIT_CONTROL and CAP_AUDIT_READ via audit_can_control()
and audit_can_read().

Does auditd use the multicast socket?  If not, there is no need for it
to check or have CAP_AUDIT_READ.

Having audit_can_read() available in lib/libaudit.c is certainly useful
regardless for other potential libaudit users like systemd.

- RGB

--
Richard Guy Briggs <rgb@redhat.com>
Sr. S/W Engineer, Kernel Security, Base Operating Systems
Remote, Ottawa, Red Hat Canada
IRC: rgb, SunRaycer
Voice: +1.647.777.2635, Internal: (81) 32635

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

end of thread, other threads:[~2018-11-17 17:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-15  0:57 auditd and CAP_AUDIT_READ Richard Guy Briggs
2018-11-15  9:51 ` Steve Grubb
2018-11-15 13:07   ` Paul Moore
2018-11-15 13:23   ` Richard Guy Briggs
2018-11-15 23:45     ` Steve Grubb
2018-11-16  2:11       ` Richard Guy Briggs
2018-11-17 17:30         ` Steve Grubb

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