HomeFreeBSD

cap_sysctl: correct typo from r347534-ish

Description

cap_sysctl: correct typo from r347534-ish

operation & ~limit where limit is a bool is clearly not what was intended,
given the line prior. Correct it to use the calculated mask for validation.

The cap_sysctl tests should now be functional again.

Details

Provenance
kevansAuthored on Oct 23 2019, 3:23 AM
Parents
rGf7810883d414: tuntap(4): Fix NOINET build after r353741
Branches
Unknown
Tags
Unknown

Event Timeline