Searched refs:sysctl (Results 26 - 50 of 2117) sorted by relevance

1234567891011>>

/freebsd-12-stable/sys/dev/ena/
H A Dena_sysctl.h38 #include <sys/sysctl.h>
/freebsd-12-stable/libexec/rc/rc.d/
H A Dnfsd27 # Load the modules now, so that the vfs.nfsd sysctl
33 sysctl vfs.nfsd.nfs_privport=1 > /dev/null
35 sysctl vfs.nfsd.nfs_privport=0 > /dev/null
43 sysctl vfs.nfsd.server_max_nfsvers=4 > /dev/null
46 sysctl vfs.nfsd.server_max_nfsvers=3 > /dev/null
H A Dmountd24 # Load the modules now, so that the vfs.nfsd sysctl
32 sysctl vfs.nfsd.server_min_nfsvers=4 > /dev/null
33 sysctl vfs.nfsd.server_max_nfsvers=4 > /dev/null
38 sysctl vfs.nfsd.server_max_nfsvers=3 > /dev/null
H A Dnfsclient28 if ! sysctl vfs.nfs.access_cache_timeout=${nfs_access_cache} >/dev/null; then
33 if ! sysctl vfs.nfs.bufpackets=${nfs_bufpackets} > /dev/null; then
/freebsd-12-stable/contrib/gdb/gdb/
H A Di386obsd-nat.c25 #include <sys/sysctl.h>
35 /* OpenBSD provides a vm.psstrings sysctl that we can use to locate
53 if (sysctl (mib, 2, &_ps, &len, NULL, 0) == 0)
/freebsd-12-stable/lib/libc/gen/
H A Dgethostname.c37 #include <sys/sysctl.h>
49 if (sysctl(mib, 2, name, &namelen, NULL, 0) == -1) {
H A Dgetosreldate.c37 #include <sys/sysctl.h>
58 if (sysctl(mib, 2, &value, &size, NULL, 0) == -1)
H A Dsysctlnametomib.c33 #include <sys/sysctl.h>
54 error = sysctl(oid, 2, mibp, sizep, name, strlen(name));
H A D__getosreldate.c33 #include <sys/sysctl.h>
66 error = sysctl(oid, 2, &osrel, &len, NULL, 0);
H A Dgetpagesize.c37 #include <sys/sysctl.h>
71 if (sysctl(mib, nitems(mib), &value, &size, NULL, 0) == -1)
/freebsd-12-stable/lib/libopenbsd/
H A Dgetdtablecount.c31 #include <sys/sysctl.h>
54 error = sysctl(mib, 4, &nfds, &len, NULL, 0);
/freebsd-12-stable/tests/sys/mac/portacl/
H A Dmisc.sh4 sysctl security.mac.portacl >/dev/null 2>&1
66 sysctl security.mac.portacl.rules= >/dev/null
84 sysctl security.mac.portacl.rules=${idtype}:${idstr}:${proto}:${port} >/dev/null
95 sysctl security.mac.portacl.rules= >/dev/null
98 reserved_high=$(sysctl -n net.inet.ip.portrange.reservedhigh)
99 suser_exempt=$(sysctl -n security.mac.portacl.suser_exempt)
100 port_high=$(sysctl -n security.mac.portacl.port_high)
103 sysctl -n net.inet.ip.portrange.reservedhigh=${reserved_high} >/dev/null
104 sysctl -n security.mac.portacl.suser_exempt=${suser_exempt} >/dev/null
105 sysctl
[all...]
/freebsd-12-stable/usr.sbin/bsdinstall/scripts/
H A Dhardening32 echo -n > $BSDINSTALL_TMPETC/sysctl.conf.hardening
56 echo security.bsd.see_other_uids=0 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
59 echo security.bsd.see_other_gids=0 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
62 echo security.bsd.see_jail_proc=0 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
65 echo security.bsd.unprivileged_read_msgbuf=0 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
68 echo security.bsd.unprivileged_proc_debug=0 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
71 echo kern.randompid=1 >> $BSDINSTALL_TMPETC/sysctl.conf.hardening
H A Dbootconfig30 platform=`sysctl -n hw.platform`
H A Dconfig35 cat $BSDINSTALL_CHROOT/etc/sysctl.conf $BSDINSTALL_TMPETC/sysctl.conf.* >> $BSDINSTALL_TMPETC/sysctl.conf
36 rm $BSDINSTALL_TMPETC/sysctl.conf.*
/freebsd-12-stable/lib/libgeom/
H A Dgeom_getxml.c35 #include <sys/sysctl.h>
65 if (sysctl(mib, sizep, NULL, &l, NULL, 0) != 0)
73 if (sysctl(mib, sizep, p, &l, NULL, 0) == 0)
/freebsd-12-stable/tests/sys/opencrypto/
H A Druntests.sh52 sysctl "$oldcdas" 2>/dev/null
74 if ! oldcdas=$(sysctl -e $cdas_sysctl); then
75 echo "1..0 # SKIP: could not resolve sysctl: $cdas_sysctl"
78 if ! sysctl $cdas_sysctl=1; then
79 echo "1..0 # SKIP: could not enable /dev/crypto access via $cdas_sysctl sysctl."
/freebsd-12-stable/lib/libutil/
H A Dkinfo_getproc.c35 #include <sys/sysctl.h>
54 if (sysctl(mib, nitems(mib), NULL, &len, NULL, 0) < 0)
61 if (sysctl(mib, nitems(mib), kipp, &len, NULL, 0) < 0)
/freebsd-12-stable/tools/tools/ath/
H A Dathctrl.sh40 sysctl dev.ath.$ATHN.slottime=$slottime
41 sysctl dev.ath.$ATHN.acktimeout=$timeout
42 sysctl dev.ath.$ATHN.ctstimeout=$timeout
/freebsd-12-stable/release/tools/
H A Dopenstack.conf46 echo 'debug.trace_on_panic=1' >> ${DESTDIR}/etc/sysctl.conf
47 echo 'debug.debugger_on_panic=0' >> ${DESTDIR}/etc/sysctl.conf
48 echo 'kern.panic_reboot_wait_time=0' >> ${DESTDIR}/etc/sysctl.conf
/freebsd-12-stable/contrib/netbsd-tests/fs/tmpfs/
H A Dt_statvfs.sh43 pagesize=$(sysctl -n hw.pagesize)
46 pagesize=$(sysctl hw.pagesize | cut -d ' ' -f 3)
/freebsd-12-stable/contrib/unbound/compat/
H A Dgetentropy_freebsd.c24 #include <sys/sysctl.h>
44 if (sysctl(mib, 2, buf, &len, NULL, 0) == -1)
/freebsd-12-stable/tools/regression/security/cap_test/
H A Dcap_test_sysctl.c40 #include <sys/sysctl.h>
64 CHECK(sysctl(oid, 2, &i, &len, NULL, 0) == 0);
/freebsd-12-stable/release/picobsd/mfs_tree/etc/
H A Drc.network62 sysctl net.inet.tcp.rfc1323=0 >/dev/null 2>&1
63 sysctl net.inet.tcp.rfc1644=0 >/dev/null 2>&1
67 sysctl net.inet.ip.forwarding=1 >/dev/null 2>&1
71 sysctl net.link.ether.inet.proxyall=1 2>&1
/freebsd-12-stable/usr.sbin/pc-sysinstall/backend-query/
H A Dsys-mem.sh35 realmem=$(expr $(sysctl -n hw.realmem) / 1048576)

Completed in 226 milliseconds

1234567891011>>