HomeSort by: relevance | last modified time | path
    Searched refs:sysctl (Results 1 - 25 of 1002) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/modules/examples/sysctl/
Makefile 7 KMOD= sysctl
8 SRCS= sysctl.c
  /src/etc/rc.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
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
veriexec 24 /sbin/sysctl -w kern.veriexec.strict=$veriexec_strict
25 /sbin/sysctl -w kern.veriexec.verbose=$veriexec_verbose
  /src/sys/compat/common/
compat_sysv_mod.h 35 #include <sys/sysctl.h>
  /src/sbin/mount_portal/examples/
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/^ = //"
  /src/sbin/sysctl/
sysctl_hostops.c 35 #include <sys/sysctl.h>
40 .op_sysctl = sysctl,
Makefile 7 RUMPPRG=sysctl
8 MAN= sysctl.8
10 SRCS= sysctl.c
  /src/usr.bin/sockstat/
sockstat_hostops.c 35 #include <sys/sysctl.h>
40 .op_sysctl = sysctl,
  /src/tests/fs/
h_funcs.subr 47 atf_require_prog sysctl
48 autoload=$(sysctl -n kern.module.autoload)
51 set -- $(sysctl -n vfs.generic.fstypes)
  /src/sys/secmodel/extensions/
extensions_impl.h 34 #include <sys/sysctl.h>
  /src/etc/powerd/scripts/
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
  /src/lib/libc/compat-43/
sethostid.c 43 #include <sys/sysctl.h>
54 if (sysctl(mib, 2, NULL, NULL, &value, sizeof(value)) == -1)
gethostid.c 44 #include <sys/sysctl.h>
55 if (sysctl(mib, 2, &value, &size, NULL, (size_t)0) == -1)
  /src/lib/libutil/
getbyteorder.c 38 #include <sys/sysctl.h>
50 if (sysctl(mib, 2, &byteorder, &varlen, NULL, (size_t)0) < 0)
getmaxpartitions.c 38 #include <sys/sysctl.h>
50 if (sysctl(mib, 2, &maxpart, &varlen, NULL, (size_t)0) < 0)
getrawpartition.c 38 #include <sys/sysctl.h>
50 if (sysctl(mib, 2, &rawpart, &varlen, NULL, (size_t)0) < 0)
  /src/usr.bin/pagesize/
pagesize.sh 42 exec sysctl -n hw.pagesize
  /src/tests/fs/tmpfs/
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}
  /src/tests/lib/libc/arch/powerpc/
exec_prot_support.c 37 #include <sys/sysctl.h>
  /src/tests/sbin/sysctl/
Makefile 5 TESTSDIR= ${TESTSBASE}/sbin/sysctl
  /src/lib/libc/gen/
getpagesize.c 43 #include <sys/sysctl.h>
63 if (sysctl(mib, 2, &pagsz, &size, NULL, 0) == -1)
setdomainname.c 43 #include <sys/sysctl.h>
62 if (sysctl(mib, 2, NULL, NULL, name, namelen) == -1)
sethostname.c 43 #include <sys/sysctl.h>
62 if (sysctl(mib, 2, NULL, NULL, name, namelen) == -1)
  /src/usr.sbin/arp/
arp_hostops.c 37 #include <sys/sysctl.h>
54 .op_sysctl = sysctl,

Completed in 22 milliseconds

1 2 3 4 5 6 7 8 91011>>