The ioctl(2) request arguments for auditpipe(4) have conflicting data types in the man-page and the header "security/audit/audit_ioctl.h"
Issue in Preselection Mode Ioctls: security/audit/audit_ioctl.h
#define AUDITPIPE_GET_PRESELECT_FLAGS _IOR(AUDITPIPE_IOBASE, 6, au_mask_t) #define AUDITPIPE_SET_PRESELECT_FLAGS _IOW(AUDITPIPE_IOBASE, 7, au_mask_t) #define AUDITPIPE_GET_PRESELECT_NAFLAGS _IOR(AUDITPIPE_IOBASE, 8, au_mask_t) #define AUDITPIPE_SET_PRESELECT_NAFLAGS _IOW(AUDITPIPE_IOBASE, 9, au_mask_t)
All of the above ioctls have a defined argument type of au_mask_t struct au_mask which is incorrectly represented as u_int in the man page of auditpipe(4).
Also: A typo in the same manpage provided->provide
Bug Report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226713