HomeFreeBSD

cap_sysctl.3: Fix bugs in the example

Description

cap_sysctl.3: Fix bugs in the example

  • Correct the type of the sysctl value.
  • Initialize the oldsize parameter to cap_sysctlbyname()

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 44bbda649dc6c1cdc5a99641e14c77157967e140)

Details

Provenance
markjAuthored on Apr 28 2021, 2:38 PM
Parents
rG9d45365e3321: pipe: Avoid calling selrecord() on a closing pipe
Branches
Unknown
Tags
Unknown