|
NAMEsecurelevel_gt , securelevel_ge
—
test active securelevel
SYNOPSIS#include <sys/types.h>
#include <sys/proc.h>
int
int
DESCRIPTIONThese functions test the active security level against the given level. If the calling credential cr was imprisoned by the jail(2) system call, and has a different security level set than the host environment, the security level with the highest value is used.The The RETURN VALUESThese functions returnEPERM if condition evaluated to
true, and 0 otherwise.
SEE ALSOsecurelevel(7)
Visit the GSP FreeBSD Man Page Interface. |