Changeset View
Changeset View
Standalone View
Standalone View
lib/libsys/cap_enter.2
| Show All 27 Lines | |||||
| .\" | .\" | ||||
| .Dd March 9, 2023 | .Dd March 9, 2023 | ||||
| .Dt CAP_ENTER 2 | .Dt CAP_ENTER 2 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm cap_enter , | .Nm cap_enter , | ||||
| .Nm cap_getmode | .Nm cap_getmode | ||||
| .Nd Capability mode system calls | .Nd Capability mode system calls | ||||
| .Sh LIBRARY | |||||
| .Lb libc | |||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Lb libc | |||||
| .In sys/capsicum.h | .In sys/capsicum.h | ||||
| .Ft int | .Ft int | ||||
| .Fn cap_enter "void" | .Fn cap_enter "void" | ||||
| .Ft int | .Ft int | ||||
| .Fn cap_getmode "u_int *modep" | .Fn cap_getmode "u_int *modep" | ||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||
| .Fn cap_enter | .Fn cap_enter | ||||
| places the current process into capability mode, a mode of execution in which | places the current process into capability mode, a mode of execution in which | ||||
| ▲ Show 20 Lines • Show All 115 Lines • Show Last 20 Lines | |||||