Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2018 19:07:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 228470] struct auditpipe_ioctl_preselect's fields not defined in the same header file
Message-ID:  <bug-228470-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

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@FreeBSD.org
          Reporter: aniketp@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228470-227>