Searched refs:sysctl (Results 1 - 25 of 1005) sorted by relevance
1234567891011>>
| /src/sys/modules/examples/sysctl/ |
| H A D | Makefile | 7 KMOD= sysctl 8 SRCS= sysctl.c
|
| /src/etc/rc.d/ |
| H A D | sysctl | 3 # $NetBSD: sysctl,v 1.14 2021/06/13 10:14:40 mlelstv Exp $ 6 # PROVIDE: sysctl 12 name="sysctl" 18 if [ -r /etc/sysctl.conf ]; then 19 echo "Setting sysctl variables:" 20 sysctl -f /etc/sysctl.conf
|
| H A D | securelevel | 22 osecurelevel=$(sysctl -n kern.securelevel 2>&-) 24 echo "Can't set securelevel. (kern.securelevel sysctl not present.)" 34 sysctl -w kern.securelevel=$securelevel 39 sysctl -w kern.securelevel=1
|
| H A D | veriexec | 24 /sbin/sysctl -w kern.veriexec.strict=$veriexec_strict 25 /sbin/sysctl -w kern.veriexec.verbose=$veriexec_verbose
|
| /src/sys/compat/common/ |
| H A D | compat_sysv_mod.h | 35 #include <sys/sysctl.h>
|
| /src/sbin/mount_portal/examples/ |
| H A D | sysctlfs.sh.sh | 3 ## Fast hack at a sysctl filesystem. The path can be either in 9 ## Now invoke sysctl, and post-process the output to make it 14 sysctl $path | sed -e "s/$path//;s/^\.//;s/^ = //"
|
| /src/sbin/sysctl/ |
| H A D | sysctl_hostops.c | 35 #include <sys/sysctl.h> 40 .op_sysctl = sysctl,
|
| H A D | Makefile | 7 RUMPPRG=sysctl 8 MAN= sysctl.8 10 SRCS= sysctl.c
|
| /src/usr.bin/sockstat/ |
| H A D | sockstat_hostops.c | 35 #include <sys/sysctl.h> 40 .op_sysctl = sysctl,
|
| /src/tests/fs/ |
| H A D | h_funcs.subr | 47 atf_require_prog sysctl 48 autoload=$(sysctl -n kern.module.autoload) 51 set -- $(sysctl -n vfs.generic.fstypes)
|
| /src/sys/secmodel/extensions/ |
| H A D | extensions_impl.h | 34 #include <sys/sysctl.h>
|
| /src/lib/libc/compat-43/ |
| H A D | sethostid.c | 43 #include <sys/sysctl.h> 54 if (sysctl(mib, 2, NULL, NULL, &value, sizeof(value)) == -1)
|
| H A D | gethostid.c | 44 #include <sys/sysctl.h> 55 if (sysctl(mib, 2, &value, &size, NULL, (size_t)0) == -1)
|
| /src/lib/libutil/ |
| H A D | getbyteorder.c | 38 #include <sys/sysctl.h> 50 if (sysctl(mib, 2, &byteorder, &varlen, NULL, (size_t)0) < 0)
|
| H A D | getmaxpartitions.c | 38 #include <sys/sysctl.h> 50 if (sysctl(mib, 2, &maxpart, &varlen, NULL, (size_t)0) < 0)
|
| H A D | getrawpartition.c | 38 #include <sys/sysctl.h> 50 if (sysctl(mib, 2, &rawpart, &varlen, NULL, (size_t)0) < 0)
|
| /src/etc/powerd/scripts/ |
| H A D | sleep_button | 13 if /sbin/sysctl -q hw.acpi.sleep.state; then 14 /sbin/sysctl -w hw.acpi.sleep.state=3 15 elif /sbin/sysctl -q machdep.xen.suspend; then 16 /sbin/sysctl -w machdep.xen.suspend=1
|
| /src/usr.bin/pagesize/ |
| H A D | pagesize.sh | 42 exec sysctl -n hw.pagesize
|
| /src/tests/fs/tmpfs/ |
| H A D | t_vnode_leak.sh | 39 sysctl -n kern.maxvnodes >oldvnodes 40 atf_check -s exit:0 -o ignore -e empty sysctl -w kern.maxvnodes=2000 52 sysctl -w kern.maxvnodes=${oldvnodes}
|
| /src/tests/lib/libc/arch/powerpc/ |
| H A D | exec_prot_support.c | 37 #include <sys/sysctl.h>
|
| /src/tests/sbin/sysctl/ |
| H A D | Makefile | 5 TESTSDIR= ${TESTSBASE}/sbin/sysctl
|
| /src/lib/libc/gen/ |
| H A D | getpagesize.c | 43 #include <sys/sysctl.h> 63 if (sysctl(mib, 2, &pagsz, &size, NULL, 0) == -1)
|
| H A D | setdomainname.c | 43 #include <sys/sysctl.h> 62 if (sysctl(mib, 2, NULL, NULL, name, namelen) == -1)
|
| H A D | sethostname.c | 43 #include <sys/sysctl.h> 62 if (sysctl(mib, 2, NULL, NULL, name, namelen) == -1)
|
| /src/usr.sbin/arp/ |
| H A D | arp_hostops.c | 37 #include <sys/sysctl.h> 54 .op_sysctl = sysctl,
|
Completed in 27 milliseconds
1234567891011>>