aboutsummaryrefslogtreecommitdiffstats
path: root/sys/freebsd/capsicum.txt
blob: 1cd1882293619b043f93e3d72d79e20a67ff962d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright 2020 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

cap_enter()
cap_getmode(mode ptr[out, int32])
cap_rights_limit(fd fd, rights ptr[in, array[int64, 2]])
__cap_rights_get(version int32, fd fd, rightsp ptr[out, array[int64, 2]])

cap_fcntls_limit(fd fd, rights int32)
cap_fcntls_get(fd fd, rightsp ptr[out, array[int32]])

cap_ioctls_limit(fd fd, cmds ptr[in, array[intptr]])
cap_ioctls_get(fd fd, cmds ptr[out, array[intptr]], maxcmds len[cmds])