[Bug 228470] struct auditpipe_ioctl_preselect's fields not defined in the same header file
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu May 24 19:07:29 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228470
Bug ID: 228470
Summary: struct auditpipe_ioctl_preselect's fields not defined
in the same header file
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: aniketp at iitk.ac.in
The argument for auditpipe(4)'s "AUDITPIPE_GET_PRESELECT_AUID" request is a
data structure of type "struct auditpipe_ioctl_preselect" whose fields are not
defined within the same header file. i.e "security/audit/audit_ioctl.h"
Here:
struct auditpipe_ioctl_preselect {
au_id_t aip_auid;
au_mask_t aip_mask;
};
has the data types "au_id_t" and "au_mask_t" whose definitions are present in
"bsm/audit.h". So it would be appropriate to move the definitions there and
include "bsm/audit.h" within "security/audit/audit_ioctl.h"
Differential Revision: review D15561
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list