Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/procstat/procstat_files.c
Show First 20 Lines • Show All 203 Lines • ▼ Show 20 Lines | static struct cap_desc { | ||||
{ CAP_KQUEUE_CHANGE, "kc" }, | { CAP_KQUEUE_CHANGE, "kc" }, | ||||
/* Strange and powerful rights that should not be given lightly. */ | /* Strange and powerful rights that should not be given lightly. */ | ||||
{ CAP_IOCTL, "io" }, | { CAP_IOCTL, "io" }, | ||||
{ CAP_TTYHOOK, "ty" }, | { CAP_TTYHOOK, "ty" }, | ||||
/* Process management via process descriptors. */ | /* Process management via process descriptors. */ | ||||
{ CAP_PDGETPID, "pg" }, | { CAP_PDGETPID, "pg" }, | ||||
{ CAP_PDWAIT, "pw" }, | |||||
{ CAP_PDKILL, "pk" }, | { CAP_PDKILL, "pk" }, | ||||
/* | /* | ||||
* Rights that allow to use bindat(2) and connectat(2) syscalls on a | * Rights that allow to use bindat(2) and connectat(2) syscalls on a | ||||
* directory descriptor. | * directory descriptor. | ||||
*/ | */ | ||||
{ CAP_BINDAT, "ba" }, | { CAP_BINDAT, "ba" }, | ||||
{ CAP_CONNECTAT, "ca" }, | { CAP_CONNECTAT, "ca" }, | ||||
▲ Show 20 Lines • Show All 374 Lines • Show Last 20 Lines |