Changeset View
Changeset View
Standalone View
Standalone View
stable/12/sys/sys/capsicum.h
Show First 20 Lines • Show All 240 Lines • ▼ Show 20 Lines | |||||
/* Strange and powerful rights that should not be given lightly. */ | /* Strange and powerful rights that should not be given lightly. */ | ||||
/* Allows for ioctl(2). */ | /* Allows for ioctl(2). */ | ||||
#define CAP_IOCTL CAPRIGHT(1, 0x0000000000000080ULL) | #define CAP_IOCTL CAPRIGHT(1, 0x0000000000000080ULL) | ||||
#define CAP_TTYHOOK CAPRIGHT(1, 0x0000000000000100ULL) | #define CAP_TTYHOOK CAPRIGHT(1, 0x0000000000000100ULL) | ||||
/* Process management via process descriptors. */ | /* Process management via process descriptors. */ | ||||
/* Allows for pdgetpid(2). */ | /* Allows for pdgetpid(2). */ | ||||
#define CAP_PDGETPID CAPRIGHT(1, 0x0000000000000200ULL) | #define CAP_PDGETPID CAPRIGHT(1, 0x0000000000000200ULL) | ||||
/* Allows for pdwait4(2). */ | /* | ||||
* Allows for pdwait4(2). | |||||
* | |||||
* XXX: this constant was imported unused, but is targeted to be implemented | |||||
* in the future (bug 235871). | |||||
*/ | |||||
#define CAP_PDWAIT CAPRIGHT(1, 0x0000000000000400ULL) | #define CAP_PDWAIT CAPRIGHT(1, 0x0000000000000400ULL) | ||||
/* Allows for pdkill(2). */ | /* Allows for pdkill(2). */ | ||||
#define CAP_PDKILL CAPRIGHT(1, 0x0000000000000800ULL) | #define CAP_PDKILL CAPRIGHT(1, 0x0000000000000800ULL) | ||||
/* Extended attributes. */ | /* Extended attributes. */ | ||||
/* Allows for extattr_delete_fd(2). */ | /* Allows for extattr_delete_fd(2). */ | ||||
#define CAP_EXTATTR_DELETE CAPRIGHT(1, 0x0000000000001000ULL) | #define CAP_EXTATTR_DELETE CAPRIGHT(1, 0x0000000000001000ULL) | ||||
/* Allows for extattr_get_fd(2). */ | /* Allows for extattr_get_fd(2). */ | ||||
▲ Show 20 Lines • Show All 282 Lines • Show Last 20 Lines |