]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
close_range: add audit support
authorAlex Richardson <arichardson@FreeBSD.org>
Tue, 23 Feb 2021 17:47:07 +0000 (17:47 +0000)
committerAlex Richardson <arichardson@FreeBSD.org>
Tue, 23 Feb 2021 17:47:07 +0000 (17:47 +0000)
commitfa32350347b4e351a144b5423f0fb2ca9d67f4ca
treec939e33e9e399087d740abe37397244448a3cd4c
parent3775ddcf5a12c8e23970e94b7b165bf23c92aeba
close_range: add audit support

This fixes the closefrom test in sys/audit.

Includes cherry-picks of the following commits from openbsm:

https://github.com/openbsm/openbsm/commit/4dfc628aafe589d68848f7033f3d3488c4d979e0
https://github.com/openbsm/openbsm/commit/99ff6fe32aebc5a4b8d40d60062b8574697df557
https://github.com/openbsm/openbsm/commit/da48a0399e95448693d3fa2be48454ca564c1be8

Reviewed By: kevans
Differential Revision: https://reviews.freebsd.org/D28388
contrib/openbsm/etc/audit_event
contrib/openbsm/sys/bsm/audit_kevents.h
sys/kern/kern_descrip.c
sys/security/audit/audit_bsm.c
tests/sys/audit/file-close.c