#include <sys/cdefs.h>
#include "opt_capsicum.h"
#include "opt_ktrace.h"
#include <sys/param.h>
#include <sys/capsicum.h>
#include <sys/file.h>
#include <sys/filedesc.h>
#include <sys/kernel.h>
#include <sys/limits.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/proc.h>
#include <sys/syscallsubr.h>
#include <sys/sysproto.h>
#include <sys/sysctl.h>
#include <sys/systm.h>
#include <sys/ucred.h>
#include <sys/uio.h>
#include <sys/ktrace.h>
#include <security/audit/audit.h>
#include <vm/uma.h>
#include <vm/vm.h>
Go to the source code of this file.
|
| __FBSDID ("$FreeBSD$") |
|
| SYSCTL_BOOL (_kern, OID_AUTO, trap_enotcap, CTLFLAG_RWTUN, &trap_enotcap, 0, "Deliver SIGTRAP on ENOTCAPABLE") |
|
int | sys_cap_enter (struct thread *td, struct cap_enter_args *uap) |
|
int | sys_cap_getmode (struct thread *td, struct cap_getmode_args *uap) |
|
int | sys_cap_rights_limit (struct thread *td, struct cap_rights_limit_args *uap) |
|
int | sys___cap_rights_get (struct thread *td, struct __cap_rights_get_args *uap) |
|
int | sys_cap_ioctls_limit (struct thread *td, struct cap_ioctls_limit_args *uap) |
|
int | sys_cap_ioctls_get (struct thread *td, struct cap_ioctls_get_args *uap) |
|
int | sys_cap_fcntls_limit (struct thread *td, struct cap_fcntls_limit_args *uap) |
|
int | sys_cap_fcntls_get (struct thread *td, struct cap_fcntls_get_args *uap) |
|
◆ __FBSDID()
◆ sys___cap_rights_get()
int sys___cap_rights_get |
( |
struct thread * |
td, |
|
|
struct __cap_rights_get_args * |
uap |
|
) |
| |
◆ sys_cap_enter()
int sys_cap_enter |
( |
struct thread * |
td, |
|
|
struct cap_enter_args * |
uap |
|
) |
| |
◆ sys_cap_fcntls_get()
int sys_cap_fcntls_get |
( |
struct thread * |
td, |
|
|
struct cap_fcntls_get_args * |
uap |
|
) |
| |
◆ sys_cap_fcntls_limit()
int sys_cap_fcntls_limit |
( |
struct thread * |
td, |
|
|
struct cap_fcntls_limit_args * |
uap |
|
) |
| |
◆ sys_cap_getmode()
int sys_cap_getmode |
( |
struct thread * |
td, |
|
|
struct cap_getmode_args * |
uap |
|
) |
| |
◆ sys_cap_ioctls_get()
int sys_cap_ioctls_get |
( |
struct thread * |
td, |
|
|
struct cap_ioctls_get_args * |
uap |
|
) |
| |
◆ sys_cap_ioctls_limit()
int sys_cap_ioctls_limit |
( |
struct thread * |
td, |
|
|
struct cap_ioctls_limit_args * |
uap |
|
) |
| |
◆ sys_cap_rights_limit()
int sys_cap_rights_limit |
( |
struct thread * |
td, |
|
|
struct cap_rights_limit_args * |
uap |
|
) |
| |
◆ SYSCTL_BOOL()
SYSCTL_BOOL |
( |
_kern |
, |
|
|
OID_AUTO |
, |
|
|
trap_enotcap |
, |
|
|
CTLFLAG_RWTUN |
, |
|
|
& |
trap_enotcap, |
|
|
0 |
, |
|
|
"Deliver SIGTRAP on ENOTCAPABLE" |
|
|
) |
| |
◆ trap_enotcap
bool __read_frequently trap_enotcap |