Date: Sat, 28 Dec 2019 12:20:10 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 242938] audit(4) records the wrong exit code for execve() Message-ID: <bug-242938-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242938 Bug ID: 242938 Summary: audit(4) records the wrong exit code for execve() Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ben@desync.com It seems that audit is recording an errno of EJUSTRETURN instead of 0 for c= alls to execve(). This makes an audit policy with +ex ineffective. header_ex,301,11,execve(2),0,::1,Sat Dec 28 12:10:13 2019, + 102 msec exec arg,/usr/libexec/atrun (...) return,failure: Unknown error: 201,4294967295 I suspect D13180/r326145, but haven't investigated further. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242938-227>