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
F118666706: D15620.diff
Sat, May 31, 2:02 PM
Unknown Object (File)
Mon, May 12, 2:18 AM
Unknown Object (File)
Sun, May 11, 5:29 PM
Unknown Object (File)
Apr 20 2025, 6:57 AM
Unknown Object (File)
Apr 18 2025, 7:56 AM
Unknown Object (File)
Apr 16 2025, 8:46 AM
Unknown Object (File)
Apr 14 2025, 7:44 AM
Unknown Object (File)
Apr 14 2025, 3:46 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.