Page MenuHomeFreeBSD

file: Qualify pointers to capsicum rights as const
ClosedPublic

Authored by markj on May 19 2025, 4:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 6, 12:14 PM
Unknown Object (File)
Sun, Nov 30, 2:13 PM
Unknown Object (File)
Thu, Nov 20, 5:30 AM
Unknown Object (File)
Mon, Nov 17, 2:10 PM
Unknown Object (File)
Nov 3 2025, 11:04 AM
Unknown Object (File)
Oct 29 2025, 9:48 AM
Unknown Object (File)
Oct 29 2025, 7:38 AM
Unknown Object (File)
Oct 29 2025, 7:24 AM
Subscribers

Details

Summary

File descriptor lookup routines typically take a set of capsicum rights
as input to the lookup, so that the fd's rights can be atomically
checked. This set should be qualified with const.

No functional change intended.

Diff Detail

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

Event Timeline

markj requested review of this revision.May 19 2025, 4:31 PM
This revision is now accepted and ready to land.May 19 2025, 4:55 PM