struct pids_t *p = subprocGetPidElem(nsjconf, si->si_pid);
if (p == NULL) {
- LOG_W("PID: %d, Syscall number: %#x, Seccomp reason: %#x", (int)si->si_pid,
+ LOG_W("PID: %d, Syscall number: %d, Seccomp reason: %d", (int)si->si_pid,
si->si_syscall, si->si_errno);
LOG_E("Couldn't find pid element in the subproc list for PID: %d", (int)si->si_pid);
return;
char buf[4096];
ssize_t rdsize = utilReadFromFd(p->pid_syscall_fd, buf, sizeof(buf) - 1);
if (rdsize < 1) {
- LOG_W("PID: %d, Syscall number: %#x, Seccomp reason: %#x", (int)si->si_pid,
+ LOG_W("PID: %d, Syscall number: %d, Seccomp reason: %d", (int)si->si_pid,
si->si_syscall, si->si_errno);
return;
}
&arg5, &arg6, &sp, &pc);
if (ret == 9) {
LOG_W
- ("PID: %d, Syscall number: %td, Arguments: %#tx, %#tx, %#tx, %#tx, %#tx, %#tx, SP: %#tx, PC: %#tx, si_syscall: %#x, si_errno: %#x",
+ ("PID: %d, Syscall number: %td, Arguments: %#tx, %#tx, %#tx, %#tx, %#tx, %#tx, SP: %#tx, PC: %#tx, si_syscall: %d, si_errno: %#x",
(int)si->si_pid, sc, arg1, arg2, arg3, arg4, arg5, arg6, sp, pc,
si->si_syscall, si->si_errno);
} else if (ret == 3) {
- LOG_W("PID: %d, Syscall number: %#x, Seccomp reason: %#x, SP: %#tx, PC: %#tx",
+ LOG_W("PID: %d, Syscall number: %d, Seccomp reason: %d, SP: %#tx, PC: %#tx",
(int)si->si_pid, si->si_syscall, si->si_errno, arg1, arg2);
} else {
- LOG_W("PID: %d, Syscall number: %#x, Seccomp reason: %#x, Syscall string '%s'",
+ LOG_W("PID: %d, Syscall number: %d, Seccomp reason: %d, Syscall string '%s'",
(int)si->si_pid, si->si_syscall, si->si_errno, buf);
}
}