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: b...@freebsd.org
          Reporter: anik...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to