Changeset View
Changeset View
Standalone View
Standalone View
lib/libsys/cap_ioctls_limit.2
| Show All 26 Lines | |||||
| .\" | .\" | ||||
| .Dd March 9, 2023 | .Dd March 9, 2023 | ||||
| .Dt CAP_IOCTLS_LIMIT 2 | .Dt CAP_IOCTLS_LIMIT 2 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm cap_ioctls_limit , | .Nm cap_ioctls_limit , | ||||
| .Nm cap_ioctls_get | .Nm cap_ioctls_get | ||||
| .Nd manage allowed ioctl commands | .Nd manage allowed ioctl commands | ||||
| .Sh LIBRARY | |||||
| .Lb libc | |||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Lb libc | |||||
| .In sys/capsicum.h | .In sys/capsicum.h | ||||
| .Ft int | .Ft int | ||||
| .Fn cap_ioctls_limit "int fd" "const unsigned long *cmds" "size_t ncmds" | .Fn cap_ioctls_limit "int fd" "const unsigned long *cmds" "size_t ncmds" | ||||
| .Ft ssize_t | .Ft ssize_t | ||||
| .Fn cap_ioctls_get "int fd" "unsigned long *cmds" "size_t maxcmds" | .Fn cap_ioctls_get "int fd" "unsigned long *cmds" "size_t maxcmds" | ||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||
| If a file descriptor is granted the | If a file descriptor is granted the | ||||
| .Dv CAP_IOCTL | .Dv CAP_IOCTL | ||||
| ▲ Show 20 Lines • Show All 116 Lines • Show Last 20 Lines | |||||