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
F149002769: D49072.diff
Sat, Mar 21, 4:41 PM
Unknown Object (File)
Mon, Mar 16, 11:33 PM
Unknown Object (File)
Mon, Mar 16, 9:30 AM
Unknown Object (File)
Sun, Mar 15, 10:42 PM
Unknown Object (File)
Sun, Mar 15, 9:38 PM
Unknown Object (File)
Sat, Mar 14, 10:43 PM
Unknown Object (File)
Tue, Mar 10, 9:55 PM
Unknown Object (File)
Sun, Mar 1, 12:20 AM
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.