github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/freebsd/capsicum.txt (about) 1 # Copyright 2020 syzkaller project authors. All rights reserved. 2 # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 cap_enter() 5 cap_getmode(mode ptr[out, int32]) 6 cap_rights_limit(fd fd, rights ptr[in, array[int64, 2]]) 7 __cap_rights_get(version int32, fd fd, rightsp ptr[out, array[int64, 2]]) 8 9 cap_fcntls_limit(fd fd, rights int32) 10 cap_fcntls_get(fd fd, rightsp ptr[out, array[int32]]) 11 12 cap_ioctls_limit(fd fd, cmds ptr[in, array[intptr]]) 13 cap_ioctls_get(fd fd, cmds ptr[out, array[intptr]], maxcmds len[cmds])