Skip to content

Commit

Permalink
Merge pull request #193 from 243f6a8885a308d313198a2e037/fix/20220223…
Browse files Browse the repository at this point in the history
…_typo_siutime

subproc.cc: fix typo: SiUime -> SiUtime
  • Loading branch information
robertswiecki authored Feb 26, 2022
2 parents 91d5c98 + 472932c commit e678c25
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions subproc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ static void seccompViolation(nsjconf_t* nsjconf, siginfo_t* si) {
const auto& p = nsjconf->pids.find(si->si_pid);
if (p == nsjconf->pids.end()) {
LOG_W(
"pid=%d SiStatus:%d SiUid:%d SiUime:%ld SiStime:%ld (If "
"pid=%d SiStatus:%d SiUid:%d SiUtime:%ld SiStime:%ld (If "
"SiStatus==31 (SIGSYS), then see 'dmesg' or 'journalctl -ek' for possible "
"auditd report with more data)",
(int)si->si_pid, si->si_status, si->si_uid, (long)si->si_utime,
Expand All @@ -279,7 +279,7 @@ static void seccompViolation(nsjconf_t* nsjconf, siginfo_t* si) {
ssize_t rdsize = util::readFromFd(p->second.pid_syscall_fd, buf, sizeof(buf) - 1);
if (rdsize < 1) {
LOG_W(
"pid=%d SiStatus:%d SiUid:%d SiUime:%ld SiStime:%ld (If "
"pid=%d SiStatus:%d SiUid:%d SiUtime:%ld SiStime:%ld (If "
"SiStatus==31 (SIGSYS), then see 'dmesg' or 'journalctl -ek' for possible "
"auditd report with more data)",
(int)si->si_pid, si->si_status, si->si_uid, (long)si->si_utime,
Expand All @@ -299,15 +299,15 @@ static void seccompViolation(nsjconf_t* nsjconf, siginfo_t* si) {
(int)si->si_pid, sc, arg1, arg2, arg3, arg4, arg5, arg6, sp, pc, si->si_status);
} else if (ret == 3) {
LOG_W(
"pid=%d SiStatus:%d SiUid:%d SiUime:%ld SiStime:%ld SP:%#tx, PC:%#tx (If "
"pid=%d SiStatus:%d SiUid:%d SiUtime:%ld SiStime:%ld SP:%#tx, PC:%#tx (If "
"SiStatus==31 (SIGSYS), then see 'dmesg' or 'journalctl -ek' for possible "
"auditd report with more data)",
(int)si->si_pid, si->si_status, si->si_uid, (long)si->si_utime,
(long)si->si_stime, arg1, arg2);
return;
} else {
LOG_W(
"pid=%d SiStatus:%d SiUid:%d SiUime:%ld SiStime:%ld (If "
"pid=%d SiStatus:%d SiUid:%d SiUtime:%ld SiStime:%ld (If "
"SiStatus==31 (SIGSYS), then see 'dmesg' or 'journalctl -ek' for possible "
"auditd report with more data)",
(int)si->si_pid, si->si_status, si->si_uid, (long)si->si_utime,
Expand Down

0 comments on commit e678c25

Please sign in to comment.