Skip to content

Commit 490f64f

Browse files
committed
Parse program IDs, uring opcodes as decimal numbers
1 parent 9edf9e0 commit 490f64f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/audit-specs/fields/field-dictionary.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ ppid,numeric decimal,parent process ID,
184184
printer,alphanumeric,printer name,
185185
prom,numeric decimal,network promiscuity flag,
186186
proctitle,encoded,process title and command line parameters,
187+
prog-id,numeric decimal,BPF program ID,
187188
proto,numeric decimal,network protocol,
188189
qbytes,numeric hexadecimal,ipc objects quantity of bytes,
189190
range,alphanumeric,user's SE Linux range,
@@ -225,6 +226,7 @@ type,alphanumeric,the audit record's type,
225226
uid,numeric decimal,user ID,
226227
unit,alphanumeric,systemd unit,
227228
uri,alphanumeric,URI pointing to a printer,
229+
uring_op,numeric decimal,IO_URING opcode,
228230
user,alphanumeric,account submitted for authentication,
229231
uuid,alphanumeric,a UUID,
230232
val,alphanumeric,generic value associated with the operation,

src/test.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,6 @@ fn serde_message() {
518518
}
519519

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

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

0 commit comments

Comments
 (0)