/openbsd/sys/ddb/ |
H A D | db_usrreq.c | 57 if (securelevel > 0) in ddb_sysctl() 66 if (securelevel > 0) in ddb_sysctl() 78 if (securelevel < 1 || in ddb_sysctl() 89 if (securelevel > 0) in ddb_sysctl()
|
/openbsd/sys/dev/gpio/ |
H A D | gpio.c | 315 if (securelevel < 1) in gpio_ioctl() 338 securelevel > 0) in gpio_ioctl() 364 securelevel > 0) in gpio_ioctl() 397 securelevel > 0) in gpio_ioctl() 409 if (securelevel > 0) in gpio_ioctl() 429 if (securelevel > 0) in gpio_ioctl() 445 if (securelevel > 0) in gpio_ioctl() 493 if (securelevel > 0) in gpio_ioctl()
|
/openbsd/sys/arch/amd64/amd64/ |
H A D | sys_machdep.c | 62 if (!allowaperture && securelevel > 0) in amd64_iopl() 65 if (securelevel > 0) in amd64_iopl()
|
H A D | mem.c | 88 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
|
/openbsd/sys/arch/i386/i386/ |
H A D | sys_machdep.c | 68 if (!allowaperture && securelevel > 0) in i386_iopl() 71 if (securelevel > 0) in i386_iopl()
|
H A D | mem.c | 82 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
|
/openbsd/regress/sys/ffs/ |
H A D | fstest.c | 465 int securelevel; in main() local 521 len = sizeof(securelevel); in main() 522 if (sysctl(mib, 2, &securelevel, &len, NULL, 0) == -1) { in main() 526 if (securelevel == 0 || securelevel == -1) in main()
|
/openbsd/share/man/man7/ |
H A D | Makefile | 10 script.7 securelevel.7 tbl.7 utf8.7
|
/openbsd/sys/arch/m88k/m88k/ |
H A D | mem.c | 68 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
|
/openbsd/etc/ |
H A D | rc | 374 if (($(sysctl -n kern.securelevel) == 0)); then 598 [[ -f /etc/rc.securelevel ]] && sh /etc/rc.securelevel 600 # rc.securelevel did not specifically set -1 or 2, so select the default: 1. 601 (($(sysctl -n kern.securelevel) == 0)) && sysctl kern.securelevel=1
|
/openbsd/sys/kern/ |
H A D | spec_vnops.c | 127 if (securelevel >= 2 && cdevsw[maj].d_type == D_DISK) in spec_open() 135 if (securelevel >= 1) { in spec_open() 161 if (securelevel >= 2 && ap->a_cred != FSCRED && in spec_open()
|
H A D | sys_process.c | 406 if ((tr->ps_pid == 1) && (securelevel > -1)) { in ptrace_ctrl() 865 if ((tr->ps_pid == 1) && (securelevel > -1)) in process_checkioperm()
|
/openbsd/sys/arch/mips64/mips64/ |
H A D | mem.c | 81 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
|
/openbsd/sys/arch/sparc64/sparc64/ |
H A D | mem.c | 72 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
|
/openbsd/sys/arch/arm64/arm64/ |
H A D | mem.c | 111 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
|
/openbsd/sys/arch/powerpc64/powerpc64/ |
H A D | mem.c | 72 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
|
/openbsd/sys/arch/riscv64/riscv64/ |
H A D | mem.c | 107 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
|
/openbsd/sys/arch/sh/sh/ |
H A D | mem.c | 111 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
|
/openbsd/sys/arch/alpha/alpha/ |
H A D | mem.c | 80 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
|
/openbsd/sys/arch/arm/arm/ |
H A D | mem.c | 107 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
|
H A D | arm32_machdep.c | 322 if (securelevel > 0) in cpu_sysctl()
|
/openbsd/usr.sbin/ntpd/ |
H A D | ntpd.c | 110 int constraints, securelevel; in auto_preconditions() local 113 if (sysctl(mib, 2, &securelevel, &sz, NULL, 0) == -1) in auto_preconditions() 117 conf->trusted_sensors) && securelevel == 0; in auto_preconditions()
|
/openbsd/sys/arch/macppc/macppc/ |
H A D | mem.c | 200 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
|
/openbsd/sys/dev/efi/ |
H A D | efi.c | 254 if (securelevel > 0) { in efiioc_var_set()
|
/openbsd/sys/arch/hppa/hppa/ |
H A D | mem.c | 310 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
|