Searched refs:sysctl (Results 76 - 100 of 2117) sorted by relevance

1234567891011>>

/freebsd-12-stable/libexec/rc/rc.d/
H A Dkldxref23 MODULE_PATHS=`sysctl -n kern.module_path`
H A Dldconfig43 case `sysctl -n hw.machine_arch` in
65 case `sysctl -n hw.machine_arch` in
88 case `sysctl -n hw.machine_arch` in
/freebsd-12-stable/release/picobsd/tinyware/sps/
H A Dsps.c30 * Small replacement for ps(1) - uses only sysctl(3) to retrieve info
37 #include <sys/sysctl.h>
55 if (sysctl(mib, 3, NULL, &len, NULL, 0) != 0) {
56 perror("sysctl sizing");
60 if (sysctl(mib, 3, t, &len, NULL, 0) != 0) {
61 perror("sysctl info");
72 if (sysctl(mib, 4, buf, &plen, NULL, 0) != 0) {
73 perror("sysctl cmd info");
/freebsd-12-stable/sys/arm/freescale/imx/
H A Dimx_machdep.h35 #include <sys/sysctl.h>
/freebsd-12-stable/tools/tools/mfi/
H A Drunmegacli.sh32 linuxver=`sysctl -n compat.linux.osrelease | cut -d . -f 1,2`
34 sysctl compat.linux.osrelease=$osrelease
/freebsd-12-stable/contrib/llvm-project/lldb/source/Host/freebsd/
H A DHostInfoFreeBSD.cpp13 #include <sys/sysctl.h>
39 if (::sysctl(mib, 2, &osrev, &osrev_len, NULL, 0) == 0) {
69 if (sysctl(exe_path_mib, 4, exe_path, &exe_path_size, NULL, 0) == 0)
/freebsd-12-stable/contrib/netbsd-tests/net/mpls/
H A Dt_mpls_fw64.sh72 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
73 atf_check -s exit:0 rump.sysctl -q -w net.inet6.ip6.forwarding=0
87 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
88 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
89 atf_check -s exit:0 rump.sysctl -q -w net.inet6.ip6.forwarding=0
104 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
105 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
106 atf_check -s exit:0 rump.sysctl -q -w net.inet6.ip6.forwarding=0
107 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0
122 atf_check -s exit:0 rump.sysctl
[all...]
H A Dt_mpls_fw.sh75 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
76 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0
89 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
90 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
91 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0
104 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
105 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
106 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0
119 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
120 atf_check -s exit:0 rump.sysctl
[all...]
H A Dt_mpls_fw6.sh76 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
77 atf_check -s exit:0 rump.sysctl -q -w net.inet6.ip6.forwarding=0
91 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
92 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
93 atf_check -s exit:0 rump.sysctl -q -w net.inet6.ip6.forwarding=0
108 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
109 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
110 atf_check -s exit:0 rump.sysctl -q -w net.inet6.ip6.forwarding=0
125 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
126 atf_check -s exit:0 rump.sysctl
[all...]
H A Dt_rfc4182.sh77 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
78 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0
91 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
92 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
93 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0
106 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
107 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
108 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0
121 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
122 atf_check -s exit:0 rump.sysctl
[all...]
H A Dt_ldp_regen.sh82 export RUMPHIJACK=path=/rump,socket=all,sysctl=yes
91 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0
105 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
106 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
122 atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
123 atf_check -s exit:0 rump.sysctl -q -w net.mpls.forwarding=1
124 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0
138 atf_check -s exit:0 rump.sysctl -q -w net.inet.ip.forwarding=0
166 if sysctl machdep.cpu_brand 2>/dev/null | grep QEMU >/dev/null 2>&1
/freebsd-12-stable/tests/sys/geom/class/multipath/
H A Dfailloop.sh39 sysctl -n kern.geom.notaste > kern.geom.notaste.txt
50 sysctl kern.geom.notaste=1
69 sysctl kern.geom.notaste=`cat kern.geom.notaste.txt`
/freebsd-12-stable/tests/sys/mac/portacl/
H A Dnobody_test.sh15 sysctl security.mac.portacl.suser_exempt=1 >/dev/null
16 sysctl net.inet.ip.portrange.reservedhigh=78 >/dev/null
28 sysctl security.mac.portacl.suser_exempt=0 >/dev/null
42 sysctl security.mac.portacl.port_high=7778 >/dev/null
56 sysctl net.inet.ip.portrange.reservedhigh=76 >/dev/null
57 sysctl security.mac.portacl.port_high=7776 >/dev/null
/freebsd-12-stable/lib/libutil/
H A Dkinfo_getallproc.c36 #include <sys/sysctl.h>
80 if (sysctl(mib, nitems(mib), NULL, &len, NULL, 0) < 0)
87 if (sysctl(mib, nitems(mib), kipp, &len, NULL, 0) < 0)
H A Dkinfo_getfile.c5 #include <sys/sysctl.h>
29 error = sysctl(mib, nitems(mib), NULL, &len, NULL, 0);
36 error = sysctl(mib, nitems(mib), buf, &len, NULL, 0);
H A Dkinfo_getvmmap.c5 #include <sys/sysctl.h>
29 error = sysctl(mib, nitems(mib), NULL, &len, NULL, 0);
36 error = sysctl(mib, nitems(mib), buf, &len, NULL, 0);
/freebsd-12-stable/usr.bin/systat/
H A Dfetch.c41 #include <sys/sysctl.h>
69 error("sysctl(%s...) failed: %s", name,
73 error("sysctl(%s...) expected %zu, got %zu", name, len, nlen);
78 * Read sysctl data with variable size. Try some times (with increasing
118 if (sysctl(mib, mibsz, NULL, &sz, NULL, 0) == -1)
125 if (sysctl(mib, mibsz, rv, &sz, NULL, 0) == -1) {
/freebsd-12-stable/tools/tools/sysdoc/
H A Dsysdoc.sh17 # of changes to sysctl.h. Eventually this utility should replace
36 cat <<EOF>> ./sysctl.5
47 .Xr sysctl 8
52 .Xr sysctl.conf 5 ,
55 .Xr sysctl 8 ,
92 xargs -n 1 /bin/sh ./sysctl.sh \
102 /bin/cat ./markup.file >> sysctl.5
108 # tunables both loader and sysctl(8) oids.
110 cat <<EOF>> ./sysctl.5
141 .Nm sysctl
[all...]
/freebsd-12-stable/libexec/rc/
H A Drc62 dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null`
80 if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then
82 if [ `/sbin/sysctl -n security.jail.vnet` -ne 1 ]; then
/freebsd-12-stable/release/tools/
H A Dvagrant.conf63 echo 'debug.trace_on_panic=1' >> ${DESTDIR}/etc/sysctl.conf
64 echo 'debug.debugger_on_panic=0' >> ${DESTDIR}/etc/sysctl.conf
65 echo 'kern.panic_reboot_wait_time=0' >> ${DESTDIR}/etc/sysctl.conf
/freebsd-12-stable/contrib/llvm-project/lldb/source/Host/netbsd/
H A DHostInfoNetBSD.cpp16 #include <sys/sysctl.h>
51 if (::sysctl(mib, 2, &osrev, &osrev_len, NULL, 0) == 0) {
86 if (sysctl(name, __arraycount(name), path, &len, NULL, 0) != -1) {
/freebsd-12-stable/contrib/netbsd-tests/sbin/sysctl/
H A Dt_perm.sh44 sysctl $1 | cut -d= -f1 > $file
47 atf_fail "sysctl failed"
58 -x sysctl -w $node=$deadbeef
67 if [ ! -z $(sysctl $1 | grep -e $deadbeef -e $deadbeef_signed) ]; then
77 atf_set "descr" "Test writing to 'ddb' sysctl node as an user"
93 atf_set "descr" "Test writing to 'hw' sysctl node as an user"
110 "sysctl node as an user (PR kern/44946)"
126 atf_set "descr" "Test writing to 'machdep' sysctl node as an user"
142 atf_set "descr" "Test writing to 'net' sysctl node as an user"
158 atf_set "descr" "Test writing to 'security' sysctl nod
[all...]
/freebsd-12-stable/contrib/netbsd-tests/rump/rumpkern/
H A Dt_threads.c32 #include <sys/sysctl.h>
/freebsd-12-stable/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_misc.c36 #include <sys/sysctl.h>
/freebsd-12-stable/lib/libc/arm/gen/
H A Darm_initfini.c47 #include <sys/sysctl.h>
75 /* sysctl failed, assume no vfp */

Completed in 144 milliseconds

1234567891011>>