Page MenuHomeFreeBSD

Document EACCES in ioctl(2).
ClosedPublic

Authored by felix.the.red_gmail.com on Feb 20 2025, 6:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 26, 4:33 PM
Unknown Object (File)
Mon, Dec 8, 11:13 PM
Unknown Object (File)
Nov 28 2025, 9:22 AM
Unknown Object (File)
Nov 21 2025, 7:56 PM
Unknown Object (File)
Nov 9 2025, 2:32 AM
Unknown Object (File)
Nov 2 2025, 12:46 AM
Unknown Object (File)
Nov 1 2025, 3:00 AM
Unknown Object (File)
Oct 28 2025, 3:50 AM
Subscribers

Details

Reviewers
ziaee
Group Reviewers
manpages
Commits
rGe2afbc45258f: ioctl.2: Mention EACCES
Summary

Add documentation for error code EACCES when calling
ioctl(2).

Test Plan

PR:239504

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks great! Tip, you want the PR in the summary with a colon in the middle. The test plan field is something different, more like "git-arc.sh patch -c D49072; grep ioctl.c eaccess; mandoc -Tlint" etc.

lib/libsys/ioctl.2
114

I'd remove this line, the second line is already perfect. It even has the search keyword "permission"

lib/libsys/ioctl.2
115

If ever writing the title of the page, use the name macro instead.

felix.the.red_gmail.com edited the test plan for this revision. (Show Details)

Removed Permission denied sentence.

Merging, thanks Felix! Sorry I forgot about this one earlier!

lib/libsys/ioctl.2
115

I'm going to just fix this upon commit.

This revision is now accepted and ready to land.Mon, Dec 29, 7:26 PM
This revision was automatically updated to reflect the committed changes.