K 10 svn:author V 4 ngie K 8 svn:date V 27 2022-04-11T02:09:07.159112Z K 7 svn:log V 745 Add `kern.features.witness` Adding `kern.features.witness` helps expose whether or not the kernel has `options WITNESS` enabled, so the `feature_present(3)` API can be used to query whether or not witness(9) is built into the kernel. This support is helpful with userspace applications (generally speaking, tests), as it can be queried to determine whether or not tests related to WITNESS should be run. MFC after: 1 week Reviewed by: cem, darrick.freebsd_gmail.com Differential Revision: https://reviews.freebsd.org/D25302 Sponsored by: DellEMC Isilon Conflicts: sys/kern/subr_witness.c (cherry picked from commit d6701b6c8ccf35c66d357fe02494d0f60ee62f4e) Git Hash: 52122fa0968fdaaacf3803e711604d4600d489ff Git Author: ngie@FreeBSD.org END