HomeFreeBSD

file: Qualify pointers to capsicum rights as const

Description

file: Qualify pointers to capsicum rights as const

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.

Reviewed by: olce, oshogbo, brooks, kib
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D50419

(cherry picked from commit 5319cb21610ad947c56fd0cd4f18ef5b58bc8db7)

Details

Provenance
markjAuthored on May 20 2025, 8:19 PM
Reviewer
olce
Differential Revision
D50419: file: Qualify pointers to capsicum rights as const
Parents
rG9a20657ac79d: libarchive/test: fix build when memcpy() is a macro
Branches
Unknown
Tags
Unknown
OSZAR »