H A D | sysctl.h | 155 * This describes the access space for a sysctl request. This is needed 160 struct thread *td; /* used for access checking */ 332 #define SYSCTL_ROOT_NODE(nbr, name, access, handler, descr) \ argument 334 nbr, #name, CTLTYPE_NODE|(access), NULL, 0, \ 336 CTASSERT(((access) & CTLTYPE) == 0 || \ 337 ((access) & SYSCTL_CT_ASSERT_MASK) == CTLTYPE_NODE) 340 #define SYSCTL_NODE(parent, nbr, name, access, handler, descr) \ argument 341 SYSCTL_NODE_WITH_LABEL(parent, nbr, name, access, handler, descr, NULL) 343 #define SYSCTL_NODE_WITH_LABEL(parent, nbr, name, access, handler, descr, label) \ argument 344 SYSCTL_OID_GLOBAL(parent, nbr, name, CTLTYPE_NODE|(access), \ [all …]
|