Skip to content

Commit

Permalink
Parse program IDs, uring opcodes as decimal numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
hillu committed Jan 22, 2025
1 parent 2f69c30 commit 595747f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/audit-specs/fields/field-dictionary.csv
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ ppid,numeric decimal,parent process ID,
printer,alphanumeric,printer name,
prom,numeric decimal,network promiscuity flag,
proctitle,encoded,process title and command line parameters,
prog-id,numeric decimal,BPF program ID,
proto,numeric decimal,network protocol,
qbytes,numeric hexadecimal,ipc objects quantity of bytes,
range,alphanumeric,user's SE Linux range,
Expand Down Expand Up @@ -225,6 +226,7 @@ type,alphanumeric,the audit record's type,
uid,numeric decimal,user ID,
unit,alphanumeric,systemd unit,
uri,alphanumeric,URI pointing to a printer,
uring_op,numeric decimal,IO_URING opcode,
user,alphanumeric,account submitted for authentication,
uuid,alphanumeric,a UUID,
val,alphanumeric,generic value associated with the operation,
Expand Down
2 changes: 0 additions & 2 deletions src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,6 @@ fn serde_message() {
}

#[test]
#[should_panic]
fn parse_uringop() {
let msg = parse(include_bytes!("testdata/line-uringop.txt"), false).unwrap();
println!("{msg:?}");
Expand All @@ -530,7 +529,6 @@ fn parse_uringop() {
}

#[test]
#[should_panic]
fn parse_bpf() {
let msg = parse(include_bytes!("testdata/line-bpf.txt"), false).unwrap();
println!("{msg:?}");
Expand Down

0 comments on commit 595747f

Please sign in to comment.