Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
* BPF audit logs
@ 2022-12-20 22:36 Burn Alting
  2022-12-20 23:16 ` Steve Grubb
  0 siblings, 1 reply; 8+ messages in thread
From: Burn Alting @ 2022-12-20 22:36 UTC (permalink / raw)
  To: Linux-Audit Mailing List


[-- Attachment #1.1: Type: text/plain, Size: 605 bytes --]

Hi,
I note that the unsolicited AUDIT_BPF audit event only provides a program id and
operation (load or unload). For example, 	type=BPF msg=audit(21/12/22
09:03:35.765:439) : prog-id=75 op=LOAD or	type=BPF msg=audit(21/12/22
09:04:05.883:460) : prog-id=0 op=UNLOAD
I also note that the bpf auxillary structure (struct bpf_prog_aux) that holds the
program id value, also holds a name (struct bpf_prog_aux->name) and uid  (struct
bpf_prog_aud->user_struct->uid). Perhaps adding these two items to the AUDIT_BPF
event would provide more security context for this unsolicited event.
Thoughts?
RgdsBurn Alting

[-- Attachment #1.2: Type: text/html, Size: 894 bytes --]

[-- Attachment #2: Type: text/plain, Size: 107 bytes --]

--
Linux-audit mailing list
Linux-audit@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit

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

end of thread, other threads:[~2022-12-21 23:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-20 22:36 BPF audit logs Burn Alting
2022-12-20 23:16 ` Steve Grubb
2022-12-21  0:01   ` Burn Alting
2022-12-21 14:44     ` Paul Moore
2022-12-21 14:54       ` Paul Moore
2022-12-21 21:02         ` Burn Alting
2022-12-21 23:40           ` Paul Moore
2022-12-21 23:49             ` Burn Alting

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