Changeset View
Changeset View
Standalone View
Standalone View
lib/libsys/cap_rights_limit.2
| Show All 30 Lines | |||||
| .\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
| .\" | .\" | ||||
| .Dd April 27, 2024 | .Dd April 27, 2024 | ||||
| .Dt CAP_RIGHTS_LIMIT 2 | .Dt CAP_RIGHTS_LIMIT 2 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm cap_rights_limit | .Nm cap_rights_limit | ||||
| .Nd limit capability rights | .Nd limit capability rights | ||||
| .Sh LIBRARY | |||||
| .Lb libc | |||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Lb libc | |||||
| .In sys/capsicum.h | .In sys/capsicum.h | ||||
| .Ft int | .Ft int | ||||
| .Fn cap_rights_limit "int fd" "const cap_rights_t *rights" | .Fn cap_rights_limit "int fd" "const cap_rights_t *rights" | ||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||
| When a file descriptor is created by a function such as | When a file descriptor is created by a function such as | ||||
| .Xr fhopen 2 , | .Xr fhopen 2 , | ||||
| .Xr kqueue 2 , | .Xr kqueue 2 , | ||||
| .Xr mq_open 2 , | .Xr mq_open 2 , | ||||
| ▲ Show 20 Lines • Show All 115 Lines • Show Last 20 Lines | |||||