Page MenuHomeFreeBSD

Fix the incorrect argument types of auditpipe(4) in man-page
ClosedPublic

Authored by aniketp on May 30 2018, 5:18 PM.
Tags
None
Referenced Files
F132623609: D15620.diff
Sat, Oct 18, 12:53 PM
Unknown Object (File)
Sat, Oct 4, 3:14 AM
Unknown Object (File)
Sat, Sep 20, 3:52 PM
Unknown Object (File)
Sep 15 2025, 10:50 PM
Unknown Object (File)
Sep 12 2025, 9:59 AM
Unknown Object (File)
Sep 10 2025, 9:45 PM
Unknown Object (File)
Sep 9 2025, 1:48 AM
Unknown Object (File)
Sep 3 2025, 6:26 AM
Subscribers

Details

Summary

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

Test Plan

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Update the man-page revision date

This revision is now accepted and ready to land.May 30 2018, 7:47 PM
This revision was automatically updated to reflect the committed changes.