HomeFreeBSD

Allow getdtablesize in capability mode

Description

Allow getdtablesize in capability mode

getdtablesize is "trivial global state" and is similar to
getrlimit(RLIMIT_NOFILE), so should be permitted in capability mode.

Reviewed by: oshogbo
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D7719

Details

Provenance
emasteAuthored on
Reviewer
oshogbo
Differential Revision
D7719: Allow getdtablesize in capability mode
Parents
rS305139: df(1): Allow duplicate -l flags gracefully
Branches
Unknown
Tags
Unknown