Assert on not specifying any of the (soon to be) required flags as well as specifying both of them.
Pointed out by: cem, hselasky
Differential D23678 Authored by kaktus on Feb 14 2020, 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
Event TimelineThis revision is now accepted and ready to land.Feb 14 2020, 8:14 AM2020-02-14 08:14:29 (UTC+0) Closed by commit rS357921: sysctl(9): properly use xor in ENFORCE_FLAGS macro (authored by kaktus). · Explain WhyFeb 14 2020, 4:57 PM2020-02-14 16:57:11 (UTC+0) This revision was automatically updated to reflect the committed changes. Herald added a subscriber: imp. · View Herald TranscriptFeb 14 2020, 4:57 PM2020-02-14 16:57:11 (UTC+0)
Revision Contents
Diff 68327 head/sys/sys/sysctl.h
|
err seems redundant here, could just return the result from vfs_hash_get?