Searched refs:sysctl (Results 1 - 25 of 1323) sorted by relevance

1234567891011>>

/netbsd-current/sys/modules/examples/sysctl/
H A DMakefile7 KMOD= sysctl
8 SRCS= sysctl.c
/netbsd-current/etc/rc.d/
H A Dsysctl3 # $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 Dsecurelevel22 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 Dveriexec24 /sbin/sysctl -w kern.veriexec.strict=$veriexec_strict
25 /sbin/sysctl -w kern.veriexec.verbose=$veriexec_verbose
/netbsd-current/sys/compat/common/
H A Dcompat_sysv_mod.h35 #include <sys/sysctl.h>
/netbsd-current/sbin/mount_portal/examples/
H A Dsysctlfs.sh.sh3 ## 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 Dsockstat_hostops.c35 #include <sys/sysctl.h>
40 .op_sysctl = sysctl,
/netbsd-current/sbin/sysctl/
H A Dsysctl_hostops.c35 #include <sys/sysctl.h>
40 .op_sysctl = sysctl,
H A DMakefile7 RUMPPRG=sysctl
8 MAN= sysctl.8
10 SRCS= sysctl.c
/netbsd-current/tests/fs/
H A Dh_funcs.subr47 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 Dzone.c34 #include <sys/sysctl.h>
/netbsd-current/sys/secmodel/extensions/
H A Dextensions_impl.h34 #include <sys/sysctl.h>
/netbsd-current/lib/libc/compat-43/
H A Dsethostid.c43 #include <sys/sysctl.h>
54 if (sysctl(mib, 2, NULL, NULL, &value, sizeof(value)) == -1)
H A Dgethostid.c44 #include <sys/sysctl.h>
55 if (sysctl(mib, 2, &value, &size, NULL, (size_t)0) == -1)
/netbsd-current/lib/libutil/
H A Dgetbyteorder.c38 #include <sys/sysctl.h>
50 if (sysctl(mib, 2, &byteorder, &varlen, NULL, (size_t)0) < 0)
H A Dgetmaxpartitions.c38 #include <sys/sysctl.h>
50 if (sysctl(mib, 2, &maxpart, &varlen, NULL, (size_t)0) < 0)
H A Dgetrawpartition.c38 #include <sys/sysctl.h>
50 if (sysctl(mib, 2, &rawpart, &varlen, NULL, (size_t)0) < 0)
/netbsd-current/usr.bin/pagesize/
H A Dpagesize.sh42 exec sysctl -n hw.pagesize
/netbsd-current/etc/powerd/scripts/
H A Dsleep_button13 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 Dt_vnode_leak.sh39 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 Dfreq_adj.in10 #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 Dexec_prot_support.c37 #include <sys/sysctl.h>
/netbsd-current/tests/sbin/sysctl/
H A DMakefile5 TESTSDIR= ${TESTSBASE}/sbin/sysctl
/netbsd-current/lib/libc/gen/
H A Dgetpagesize.c43 #include <sys/sysctl.h>
63 if (sysctl(mib, 2, &pagsz, &size, NULL, 0) == -1)
H A Dsetdomainname.c43 #include <sys/sysctl.h>
62 if (sysctl(mib, 2, NULL, NULL, name, namelen) == -1)

Completed in 302 milliseconds

1234567891011>>