Home
last modified time | relevance | path

Searched refs:securelevel (Results 1 – 25 of 46) sorted by relevance

12

/openbsd/sys/ddb/
H A Ddb_usrreq.c57 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 Dgpio.c315 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 Dsys_machdep.c62 if (!allowaperture && securelevel > 0) in amd64_iopl()
65 if (securelevel > 0) in amd64_iopl()
H A Dmem.c88 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
/openbsd/sys/arch/i386/i386/
H A Dsys_machdep.c68 if (!allowaperture && securelevel > 0) in i386_iopl()
71 if (securelevel > 0) in i386_iopl()
H A Dmem.c82 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
/openbsd/regress/sys/ffs/
H A Dfstest.c465 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 DMakefile10 script.7 securelevel.7 tbl.7 utf8.7
/openbsd/sys/arch/m88k/m88k/
H A Dmem.c68 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
/openbsd/etc/
H A Drc374 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 Dspec_vnops.c127 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 Dsys_process.c406 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 Dmem.c81 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
/openbsd/sys/arch/sparc64/sparc64/
H A Dmem.c72 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
/openbsd/sys/arch/arm64/arm64/
H A Dmem.c111 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
/openbsd/sys/arch/powerpc64/powerpc64/
H A Dmem.c72 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
/openbsd/sys/arch/riscv64/riscv64/
H A Dmem.c107 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
/openbsd/sys/arch/sh/sh/
H A Dmem.c111 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
/openbsd/sys/arch/alpha/alpha/
H A Dmem.c80 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
/openbsd/sys/arch/arm/arm/
H A Dmem.c107 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
H A Darm32_machdep.c322 if (securelevel > 0) in cpu_sysctl()
/openbsd/usr.sbin/ntpd/
H A Dntpd.c110 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 Dmem.c200 if (atomic_load_int(&securelevel) <= 0 || in mmopen()
/openbsd/sys/dev/efi/
H A Defi.c254 if (securelevel > 0) { in efiioc_var_set()
/openbsd/sys/arch/hppa/hppa/
H A Dmem.c310 if (atomic_load_int(&securelevel) <= 0 || in mmopen()

12