summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-07-20 13:25:04 -0400
committerJune McEnroe <june@causal.agency>2021-07-20 13:25:04 -0400
commitd9388fa2a8672831075fa0e48dff35033347a4af (patch)
tree1302f35626f05ec1792abe59c5ba011e5eb7ad1d /chat.h
parentDon't apply uiThreshold to Network and Debug (diff)
downloadcatgirl-d9388fa2a8672831075fa0e48dff35033347a4af.tar.gz
catgirl-d9388fa2a8672831075fa0e48dff35033347a4af.zip
FreeBSD: Revert caph_enter(3) call to cap_enter(2)
caph_enter(3) is the same as cap_enter(2) except that it returns
success even if the kernel does not support capability mode. Since
we only enter capability mode when explicitly requested by the
restrict option, it should fail loudly if it is not supported. On
the other hand, we make calls to caph_rights_limit(3) and friends
in some places regardless of whether we actually enter capability
mode (to keep the code simple), so those should continue to succeed
even if capability mode is not supported.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions