Main index | Section 9 | Options |
#include <sys/param.h>
#include <sys/proc.h>
kern.securelevel | |
Debugging of the init process is not allowed if this variable is 1 or greater. | |
security.bsd.unprivileged_proc_debug | |
Must be set to a non-zero value to allow unprivileged processes access to the kernel's debug facilities. | |
[EACCESS] | |
The MAC subsystem denied debuggability. | |
[EAGAIN] | |
Process p is in the process of being exec()'ed. | |
[EPERM] | |
Thread td lacks super-user credentials and process p is executing a set-user-ID or set-group-ID executable. | |
[EPERM] | |
Thread td lacks super-user credentials and process p, Ns, 's group set is not a subset of td, Ns, 's effective group set. | |
[EPERM] | |
Thread td lacks super-user credentials and process p, Ns, 's user IDs do not match thread td, Ns, 's effective user ID. | |
[EPERM] | |
Process p denotes the initial process initproc() and the sysctl(8) variable kern.securelevel is greater than zero. | |
[ESRCH] | |
Process p is not visible to thread td as determined by cr_seeotheruids(9) or cr_seeothergids(9). | |
[ESRCH] | |
Thread td has been jailed and process p does not belong to the same jail as td. | |
[ESRCH] | |
The MAC subsystem denied debuggability. | |
P_CANDEBUG (9) | November 19, 2006 |
Main index | Section 9 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.