Skip to content

Commit

Permalink
Fix typo in syscall names for fdpath
Browse files Browse the repository at this point in the history
  • Loading branch information
amstrnad committed Oct 30, 2018
1 parent 4431b98 commit c15a1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audit.d
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ audit::aue_null:commit

#if AUDIT_PRINT_PATH
printf("%s",
(ARG_IS_VALID(ARG_FD) && (probefunc=="aue_write" || probefunc == "aue_pwrite" || probefunc == "aue_writev" || probefunc == "aue_prwitev" || probefunc=="aue_read" || probefunc == "aue_pread" || probefunc == "aue_readv" || probefunc == "aue_preadv" || probefunc == "aue_mmap"))?strjoin(", \"fdpath\": \"", strjoin(fds[args[1]->ar_arg_fd].fi_pathname, "\"")):"");
(ARG_IS_VALID(ARG_FD) && (probefunc=="aue_write" || probefunc == "aue_pwrite" || probefunc == "aue_writev" || probefunc == "aue_pwritev" || probefunc=="aue_read" || probefunc == "aue_pread" || probefunc == "aue_readv" || probefunc == "aue_preadv" || probefunc == "aue_mmap"))?strjoin(", \"fdpath\": \"", strjoin(fds[args[1]->ar_arg_fd].fi_pathname, "\"")):"");
#endif

#if AUDIT_MPROTECT
Expand Down

0 comments on commit c15a1de

Please sign in to comment.