Page MenuHomeFreeBSD

sysctl(9): properly use xor in ENFORCE_FLAGS macro
ClosedPublic

Authored by kaktus on Fri, Feb 14, 12:45 AM.

Details

Summary

Assert on not specifying any of the (soon to be) required flags as well as specifying both of them.

Pointed out by: cem, hselasky

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

kaktus created this revision.Fri, Feb 14, 12:45 AM
kaktus edited the summary of this revision. (Show Details)
hselasky accepted this revision.Fri, Feb 14, 8:14 AM
This revision is now accepted and ready to land.Fri, Feb 14, 8:14 AM
kib accepted this revision.Fri, Feb 14, 12:52 PM
This revision was automatically updated to reflect the committed changes.