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

1234567891011>>

/freebsd-11-stable/tools/regression/redzone9/
H A Dtest.sh5 sysctl debug.redzone.malloc_underflow=1
6 sysctl debug.redzone.malloc_overflow=1
7 sysctl debug.redzone.realloc_smaller_underflow=1
8 sysctl debug.redzone.realloc_smaller_overflow=1
9 sysctl debug.redzone.realloc_bigger_underflow=1
10 sysctl debug.redzone.realloc_bigger_overflow=1
/freebsd-11-stable/share/examples/witness/
H A Dlockgraphs.sh10 sysctl debug.witness.graphs | awk '
/freebsd-11-stable/sbin/sysctl/
H A DMakefile5 PROG= sysctl
7 MAN= sysctl.8
/freebsd-11-stable/tools/tools/mtxstat/
H A Dmtxratio.sh2 sysctl debug.mutex.prof.stats | awk '$1 ~ /[0-9]+/ { if ($3 != 0) { hld_prc = $5 / $3 * 100; lck_prc = $6 / $3 * 100 } else { hld_prc = 0; lck_prc = 0 } print $1 " " $2 " " $3 " " $4 " " $5 " " hld_prc " " $6 " " lck_prc " " substr($0, index($0, $7)); next } { print }'
/freebsd-11-stable/lib/libopenbsd/sys/
H A Dsysctl.h32 #include_next <sys/sysctl.h>
/freebsd-11-stable/tools/tools/sysdoc/
H A DMakefile3 sysctl.5:
6 MAN= sysctl.5
8 CLEANFILES= tunables.TODO markup.file sysctl.5 _names
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_sysctl.c41 #include <sys/sysctl.h>
78 LIN_SDT_PROBE_DEFINE2(sysctl, handle_string, entry, "struct l___sysctl_args *",
80 LIN_SDT_PROBE_DEFINE1(sysctl, handle_string, copyout_error, "int");
81 LIN_SDT_PROBE_DEFINE1(sysctl, handle_string, return, "int");
82 LIN_SDT_PROBE_DEFINE2(sysctl, linux_sysctl, entry, "struct l___sysctl_args *",
84 LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, copyin_error, "int");
85 LIN_SDT_PROBE_DEFINE2(sysctl, linux_sysctl, wrong_length, "int", "int");
86 LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, unsupported_sysctl, "char *");
87 LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, return, "int");
95 LIN_SDT_PROBE2(sysctl, handle_strin
[all...]
/freebsd-11-stable/tools/regression/tmpfs/
H A Dt_vnode_leak43 oldvnodes=$(sysctl kern.maxvnodes | awk '{ print $2; }')
44 sysctl -w kern.maxvnodes=2000 >/dev/null || die
53 sysctl -w kern.maxvnodes=${oldvnodes} >/dev/null || die
/freebsd-11-stable/contrib/netbsd-tests/fs/
H A Dh_funcs.subr56 atf_require_prog sysctl
57 autoload=$(sysctl -n kern.module.autoload)
60 set -- $(sysctl -n vfs.generic.fstypes)
/freebsd-11-stable/etc/rc.d/
H A Dnfsd25 # Load the modules now, so that the vfs.nfsd sysctl
31 sysctl vfs.nfsd.nfs_privport=1 > /dev/null
33 sysctl vfs.nfsd.nfs_privport=0 > /dev/null
42 sysctl vfs.nfsd.server_max_nfsvers=4 > /dev/null
45 sysctl vfs.nfsd.server_max_nfsvers=3 > /dev/null
H A Dpowerd21 sysctl dev.cpu.0.freq=`sysctl -n dev.cpu.0.freq_levels |
H A Dsysctl6 # PROVIDE: sysctl
10 name="sysctl"
11 desc="Set sysctl variables from /etc/sysctl.conf and /etc/sysctl.conf.local"
12 command="/sbin/sysctl"
30 for _f in /etc/sysctl.conf /etc/sysctl.conf.local; do
/freebsd-11-stable/contrib/netbsd-tests/fs/tmpfs/
H A Dt_vnode_leak.sh41 sysctl -n kern.maxvnodes > oldvnodes
44 sysctl kern.maxvnodes | awk '{ print $3; }' >oldvnodes
48 atf_check -s eq:0 -o ignore -e empty sysctl -w kern.maxvnodes=2000
60 sysctl -w kern.maxvnodes=${oldvnodes}
/freebsd-11-stable/lib/libc/compat-43/
H A Dgethostid.c37 #include <sys/sysctl.h>
51 if (sysctl(mib, 2, &value, &size, NULL, 0) == -1)
H A Dsethostid.c37 #include <sys/sysctl.h>
48 sysctl(mib, 2, NULL, NULL, &hostid, sizeof hostid);
/freebsd-11-stable/lib/libc/gen/
H A Dgetbootfile.c37 #include <sys/sysctl.h>
50 if (sysctl(mib, 2, name, &size, NULL, 0) == -1)
H A Dgetdomainname.c37 #include <sys/sysctl.h>
50 if (sysctl(mib, 2, name, &size, NULL, 0) == -1)
H A Dsetdomainname.c37 #include <sys/sysctl.h>
48 if (sysctl(mib, 2, NULL, NULL, (void *)name, namelen) == -1)
H A Dsethostname.c37 #include <sys/sysctl.h>
48 if (sysctl(mib, 2, NULL, NULL, (void *)name, namelen) == -1)
H A Dsysctlnametomib.c31 #include <sys/sysctl.h>
52 error = sysctl(oid, 2, mibp, sizep, name, strlen(name));
/freebsd-11-stable/usr.bin/pagesize/
H A Dpagesize.sh36 exec sysctl -n hw.pagesize
/freebsd-11-stable/usr.sbin/zzz/
H A Dzzz.sh19 if sysctl $ACPI_SUSPEND_STATE >/dev/null 2>&1; then
21 SUSPEND_STATE=`sysctl -n $ACPI_SUSPEND_STATE `
24 SUPPORTED_STATES=`sysctl -n $ACPI_SUPPORTED_STATES `
36 elif sysctl $APM_SUSPEND_DELAY >/dev/null 2>&1; then
/freebsd-11-stable/contrib/hyperv/tools/scripts/
H A Dhyperv_vfattach7 sysctl -n hw.hn.vf_transparent > /dev/null 2>&1
13 vf_transparent=`sysctl -n hw.hn.vf_transparent`
44 sysctl -n hw.hn.vflist > /dev/null 2>&1
50 vf_list=`sysctl -n hw.hn.vflist`
/freebsd-11-stable/usr.sbin/bsdinstall/scripts/
H A Dhardening32 echo -n > $BSDINSTALL_TMPETC/sysctl.conf.hardening
53 echo security.bsd.see_other_uids=0 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
56 echo security.bsd.see_other_gids=0 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
59 echo security.bsd.unprivileged_read_msgbuf=0 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
62 echo security.bsd.unprivileged_proc_debug=0 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
65 echo kern.randompid=1 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
68 echo security.bsd.stack_guard_page=1 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
/freebsd-11-stable/tests/sys/opencrypto/
H A Druntests.sh61 oldcdas=$(sysctl -e kern.cryptodevallowsoft)
62 sysctl kern.cryptodevallowsoft=1
66 sysctl "$oldcdas"

Completed in 193 milliseconds

1234567891011>>