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
Unknown Object (File)
Wed, Mar 27, 10:27 PM
Unknown Object (File)
Jan 27 2024, 1:52 AM
Unknown Object (File)
Jan 27 2024, 1:51 AM
Unknown Object (File)
Jan 27 2024, 1:51 AM
Unknown Object (File)
Jan 27 2024, 1:51 AM
Unknown Object (File)
Jan 27 2024, 1:02 AM
Unknown Object (File)
Dec 20 2023, 2:57 AM
Unknown Object (File)
Dec 10 2023, 8:55 PM
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 Skipped
Unit
Tests Skipped

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.