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)
Thu, Apr 9, 9:15 PM
Unknown Object (File)
Tue, Apr 7, 3:48 AM
Unknown Object (File)
Sat, Mar 28, 6:07 AM
Unknown Object (File)
Fri, Mar 27, 3:10 PM
Unknown Object (File)
Wed, Mar 25, 1:54 AM
Unknown Object (File)
Sun, Mar 22, 3:50 PM
Unknown Object (File)
Sat, Mar 21, 4:41 PM
Unknown Object (File)
Mon, Mar 16, 11:33 PM
Subscribers

Details

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.Dec 29 2025, 7:26 PM
This revision was automatically updated to reflect the committed changes.