Page MenuHomeFreeBSD

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

Authored by aniketp on May 30 2018, 5:18 PM.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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.