Page MenuHomeFreeBSD

audit: Return ENOSYS if priv_check fails in audit system calls
AcceptedPublic

Authored by markj on Tue, Sep 16, 1:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 30, 7:58 AM
Unknown Object (File)
Sat, Sep 27, 6:30 PM
Unknown Object (File)
Wed, Sep 24, 4:11 PM
Unknown Object (File)
Wed, Sep 17, 4:17 AM
Unknown Object (File)
Tue, Sep 16, 5:01 PM
Unknown Object (File)
Tue, Sep 16, 3:54 PM
Unknown Object (File)
Tue, Sep 16, 2:57 PM
Unknown Object (File)
Tue, Sep 16, 2:56 PM

Details

Reviewers
kevans
Summary

Prior to commit 246d7e9fc239, we would return a special error number
from these system calls when invoked from a jail. Userspace handles
this specially, so we can't really change it. Add a small translation
layer to restore the old behaviour.

PR: 289645
Fixes: 246d7e9fc239 ("jail: Optionally allow audit session state to be configured in a jail")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 67078
Build 63961: arc lint + arc unit