Skip to content

Commit

Permalink
Add support for AUDIT_BPF event (#104)
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
  • Loading branch information
olsajiri authored and RH-steve-grubb committed Dec 11, 2019
1 parent 0403094 commit 9e0cf40
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -81,6 +81,7 @@
- Split up ospp rules to make SCAP scanning easier (#1746018)
- In audisp-syslog, support interpreting records (#1497279)
- Audit USER events now sends msg as name value pair
- Add support for AUDIT_BPF event

2.8.3
- Correct msg function name in LRU debug code
Expand Down
4 changes: 4 additions & 0 deletions lib/libaudit.h
Expand Up @@ -290,6 +290,10 @@ extern "C" {
#define AUDIT_TIME_ADJNTPVAL 1333 /* NTP value adjustment */
#endif

#ifndef AUDIT_BPF
#define AUDIT_BPF 1334 /* BPF load/unload */
#endif

#ifndef AUDIT_MAC_CALIPSO_ADD
#define AUDIT_MAC_CALIPSO_ADD 1418 /* NetLabel: add CALIPSO DOI entry */
#endif
Expand Down
1 change: 1 addition & 0 deletions lib/msg_typetab.h
Expand Up @@ -125,6 +125,7 @@ _S(AUDIT_KERN_MODULE, "KERN_MODULE" )
_S(AUDIT_FANOTIFY, "FANOTIFY" )
_S(AUDIT_TIME_INJOFFSET, "TIME_INJOFFSET" )
_S(AUDIT_TIME_ADJNTPVAL, "TIME_ADJNTPVAL" )
_S(AUDIT_BPF, "BPF" )
_S(AUDIT_AVC, "AVC" )
_S(AUDIT_SELINUX_ERR, "SELINUX_ERR" )
_S(AUDIT_AVC_PATH, "AVC_PATH" )
Expand Down

0 comments on commit 9e0cf40

Please sign in to comment.