/netbsd-current/sys/modules/examples/sysctl/ |
H A D | Makefile | 7 KMOD= sysctl 8 SRCS= sysctl.c
|
/netbsd-current/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
|
/netbsd-current/sys/compat/common/ |
H A D | compat_sysv_mod.h | 35 #include <sys/sysctl.h>
|
/netbsd-current/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/^ = //"
|
/netbsd-current/usr.bin/sockstat/ |
H A D | sockstat_hostops.c | 35 #include <sys/sysctl.h> 40 .op_sysctl = sysctl,
|
/netbsd-current/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
|
/netbsd-current/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)
|
/netbsd-current/external/cddl/osnet/lib/libzfs/ |
H A D | zone.c | 34 #include <sys/sysctl.h>
|
/netbsd-current/sys/secmodel/extensions/ |
H A D | extensions_impl.h | 34 #include <sys/sysctl.h>
|
/netbsd-current/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)
|
/netbsd-current/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)
|
/netbsd-current/usr.bin/pagesize/ |
H A D | pagesize.sh | 42 exec sysctl -n hw.pagesize
|
/netbsd-current/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
|
/netbsd-current/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}
|
/netbsd-current/external/bsd/ntp/dist/scripts/deprecated/ |
H A D | freq_adj.in | 10 #chop($ncpu = `sysctl -n hw.ncpu`); 16 chop($timer = `sysctl -n kern.timecounter.hardware 2> /dev/null`); 76 $sysctl = "machdep.".$timer."_freq"; 78 chop($mach_freq = `sysctl -n $sysctl`); 80 print "$sysctl is <$mach_freq>\n"; 85 print "$sysctl $mach_freq -> $n_mach_freq\n"; 87 print "i8254: ".`sysctl -w $sysctl=$n_mach_freq`;
|
/netbsd-current/tests/lib/libc/arch/powerpc/ |
H A D | exec_prot_support.c | 37 #include <sys/sysctl.h>
|
/netbsd-current/tests/sbin/sysctl/ |
H A D | Makefile | 5 TESTSDIR= ${TESTSBASE}/sbin/sysctl
|
/netbsd-current/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)
|