The NetBSD Project

CVS log for src/sys/sys/sysctl.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / sys

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.239 / (download) - annotate - [select for diffs], Sat Jan 20 13:15:46 2024 UTC (2 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.238: +1 -3 lines
Diff to previous 1.238 (colored)

Make __learn_tree always visible. It starts with __ anyway.

Revision 1.238 / (download) - annotate - [select for diffs], Fri Jan 19 18:39:59 2024 UTC (2 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.237: +4 -1 lines
Diff to previous 1.237 (colored)

Add missing decls.

Revision 1.237 / (download) - annotate - [select for diffs], Fri Apr 7 03:01:21 2023 UTC (12 months, 1 week ago) by simonb
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.236: +79 -79 lines
Diff to previous 1.236 (colored)

#define<tab>

Revision 1.236 / (download) - annotate - [select for diffs], Thu Sep 16 22:47:29 2021 UTC (2 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.235: +2 -2 lines
Diff to previous 1.235 (colored)

fix pasto

Revision 1.235 / (download) - annotate - [select for diffs], Tue Sep 14 17:10:46 2021 UTC (2 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.234: +29 -1 lines
Diff to previous 1.234 (colored)

Provide some snprintb(3) formats.

Revision 1.233.2.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:44 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.233: +3 -1 lines
Diff to previous 1.233 (colored) next main 1.234 (colored)

Sync with HEAD.

Revision 1.234 / (download) - annotate - [select for diffs], Sat Jul 24 13:28:14 2021 UTC (2 years, 8 months ago) by simonb
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.233: +3 -1 lines
Diff to previous 1.233 (colored)

Expose KERN_BUFSLOP in <sys/sysctl.h>.

Revision 1.231.4.2 / (download) - annotate - [select for diffs], Sat Apr 17 17:26:22 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.231.4.1: +2 -2 lines
Diff to previous 1.231.4.1 (colored) next main 1.232 (colored)

Sync with HEAD.

Revision 1.233 / (download) - annotate - [select for diffs], Tue Apr 13 01:10:24 2021 UTC (3 years ago) by mrg
Branch: MAIN
CVS Tags: thorpej-cfargs-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.232: +2 -2 lines
Diff to previous 1.232 (colored)

in struct evcnt_sysctl, change ev_strings[0] to ev_strings[].

GCC 10 does not like accesses to zero length arrays.

Revision 1.231.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:29:03 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.231: +23 -1 lines
Diff to previous 1.231 (colored) next main 1.232 (colored)

Sync with HEAD.

Revision 1.231.4.1 / (download) - annotate - [select for diffs], Sat Apr 3 21:45:01 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.231: +23 -1 lines
Diff to previous 1.231 (colored)

Sync with HEAD.

Revision 1.232 / (download) - annotate - [select for diffs], Thu Apr 1 06:22:10 2021 UTC (3 years ago) by simonb
Branch: MAIN
CVS Tags: thorpej-futex-base
Changes since 1.231: +23 -1 lines
Diff to previous 1.231 (colored)

Add support for kernel hash statistics generation for vmstat -h/-H.  As
well as not needing any kmem grovelling, also much faster as it doesn't
need a kmem read for hash bucket and for each item in the hash bucket
chains.

Revision 1.231 / (download) - annotate - [select for diffs], Sat Oct 17 09:06:15 2020 UTC (3 years, 6 months ago) by mlelstv
Branch: MAIN
Branch point for: thorpej-futex, thorpej-cfargs
Changes since 1.230: +2 -1 lines
Diff to previous 1.230 (colored)

Setting a socket buffer size stops autoscaling. Add a sysctl to
prevent this behaviour. The default is not changed.

Revision 1.226.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:57 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.226: +4 -200 lines
Diff to previous 1.226 (colored) next main 1.227 (colored)

Sync with HEAD

Revision 1.230 / (download) - annotate - [select for diffs], Fri May 31 23:01:39 2019 UTC (4 years, 10 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.229: +2 -1 lines
Diff to previous 1.229 (colored)

Implement KERN_PROC_CWD in sysctl(3)

Retrieve specified process current working directory.

Fixes PR kern/50620 by Thomas Klausner.

Revision 1.225.2.3 / (download) - annotate - [select for diffs], Wed Dec 26 14:02:07 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.225.2.2: +3 -3 lines
Diff to previous 1.225.2.2 (colored) to branchpoint 1.225 (colored) next main 1.226 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.229 / (download) - annotate - [select for diffs], Wed Dec 5 18:16:51 2018 UTC (5 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, isaki-audio2-base, isaki-audio2
Changes since 1.228: +3 -3 lines
Diff to previous 1.228 (colored)

As discussed in tech-kern:

- make sysctl kern.expose_address tri-state:
	0: no access
	1: access to processes with open /dev/kmem
	2: access to everyone
  defaults:
	0: KASLR kernels
	1: non-KASLR kernels

- improve efficiency by calling get_expose_address() per sysctl, not per
  process.

- don't expose addresses for linux procfs

- welcome to 8.99.27, changes to fill_*proc ABI

Revision 1.225.2.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:47 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.225.2.1: +1 -198 lines
Diff to previous 1.225.2.1 (colored) to branchpoint 1.225 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.228 / (download) - annotate - [select for diffs], Wed Aug 22 01:05:24 2018 UTC (5 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.227: +1 -196 lines
Diff to previous 1.227 (colored)

- Cleanup for dynamic sysctl:
  - Remove unused *_NAMES macros for sysctl.
  - Remove unused *_MAXID for sysctls.
- Move CTL_MACHDEP sysctl definitions for m68k into m68k/include/cpu.h and
  use them on all m68k machines.

Revision 1.227 / (download) - annotate - [select for diffs], Sat Aug 11 11:33:10 2018 UTC (5 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.226: +1 -3 lines
Diff to previous 1.226 (colored)

Remove unused symbols from <sys/sysctl.h>

Drop: P_PAXMPROTECT and P_PAXNOMPROTECT.

These values are unused and the proper way to check PaX MPROTECT is to use
CTL_PROC.pid().PROC_PID_PAXFLAGS and check CTL_PROC_PAXFLAGS_MPROTECT.

Proposed on current-users@.
OK from <christos>

Revision 1.225.2.1 / (download) - annotate - [select for diffs], Mon May 21 04:36:17 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.225: +4 -3 lines
Diff to previous 1.225 (colored)

Sync with HEAD

Revision 1.226 / (download) - annotate - [select for diffs], Wed May 16 20:21:39 2018 UTC (5 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi
Changes since 1.225: +4 -3 lines
Diff to previous 1.225 (colored)

Avoid complicated arithmetic involving NULL.

Revision 1.223.6.1 / (download) - annotate - [select for diffs], Thu Apr 12 13:42:49 2018 UTC (6 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.223: +1 -2 lines
Diff to previous 1.223 (colored) next main 1.224 (colored)

Pull up following revision(s) (requested by kamil in ticket #713):

	sys/modules/procfs/Makefile: revision 1.4
	sys/miscfs/procfs/procfs_vfsops.c: revision 1.98
	bin/ps/ps.1: revision 1.108
	sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.32
	sys/miscfs/procfs/procfs_vnops.c: revision 1.198
	sys/kern/sys_ptrace_common.c: revision 1.23
	sys/kern/sys_ptrace_common.c: revision 1.24
	sbin/mount_procfs/mount_procfs.8: revision 1.36
	sys/kern/sys_ptrace_common.c: revision 1.25
	sys/kern/sys_ptrace.c: revision 1.5
	sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.30
	sys/sys/proc.h: revision 1.342
	sys/kern/sys_ptrace_common.c: revision 1.26
	sys/miscfs/procfs/procfs_ctl.c: file removal
	sys/kern/sys_ptrace_common.c: revision 1.27
	sys/miscfs/procfs/procfs_subr.c: revision 1.109
	sys/kern/sys_ptrace_common.c: revision 1.28
	sys/secmodel/extensions/secmodel_extensions.c: revision 1.8
	sys/kern/sys_ptrace_common.c: revision 1.29
	sys/sys/ptrace.h: revision 1.62
	sys/compat/netbsd32/netbsd32_signal.c: revision 1.45
	share/man/man9/kauth.9: revision 1.109
	sys/miscfs/procfs/files.procfs: revision 1.12
	sys/compat/netbsd32/netbsd32.h: revision 1.115
	sys/miscfs/procfs/procfs.h: revision 1.72
	sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.5
	sys/kern/kern_sig.c: revision 1.337
	sys/sys/kauth.h: revision 1.75
	sys/sys/sysctl.h: revision 1.224
	sys/kern/sys_ptrace_common.c: revision 1.30
	sys/kern/sys_ptrace_common.c: revision 1.31
	sys/kern/sys_ptrace_common.c: revision 1.32
	sys/kern/sys_ptrace_common.c: revision 1.33
	sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.20
	sys/kern/sys_ptrace_common.c: revision 1.34
	sys/kern/sys_ptrace_common.c: revision 1.36
	sys/kern/kern_proc.c: revision 1.207
	sys/kern/kern_exit.c: revision 1.269
	doc/TODO.ptrace: revision 1.29

Make {s,g}et{db,fp,}regs work again for PK_32 processes
XXX: pullup-8

add disgusting magic to handle compat_netbsd32 as a module.

use process_*reg32 instead of struct *reg32.

Remove the filesystem tracing feature

This is a legacy interface from 4.4BSD, and it was
introduced to overcome shortcomings of ptrace(2) at that time, which are
no longer relevant (performance). Today /proc/#/ctl offers a narrow
subset of ptrace(2) commands and is not applicable for modern
applications use beyond simplistic tracing scenarios.

This removal will simplify kernel internals. Users will still be able to
use all the other /proc files.

This change won't affect other procfs files neither Linux compat
features within mount_procfs(8). /proc/#/ctl isn't available on Linux.

Remove:
 - /proc/#/ctl from mount_procfs(8)
 - P_FSTRACE note from the documentation of ps(1)
 - /proc/#/ctl and filesystem tracing documentation from mount_procfs(8)
 - KAUTH_REQ_PROCESS_PROCFS_CTL documentation from kauth(9)
 - source code file miscfs/procfs/procfs_ctl.c
 - PFSctl and procfs_doctl() from sys/miscfs/procfs/procfs.h
 - KAUTH_REQ_PROCESS_PROCFS_CTL from sys/sys/kauth.h
 - PSL_FSTRACE (0x00010000) from sys/sys/proc.h
 - P_FSTRACE (0x00010000) from sys/sys/sysctl.h

Reduce code complexity after removal of this functionality.

Update TODO.ptrace accordingly: remove two entries about /proc tracing.

Do not keep legacy notes as comments in the headers about removed

PSL_FSTRACE / P_FSTRACE, as this interface had little number of users
(close or equal to zero).
Proposed on tech-kern@.

All filesystem tracing utility users are encouraged to switch to ptrace(2).

Sponsored by <The NetBSD Foundation>

untangle the mess:
- factor out common code
- break each ptrace subcall to its own sub-function
  .. more to come ...
- reduce ifdef ugliness by moving it up top.
- factor out PT_IO and make PT_{READ,WRITE}_{I,D} use it
- factor out PT_DUMPCORE
- factor out sendsig code
  .. more to come ...

handle siginfo requests for ptrace32

ptrace: Partially undo PT_{READ,WRITE}_{I,D} and unbreak these commands

The refactored code did not work and was generating EFAULT.

Sponsored by <The NetBSD Foundation>

Merge the code back; the problem was that since we are reading/writing
to a kernel address for PT_{READ,WRITE}_{I,D} we need the kernel vmspace.
provide separate read and write functions to accomodate register functions
that need a size argument.

don't ignore error from copyout_piod

Use the proper process (the tracee) to get information about lwps and
registers and the tracer for vmspace.

Add new sysctl(3) entry: security.models.extensions.user_set_dbregs

Model this new sysctl(3) entry after "user_set_cpu_affinity" in the same
level of sysctl(3) switches.

Allow to read unconditionally Debug Registers (no change here). This is
convenient as even if a user of a debugger does not use hardware assisted
watchpoints/breakpoints, a debugger can still prompt these values to store
in an internal cache with context of registers. Reading them should have
no security concerns.

Add a paranoid MI switch that prohibits by default setting these registers
by a regular user (non-superuser). Make this switch disabled by default.
There are enough reserved bits out there to allow using them
unconditionally on hardened hosts.

Features shipped with Debug Registers are optional features in debuggers.
There is no reduction in elementary functionality.

Reviewed by <christos>

Sponsored by <The NetBSD Foundation>

Revision 1.201.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:21 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.201.2.3: +142 -32 lines
Diff to previous 1.201.2.3 (colored) next main 1.202 (colored)

update from HEAD

Revision 1.225 / (download) - annotate - [select for diffs], Fri Sep 8 10:53:55 2017 UTC (6 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.224: +2 -2 lines
Diff to previous 1.224 (colored)

Remove duplicate words in comment.

Revision 1.214.2.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:16 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.214.2.3: +17 -4 lines
Diff to previous 1.214.2.3 (colored) to branchpoint 1.214 (colored) next main 1.215 (colored)

Sync with HEAD

Revision 1.224 / (download) - annotate - [select for diffs], Mon Aug 28 00:46:07 2017 UTC (6 years, 7 months ago) by kamil
Branch: MAIN
Changes since 1.223: +1 -2 lines
Diff to previous 1.223 (colored)

Remove the filesystem tracing feature

This is a legacy interface from 4.4BSD, and it was
introduced to overcome shortcomings of ptrace(2) at that time, which are
no longer relevant (performance). Today /proc/#/ctl offers a narrow
subset of ptrace(2) commands and is not applicable for modern
applications use beyond simplistic tracing scenarios.

This removal will simplify kernel internals. Users will still be able to
use all the other /proc files.

This change won't affect other procfs files neither Linux compat
features within mount_procfs(8). /proc/#/ctl isn't available on Linux.

Remove:
 - /proc/#/ctl from mount_procfs(8)
 - P_FSTRACE note from the documentation of ps(1)
 - /proc/#/ctl and filesystem tracing documentation from mount_procfs(8)
 - KAUTH_REQ_PROCESS_PROCFS_CTL documentation from kauth(9)
 - source code file miscfs/procfs/procfs_ctl.c
 - PFSctl and procfs_doctl() from sys/miscfs/procfs/procfs.h
 - KAUTH_REQ_PROCESS_PROCFS_CTL from sys/sys/kauth.h
 - PSL_FSTRACE (0x00010000) from sys/sys/proc.h
 - P_FSTRACE (0x00010000) from sys/sys/sysctl.h

Reduce code complexity after removal of this functionality.

Update TODO.ptrace accordingly: remove two entries about /proc tracing.

Do not keep legacy notes as comments in the headers about removed
PSL_FSTRACE / P_FSTRACE, as this interface had little number of users
(close or equal to zero).

Proposed on tech-kern@.

All filesystem tracing utility users are encouraged to switch to ptrace(2).

Sponsored by <The NetBSD Foundation>

Revision 1.221.2.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:31 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.221: +17 -4 lines
Diff to previous 1.221 (colored) next main 1.222 (colored)

Sync with HEAD

Revision 1.221.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:08 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.221: +17 -4 lines
Diff to previous 1.221 (colored) next main 1.222 (colored)

Sync with HEAD

Revision 1.223 / (download) - annotate - [select for diffs], Sat Mar 25 05:55:36 2017 UTC (7 years ago) by pgoyette
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: netbsd-8
Changes since 1.222: +4 -3 lines
Diff to previous 1.222 (colored)

Update a comment.  No functional change.

Revision 1.222 / (download) - annotate - [select for diffs], Fri Mar 24 21:43:21 2017 UTC (7 years ago) by pgoyette
Branch: MAIN
Changes since 1.221: +14 -2 lines
Diff to previous 1.221 (colored)

Add new sysctl variable proc.curproc.paxflags so a process can determine
which flags were set for it.  Define some values for the variable:

	CTL_PROC_PAXFLAGS_{ASLR,MPROTECT,GUARD}

Revision 1.221 / (download) - annotate - [select for diffs], Mon Apr 4 23:31:46 2016 UTC (8 years ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.220: +1 -2 lines
Diff to previous 1.220 (colored)

remove sys/wait.h just added, put it in the file that needed it (kvm_proc.c)

Revision 1.220 / (download) - annotate - [select for diffs], Mon Apr 4 23:07:06 2016 UTC (8 years ago) by christos
Branch: MAIN
Changes since 1.219: +2 -1 lines
Diff to previous 1.219 (colored)

no need to pass the coredump flag to exit1() since it is set and known
in one place.

Revision 1.214.2.3 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:39 2016 UTC (8 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.214.2.2: +19 -6 lines
Diff to previous 1.214.2.2 (colored) to branchpoint 1.214 (colored)

Sync with HEAD

Revision 1.219 / (download) - annotate - [select for diffs], Mon Jan 18 23:27:49 2016 UTC (8 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20160319
Changes since 1.218: +3 -3 lines
Diff to previous 1.218 (colored)

Include <sys/kernel.h> only if it's needed.
(fix build failure)

Revision 1.218 / (download) - annotate - [select for diffs], Mon Jan 18 16:46:08 2016 UTC (8 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.217: +19 -6 lines
Diff to previous 1.217 (colored)

Fix dlopen()/dlclose()+RUMP_USE_CTOR to not leave dangling pointers around.

Revision 1.214.2.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:10:18 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.214.2.1: +61 -1 lines
Diff to previous 1.214.2.1 (colored) to branchpoint 1.214 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.217 / (download) - annotate - [select for diffs], Sat Sep 26 20:28:37 2015 UTC (8 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.216: +2 -4 lines
Diff to previous 1.216 (colored)

move CTL_VM constants to uvm_param.h, leaving a comment behind.

Revision 1.216 / (download) - annotate - [select for diffs], Thu Sep 24 14:32:15 2015 UTC (8 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.215: +63 -1 lines
Diff to previous 1.215 (colored)

Add KERN_PROC_PATHNAME and VM_PROC_MAP used by libproc.

Revision 1.214.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:32 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.214: +28 -5 lines
Diff to previous 1.214 (colored)

Sync with HEAD

Revision 1.215 / (download) - annotate - [select for diffs], Sun Jan 4 22:11:40 2015 UTC (9 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.214: +28 -5 lines
Diff to previous 1.214 (colored)

Extend RUMP_USE_CTOR to SYSCTL_SETUP(), similar to what is already
done in MODULE().  The sysctl tree nodes from all components which
were loaded when rump_init() was called now get created -- mimics the
monolithic kernel.

No change to the monolithic kernel.

Revision 1.214 / (download) - annotate - [select for diffs], Fri Sep 5 05:42:50 2014 UTC (9 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.213: +26 -24 lines
Diff to previous 1.213 (colored)

Don't nest structure definitions.

Revision 1.201.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:44 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.201.2.2: +18 -22 lines
Diff to previous 1.201.2.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.211.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:55 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.211: +4 -1 lines
Diff to previous 1.211 (colored) next main 1.212 (colored)

Rebase.

Revision 1.213 / (download) - annotate - [select for diffs], Sat Jul 12 09:57:25 2014 UTC (9 years, 9 months ago) by njoly
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.212: +2 -1 lines
Diff to previous 1.212 (colored)

Allow fill_kproc2() to be used by more than sysctl.

Revision 1.212 / (download) - annotate - [select for diffs], Fri Jun 13 15:45:05 2014 UTC (9 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.211: +3 -1 lines
Diff to previous 1.211 (colored)

Add asysctl(3) and asysctlbyname(3) wrappers for the common idiom of
fetching dynamically sized data via sysctl.

Revision 1.197.2.5 / (download) - annotate - [select for diffs], Thu May 22 11:41:18 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.197.2.4: +15 -20 lines
Diff to previous 1.197.2.4 (colored) to branchpoint 1.197 (colored) next main 1.198 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.207.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:46:21 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.207.2.1: +8 -15 lines
Diff to previous 1.207.2.1 (colored) to branchpoint 1.207 (colored) next main 1.208 (colored)

sync with head

Revision 1.211 / (download) - annotate - [select for diffs], Tue Feb 25 18:30:13 2014 UTC (10 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.210: +2 -1 lines
Diff to previous 1.210 (colored)

Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.

Revision 1.210 / (download) - annotate - [select for diffs], Fri Jan 17 02:12:48 2014 UTC (10 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.209: +1 -9 lines
Diff to previous 1.209 (colored)

Put cprng sysctls into subr_cprng.c.  Also, make sysctl_prng static
in subr_cprng and get rid of SYSCTL_PRIVATE namespace leak macro.

Fixes ping(8) when run against a standalone rump kernel due to appearance
of the kern.urandom sysctl node (in case someone was wondering ...)

Revision 1.209 / (download) - annotate - [select for diffs], Fri Sep 20 12:20:01 2013 UTC (10 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.208: +7 -7 lines
Diff to previous 1.208 (colored)

Fix typos in comments.

Revision 1.207.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:37 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.207: +8 -8 lines
Diff to previous 1.207 (colored)

sync with head

Revision 1.208 / (download) - annotate - [select for diffs], Thu Aug 1 01:16:34 2013 UTC (10 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.207: +8 -8 lines
Diff to previous 1.207 (colored)

Put parens arund the negative numbers so 0 CTL_XX will cause a syntax error.

Revision 1.201.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:13 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.201.2.1: +19 -8 lines
Diff to previous 1.201.2.1 (colored)

resync with head

Revision 1.207 / (download) - annotate - [select for diffs], Sat Feb 2 14:02:09 2013 UTC (11 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.206: +4 -2 lines
Diff to previous 1.206 (colored)

Make the inclusion of <sys/cprng.h> a private matter for sysctl.  No reason
to expose the rest of the kernel to it.

Revision 1.197.2.4 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:30 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.197.2.3: +15 -6 lines
Diff to previous 1.197.2.3 (colored) to branchpoint 1.197 (colored)

sync with head

Revision 1.197.2.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:54 2013 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.197.2.2: +2 -2 lines
Diff to previous 1.197.2.2 (colored) to branchpoint 1.197 (colored)

sync with (a bit old) head

Revision 1.206 / (download) - annotate - [select for diffs], Thu Jan 3 13:19:32 2013 UTC (11 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.205: +7 -3 lines
Diff to previous 1.205 (colored)

Avoid exposing some headers to userland

Revision 1.205 / (download) - annotate - [select for diffs], Wed Jan 2 19:29:40 2013 UTC (11 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.204: +9 -4 lines
Diff to previous 1.204 (colored)

Only define 'struct kinfo_proc' if _KERNEL or _KMEMUSER is defined.
All 'normal' programs should be using kinfo_proc2 instead.

Revision 1.204 / (download) - annotate - [select for diffs], Sat Dec 1 11:41:50 2012 UTC (11 years, 4 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.203: +2 -2 lines
Diff to previous 1.203 (colored)

Fix misspelling:  accommodate is a long enough word to have room for two 'c's
and two 'm's.

Revision 1.201.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:52 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.201: +1 -1 lines
Diff to previous 1.201 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.197.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:57 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.197.2.1: +30 -1 lines
Diff to previous 1.197.2.1 (colored) to branchpoint 1.197 (colored)

sync with head

Revision 1.203 / (download) - annotate - [select for diffs], Sun Oct 14 20:56:55 2012 UTC (11 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.202: +1 -3 lines
Diff to previous 1.202 (colored)

remove KERN_USRSTACK

Revision 1.202 / (download) - annotate - [select for diffs], Sat Oct 13 15:35:56 2012 UTC (11 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.201: +4 -2 lines
Diff to previous 1.201 (colored)

add KERN_USRSTACK (this is not dynamically defined for FreeBSD compatibility)

Revision 1.177.4.2 / (download) - annotate - [select for diffs], Wed Aug 22 20:21:26 2012 UTC (11 years, 7 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Changes since 1.177.4.1: +7 -1 lines
Diff to previous 1.177.4.1 (colored) to branchpoint 1.177 (colored) next main 1.178 (colored)

Apply patch, requested by dsl in ticket 1769:
	sys/sys/sysctl.h		patch
define CTLTYPE_LONG, needed for ticket 1770

Revision 1.199.2.1 / (download) - annotate - [select for diffs], Tue Jun 12 17:06:38 2012 UTC (11 years, 10 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.199: +7 -1 lines
Diff to previous 1.199 (colored) next main 1.200 (colored)

Pull up following revision(s) (requested by dsl in ticket #305):
	sys/sys/sysctl.h: patch

Define CTLTYPE_LONG in preparation for more pullups.

Revision 1.201 / (download) - annotate - [select for diffs], Sat Jun 9 02:31:15 2012 UTC (11 years, 10 months ago) by christos
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.200: +3 -1 lines
Diff to previous 1.200 (colored)

Add a new resource to limit the number of lwps per user, RLIMIT_NTHR. There
is a global sysctl kern.maxlwp to control this, which is by default 2048.
The first lwp of each process or kernel threads are not counted against the
limit. To show the current resource usage per user, I added a new sysctl
that dumps the uidinfo structure fields.

Revision 1.200 / (download) - annotate - [select for diffs], Sat Jun 2 21:36:48 2012 UTC (11 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.199: +28 -1 lines
Diff to previous 1.199 (colored)

Add some pre-processor magic to verify that the type of the data item
  passed to sysctl_createv() actually matches the declared type for
  the item itself.
In the places where the caller specifies a function and a structure
  address (typically the 'softc') an explicit (void *) cast is now needed.
Fixes bugs in sys/dev/acpi/asus_acpi.c sys/dev/bluetooth/bcsp.c
  sys/kern/vfs_bio.c sys/miscfs/syncfs/sync_subr.c and setting
  AcpiGbl_EnableAmlDebugObject.
(mostly passing the address of a uint64_t when typed as CTLTYPE_INT).
I've test built quite a few kernels, but there may be some unfixed MD
  fallout. Most likely passing &char[] to char *.
Also add CTLFLAG_UNSIGNED for unsiged decimals - not set yet.

Revision 1.197.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:53 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.197: +8 -1 lines
Diff to previous 1.197 (colored)

sync with head

Revision 1.198.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:52 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.198: +2 -1 lines
Diff to previous 1.198 (colored) next main 1.199 (colored)

merge to -current.

Revision 1.199 / (download) - annotate - [select for diffs], Fri Jan 27 19:48:41 2012 UTC (12 years, 2 months ago) by para
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Branch point for: netbsd-6
Changes since 1.198: +2 -1 lines
Diff to previous 1.198 (colored)

extending vmem(9) to be able to allocated resources for it's own needs.
simplifying uvm_map handling (no special kernel entries anymore no relocking)
make malloc(9) a thin wrapper around kmem(9)
(with private interface for interrupt safety reasons)

releng@ acknowledged

Revision 1.198 / (download) - annotate - [select for diffs], Sat Nov 19 22:51:31 2011 UTC (12 years, 5 months ago) by tls
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.197: +7 -1 lines
Diff to previous 1.197 (colored)

First step of random number subsystem rework described in
<20111022023242.BA26F14A158@mail.netbsd.org>.  This change includes
the following:

	An initial cleanup and minor reorganization of the entropy pool
	code in sys/dev/rnd.c and sys/dev/rndpool.c.  Several bugs are
	fixed.  Some effort is made to accumulate entropy more quickly at
	boot time.

	A generic interface, "rndsink", is added, for stream generators to
	request that they be re-keyed with good quality entropy from the pool
	as soon as it is available.

	The arc4random()/arc4randbytes() implementation in libkern is
	adjusted to use the rndsink interface for rekeying, which helps
	address the problem of low-quality keys at boot time.

	An implementation of the FIPS 140-2 statistical tests for random
	number generator quality is provided (libkern/rngtest.c).  This
	is based on Greg Rose's implementation from Qualcomm.

	A new random stream generator, nist_ctr_drbg, is provided.  It is
	based on an implementation of the NIST SP800-90 CTR_DRBG by
	Henric Jungheim.  This generator users AES in a modified counter
	mode to generate a backtracking-resistant random stream.

	An abstraction layer, "cprng", is provided for in-kernel consumers
	of randomness.  The arc4random/arc4randbytes API is deprecated for
	in-kernel use.  It is replaced by "cprng_strong".  The current
	cprng_fast implementation wraps the existing arc4random
	implementation.  The current cprng_strong implementation wraps the
	new CTR_DRBG implementation.  Both interfaces are rekeyed from
	the entropy pool automatically at intervals justifiable from best
	current cryptographic practice.

	In some quick tests, cprng_fast() is about the same speed as
	the old arc4randbytes(), and cprng_strong() is about 20% faster
	than rnd_extract_data().  Performance is expected to improve.

	The AES code in src/crypto/rijndael is no longer an optional
	kernel component, as it is required by cprng_strong, which is
	not an optional kernel component.

	The entropy pool output is subjected to the rngtest tests at
	startup time; if it fails, the system will reboot.  There is
	approximately a 3/10000 chance of a false positive from these
	tests.  Entropy pool _input_ from hardware random numbers is
	subjected to the rngtest tests at attach time, as well as the
	FIPS continuous-output test, to detect bad or stuck hardware
	RNGs; if any are detected, they are detached, but the system
	continues to run.

	A problem with rndctl(8) is fixed -- datastructures with
	pointers in arrays are no longer passed to userspace (this
	was not a security problem, but rather a major issue for
	compat32).  A new kernel will require a new rndctl.

	The sysctl kern.arandom() and kern.urandom() nodes are hooked
	up to the new generators, but the /dev/*random pseudodevices
	are not, yet.

	Manual pages for the new kernel interfaces are forthcoming.

Revision 1.197 / (download) - annotate - [select for diffs], Fri Oct 21 02:07:07 2011 UTC (12 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.196: +3 -1 lines
Diff to previous 1.196 (colored)

add proc_compare prototype.

Revision 1.196 / (download) - annotate - [select for diffs], Wed Oct 12 23:04:22 2011 UTC (12 years, 6 months ago) by dholland
Branch: MAIN
Changes since 1.195: +2 -1 lines
Diff to previous 1.195 (colored)

As a precaution, add sys/param.h explicitly to some headers that will
no longer get it via sys/ucred.h and don't already include it
explicitly. These should in turn be removed when it can be confirmed
that it's safe to do so. (Because sys/param.h is full of things that
are often tested with #if, it's not in general safe to remove it
without checking, as such tests fail silently if the symbol goes
missing.)

Revision 1.189.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:13 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.189: +38 -14 lines
Diff to previous 1.189 (colored) next main 1.190 (colored)

Sync with HEAD.

Revision 1.188.4.2 / (download) - annotate - [select for diffs], Tue May 31 03:05:12 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.188.4.1: +0 -11 lines
Diff to previous 1.188.4.1 (colored) to branchpoint 1.188 (colored) next main 1.189 (colored)

sync with head

Revision 1.195 / (download) - annotate - [select for diffs], Tue Apr 26 21:27:44 2011 UTC (12 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.194: +1 -6 lines
Diff to previous 1.194 (colored)

Kill CTL_EMUL_NAMES.

Revision 1.194 / (download) - annotate - [select for diffs], Tue Apr 26 16:36:43 2011 UTC (12 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.193: +1 -3 lines
Diff to previous 1.193 (colored)

Remove IRIX emulation

Revision 1.193 / (download) - annotate - [select for diffs], Tue Apr 26 15:51:32 2011 UTC (12 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.192: +1 -5 lines
Diff to previous 1.192 (colored)

Remove Darwin, MACH and Mach-O support.

Revision 1.188.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:26 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.188: +38 -20 lines
Diff to previous 1.188 (colored)

sync with head

Revision 1.189.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:20:05 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.189: +38 -3 lines
Diff to previous 1.189 (colored) next main 1.190 (colored)

Sync with HEAD

Revision 1.192 / (download) - annotate - [select for diffs], Sat Jan 29 17:35:23 2011 UTC (13 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.191: +28 -2 lines
Diff to previous 1.191 (colored)

Add a sysctl to retrieve evcnts from the kernel.  You can tell it to
limit to a specific type and/or all or just evcnts with non-zero counts.

Revision 1.191 / (download) - annotate - [select for diffs], Fri Jan 28 18:44:45 2011 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.190: +9 -1 lines
Diff to previous 1.190 (colored)

Move sysctl routines from init_sysctl.c to kern_descrip.c (for
descriptors) and kern_proc.c (for processes).  This makes them
usable in a rump kernel, in case somebody was wondering.

Revision 1.190 / (download) - annotate - [select for diffs], Sat Jan 22 20:54:44 2011 UTC (13 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.189: +3 -2 lines
Diff to previous 1.189 (colored)

Use the L_ flags instead of the P_ flags for lwps.

Revision 1.189 / (download) - annotate - [select for diffs], Sun Nov 14 05:34:56 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base6, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.188: +1 -18 lines
Diff to previous 1.188 (colored)

According to nxr.netbsd.org nothing uses CTL_NAMES now.

Revision 1.175.6.5 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:43 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.175.6.4: +3 -2 lines
Diff to previous 1.175.6.4 (colored) to branchpoint 1.175 (colored) next main 1.176 (colored)

sync with head

Revision 1.188 / (download) - annotate - [select for diffs], Sat Dec 12 00:24:57 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211
Branch point for: rmind-uvmplock
Changes since 1.187: +2 -2 lines
Diff to previous 1.187 (colored)

Fix comment.

Revision 1.187 / (download) - annotate - [select for diffs], Wed Sep 16 15:23:05 2009 UTC (14 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.186: +2 -1 lines
Diff to previous 1.186 (colored)

Replace a large number of link set based sysctl node creations with
calls from subsystem constructors.  Benefits both future kernel
modules and rump.

no change to sysctl nodes on i386/MONOLITHIC & build tested i386/ALL

Revision 1.175.6.4 / (download) - annotate - [select for diffs], Wed Sep 16 13:38:06 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.175.6.3: +2 -1 lines
Diff to previous 1.175.6.3 (colored) to branchpoint 1.175 (colored)

sync with head

Revision 1.186 / (download) - annotate - [select for diffs], Fri Aug 21 22:51:00 2009 UTC (14 years, 7 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.185: +2 -1 lines
Diff to previous 1.185 (colored)

In sysctl_realloc(), don't make 'i' act as both an child-array
iterator and the length of the old child array, but introduce a
new variable, 'olen', for the latter purpose.

In sysctl_alloc(), name a constant.

Introduce sysctl_log_print(), a handy debug routine.

No functional changes intended.

Revision 1.175.6.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:48:33 2009 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.175.6.2: +2 -2 lines
Diff to previous 1.175.6.2 (colored) to branchpoint 1.175 (colored)

sync with head.

Revision 1.183.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:57 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.183.2.1: +2 -2 lines
Diff to previous 1.183.2.1 (colored) to branchpoint 1.183 (colored) next main 1.184 (colored)

Sync with HEAD.

Revision 1.185 / (download) - annotate - [select for diffs], Wed Jul 22 22:53:41 2009 UTC (14 years, 8 months ago) by alc
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, jymxensuspend-base
Changes since 1.184: +2 -2 lines
Diff to previous 1.184 (colored)

Constify the fourth argument of sysctlbtname(3) (ie. `newp', the pointer to
the new value).

This change sync sysctl(3) and sysctlbtname(3) prototypes.

No objection on <tech-userlevel>

Revision 1.183.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:23:04 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.183: +5 -1 lines
Diff to previous 1.183 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.175.6.2 / (download) - annotate - [select for diffs], Mon May 4 08:14:36 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.175.6.1: +25 -16 lines
Diff to previous 1.175.6.1 (colored) to branchpoint 1.175 (colored)

sync with head.

Revision 1.177.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:53 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.177.2.2: +5 -1 lines
Diff to previous 1.177.2.2 (colored) to branchpoint 1.177 (colored) next main 1.178 (colored)

Sync with HEAD.

Revision 1.177.4.1 / (download) - annotate - [select for diffs], Wed Apr 1 00:25:22 2009 UTC (15 years ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.177: +5 -1 lines
Diff to previous 1.177 (colored)

Pull up following revision(s) (requested by mrg in ticket #622):
	bin/csh/csh.1: revision 1.46
	bin/csh/func.c: revision 1.37
	bin/ps/print.c: revision 1.111
	bin/ps/ps.c: revision 1.74
	bin/sh/miscbltin.c: revision 1.38
	bin/sh/sh.1: revision 1.92 via patch
	external/bsd/top/dist/machine/m_netbsd.c: revision 1.7
	lib/libkvm/kvm_proc.c: revision 1.82
	sys/arch/mips/mips/cpu_exec.c: revision 1.55
	sys/compat/darwin/darwin_exec.c: revision 1.57
	sys/compat/ibcs2/ibcs2_exec.c: revision 1.73
	sys/compat/irix/irix_resource.c: revision 1.15
	sys/compat/linux/arch/amd64/linux_exec_machdep.c: revision 1.16
	sys/compat/linux/arch/i386/linux_exec_machdep.c: revision 1.12
	sys/compat/linux/common/linux_limit.h: revision 1.5
	sys/compat/osf1/osf1_resource.c: revision 1.14
	sys/compat/svr4/svr4_resource.c: revision 1.18
	sys/compat/svr4_32/svr4_32_resource.c: revision 1.17
	sys/kern/exec_subr.c: revision 1.62
	sys/kern/init_sysctl.c: revision 1.160
	sys/kern/kern_exec.c: revision 1.288
	sys/kern/kern_resource.c: revision 1.151
	sys/sys/param.h: patch
	sys/sys/resource.h: revision 1.31
	sys/sys/sysctl.h: revision 1.184
	sys/uvm/uvm_extern.h: revision 1.153
	sys/uvm/uvm_glue.c: revision 1.136
	sys/uvm/uvm_mmap.c: revision 1.128
	usr.bin/systat/ps.c: revision 1.32
- - add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes.  this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.
- - adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.
- - add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)
- - patch sh, and csh to notice RLIMIT_AS.  (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)
- - patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.
- - update irix, svr4, svr4_32, linux and osf1 emulations to support
this information.  (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)
this addresses PR 7897.  it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.
tested on i386 and sparc64, build tested on several other platforms.
thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)

Revision 1.184 / (download) - annotate - [select for diffs], Sun Mar 29 01:02:50 2009 UTC (15 years ago) by mrg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.183: +5 -1 lines
Diff to previous 1.183 (colored)

- add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes.  this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.

- adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.

- add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)

- patch sh, and csh to notice RLIMIT_AS.  (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)

- patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.

- update irix, svr4, svr4_32, linux and osf1 emulations to support
this information.  (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)


this addresses PR 7897.  it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.

tested on i386 and sparc64, build tested on several other platforms.

thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)

Revision 1.177.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:34:31 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.177.2.1: +9 -6 lines
Diff to previous 1.177.2.1 (colored) to branchpoint 1.177 (colored)

Sync with HEAD.

Revision 1.183 / (download) - annotate - [select for diffs], Tue Jan 20 18:20:48 2009 UTC (15 years, 3 months ago) by drochner
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Changes since 1.182: +3 -3 lines
Diff to previous 1.182 (colored)

Change major()/minor() to return 32-bit types again, called
devmajor_t/devminor_t, as proposed on tech-kern.
This avoids 64-bit arithmetics and 64-bit printf formats in parts
of the kernel where it is not really useful, and helps clarity.

Revision 1.182 / (download) - annotate - [select for diffs], Mon Jan 19 19:39:41 2009 UTC (15 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.181: +7 -4 lines
Diff to previous 1.181 (colored)

Provide compatibility for pre-christos-time_t sysv sysctls.

Revision 1.177.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:31 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.177: +12 -10 lines
Diff to previous 1.177 (colored)

Sync with HEAD.

Revision 1.173.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:41 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.173.6.3: +11 -9 lines
Diff to previous 1.173.6.3 (colored) to branchpoint 1.173 (colored) next main 1.174 (colored)

Sync with HEAD.

Revision 1.181 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:55 2009 UTC (15 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.180: +8 -6 lines
Diff to previous 1.180 (colored)

merge christos-time_t

Revision 1.175.2.6 / (download) - annotate - [select for diffs], Tue Dec 30 18:50:26 2008 UTC (15 years, 3 months ago) by christos
Branch: christos-time_t
Changes since 1.175.2.5: +1 -2 lines
Diff to previous 1.175.2.5 (colored) to branchpoint 1.175 (colored) next main 1.176 (colored)

sync with head.

Revision 1.180 / (download) - annotate - [select for diffs], Mon Dec 29 15:35:02 2008 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: christos-time_t-nbase, christos-time_t-base
Changes since 1.179: +1 -2 lines
Diff to previous 1.179 (colored)

Librate sysctl_setup_func typedef from the clutches of _MODULE and
stuff it in kern_sysctl.c where its only sensible use is.

Revision 1.175.2.5 / (download) - annotate - [select for diffs], Sun Dec 28 19:48:25 2008 UTC (15 years, 3 months ago) by christos
Branch: christos-time_t
Changes since 1.175.2.4: +3 -3 lines
Diff to previous 1.175.2.4 (colored) to branchpoint 1.175 (colored)

make both tdevs uint32_t to preserve binary compatibility.

Revision 1.175.2.4 / (download) - annotate - [select for diffs], Sat Dec 27 23:14:25 2008 UTC (15 years, 3 months ago) by christos
Branch: christos-time_t
Changes since 1.175.2.3: +2 -1 lines
Diff to previous 1.175.2.3 (colored) to branchpoint 1.175 (colored)

merge with head.

Revision 1.176.6.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:35 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.176.6.1: +5 -4 lines
Diff to previous 1.176.6.1 (colored) to branchpoint 1.176 (colored) next main 1.177 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.179 / (download) - annotate - [select for diffs], Sun Dec 7 20:58:46 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base
Changes since 1.178: +2 -1 lines
Diff to previous 1.178 (colored)

Move some sysctl node creations away from linksets and into the
constructors for subsystems.

XXX: CTLFLAG_PERMANENT is non-sensible.

Revision 1.175.2.3 / (download) - annotate - [select for diffs], Thu Nov 20 20:45:40 2008 UTC (15 years, 5 months ago) by christos
Branch: christos-time_t
Changes since 1.175.2.2: +4 -4 lines
Diff to previous 1.175.2.2 (colored) to branchpoint 1.175 (colored)

merge with head.

Revision 1.178 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:28 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: ad-audiomp2-base, ad-audiomp2
Changes since 1.177: +4 -4 lines
Diff to previous 1.177 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.175.2.2 / (download) - annotate - [select for diffs], Sat Nov 1 21:22:28 2008 UTC (15 years, 5 months ago) by christos
Branch: christos-time_t
Changes since 1.175.2.1: +3 -3 lines
Diff to previous 1.175.2.1 (colored) to branchpoint 1.175 (colored)

Sync with head.

Revision 1.176.6.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:18:09 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.176: +2 -2 lines
Diff to previous 1.176 (colored)

Sync with HEAD.

Revision 1.173.6.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:41:05 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.173.6.2: +1 -1 lines
Diff to previous 1.173.6.2 (colored) to branchpoint 1.173 (colored)

Sync with HEAD.

Revision 1.176.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:37:05 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.176: +2 -2 lines
Diff to previous 1.176 (colored) next main 1.177 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.177 / (download) - annotate - [select for diffs], Wed Aug 27 08:53:55 2008 UTC (15 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.176: +2 -2 lines
Diff to previous 1.176 (colored)

Make _POSIX_TZNAME_MAX=6 per SUSv3, from Andy Shevchenko

Revision 1.173.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:34 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.173.6.1: +1 -1 lines
Diff to previous 1.173.6.1 (colored) to branchpoint 1.173 (colored)

Sync with HEAD.

Revision 1.175.4.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:50 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.175: +2 -2 lines
Diff to previous 1.175 (colored) next main 1.176 (colored)

sync with head.

Revision 1.175.6.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:52 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.175: +2 -2 lines
Diff to previous 1.175 (colored)

sync with head.

Revision 1.176 / (download) - annotate - [select for diffs], Tue Apr 29 16:21:27 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Changes since 1.175: +2 -2 lines
Diff to previous 1.175 (colored)

PR kern/37917 /bin/ps no longer shows zombies

Revision 1.173.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:13 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.173: +6 -1 lines
Diff to previous 1.173 (colored)

Sync with HEAD.

Revision 1.175.2.1 / (download) - annotate - [select for diffs], Sat Mar 29 20:47:03 2008 UTC (16 years ago) by christos
Branch: christos-time_t
Changes since 1.175: +6 -4 lines
Diff to previous 1.175 (colored)

Welcome to the time_t=long long dev_t=uint64_t branch.

Revision 1.173.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:29 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.173: +6 -1 lines
Diff to previous 1.173 (colored) next main 1.174 (colored)

sync with head.

Revision 1.170.8.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:11 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.170.8.2: +6 -1 lines
Diff to previous 1.170.8.2 (colored) to branchpoint 1.170 (colored) next main 1.171 (colored)

sync with HEAD

Revision 1.138.2.7 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:47 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.138.2.6: +6 -1 lines
Diff to previous 1.138.2.6 (colored) next main 1.139 (colored)

sync with head.

Revision 1.175 / (download) - annotate - [select for diffs], Fri Feb 29 06:37:57 2008 UTC (16 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, christos-time_t
Changes since 1.174: +3 -1 lines
Diff to previous 1.174 (colored)

#include <stdbool.h> if !_KERNEL && !_STANDALONE

Revision 1.174 / (download) - annotate - [select for diffs], Fri Feb 29 02:28:35 2008 UTC (16 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.173: +4 -1 lines
Diff to previous 1.173 (colored)

Add support for CTLTYPE_BOOL

Revision 1.171.4.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:24 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.171: +4 -3 lines
Diff to previous 1.171 (colored) next main 1.172 (colored)

Sync with HEAD.

Revision 1.138.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:48:00 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.138.2.5: +6 -3 lines
Diff to previous 1.138.2.5 (colored)

sync with head

Revision 1.170.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:19 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.170.8.1: +6 -3 lines
Diff to previous 1.170.8.1 (colored) to branchpoint 1.170 (colored)

sync with HEAD

Revision 1.172.2.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:59 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.172: +4 -3 lines
Diff to previous 1.172 (colored) next main 1.173 (colored)

Sync with HEAD

Revision 1.173 / (download) - annotate - [select for diffs], Mon Jan 7 16:12:56 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.172: +4 -3 lines
Diff to previous 1.172 (colored)

Patch up sysctl locking:

- Lock processes, credentials, filehead etc correctly.
- Acquire a read hold on sysctl_treelock if only doing a query.
- Don't wire down the output buffer. It doesn't work correctly and the code
  regularly does long term sleeps with it held - it's not worth it.
- Don't hold locks other than sysctl_lock while doing copyout().
- Drop sysctl_lock while doing copyout / allocating memory in a few places.
- Don't take kernel_lock for sysctl.
- Fix a number of bugs spotted along the way

Revision 1.171.6.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:57:59 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.171: +3 -1 lines
Diff to previous 1.171 (colored) next main 1.172 (colored)

Sync with head.

Revision 1.171.8.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:45:42 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-kmem
Changes since 1.171: +3 -1 lines
Diff to previous 1.171 (colored) next main 1.172 (colored)

sync with head.

Revision 1.172 / (download) - annotate - [select for diffs], Mon Dec 10 14:19:08 2007 UTC (16 years, 4 months ago) by bsh
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.171: +3 -1 lines
Diff to previous 1.171 (colored)

fix compile error (no previous prototype for 'sysctl_FOO') when
SYSCTL_SETUP() is used in LKM.

Revision 1.170.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:34:59 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.170: +3 -1 lines
Diff to previous 1.170 (colored)

sync with HEAD

Revision 1.138.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:36:35 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.138.2.4: +3 -1 lines
Diff to previous 1.138.2.4 (colored)

sync with head.

Revision 1.170.6.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:49:22 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.170: +3 -1 lines
Diff to previous 1.170 (colored) next main 1.171 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.168.4.3 / (download) - annotate - [select for diffs], Tue Oct 23 20:17:26 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.168.4.2: +3 -1 lines
Diff to previous 1.168.4.2 (colored) to branchpoint 1.168 (colored) next main 1.169 (colored)

Sync with head.

Revision 1.170.10.1 / (download) - annotate - [select for diffs], Thu Oct 18 08:33:16 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.170: +3 -1 lines
Diff to previous 1.170 (colored) next main 1.171 (colored)

sync with head.

Revision 1.171 / (download) - annotate - [select for diffs], Mon Oct 15 14:12:54 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: yamt-kmem, vmlocking2, mjf-devfs
Changes since 1.170: +3 -1 lines
Diff to previous 1.170 (colored)

Add _SC_NPROCESSORS_ONLN and _SC_NPROCESSORS_CONF for sysconf(). These
are extensions but are provided by many Unix systems.

Revision 1.138.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:46:40 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.138.2.3: +10 -3 lines
Diff to previous 1.138.2.3 (colored)

sync with head.

Revision 1.169.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:12:37 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.169: +8 -3 lines
Diff to previous 1.169 (colored) next main 1.170 (colored)

Sync with head.

Revision 1.168.4.2 / (download) - annotate - [select for diffs], Fri Jun 8 14:18:14 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.168.4.1: +8 -3 lines
Diff to previous 1.168.4.1 (colored) to branchpoint 1.168 (colored)

Sync with head.

Revision 1.170 / (download) - annotate - [select for diffs], Thu May 17 14:51:43 2007 UTC (16 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.169: +8 -3 lines
Diff to previous 1.169 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.166.2.5 / (download) - annotate - [select for diffs], Mon Apr 30 16:38:37 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.166.2.4: +1 -2 lines
Diff to previous 1.166.2.4 (colored) to branchpoint 1.166 (colored) next main 1.167 (colored)

- Remove KERN_SCHED, do not break KERN_MAXID and use dynamic node creation,
  since we are moving to dynamic sysctl anyway - note by <mrg>.
- Remove sched_slept() hook - we are not going to use it.

Revision 1.166.2.4 / (download) - annotate - [select for diffs], Sat Apr 21 15:50:22 2007 UTC (17 years ago) by ad
Branch: yamt-idlelwp
Changes since 1.166.2.3: +6 -1 lines
Diff to previous 1.166.2.3 (colored) to branchpoint 1.166 (colored)

Some changes mainly for top/ps:

- Add an optional name field to struct lwp.
- Count the total number of context switches + involuntary,
  not voluntary + involuntary.
- Mark the idle threads as LSIDL when not running, otherwise
  they show up funny in a top(1) that shows threads.
- Make pctcpu and cpticks per-LWP attributes.
- Add to kinfo_lwp: cpticks, pctcpu, pid, name.

Revision 1.168.4.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:52:06 2007 UTC (17 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.168: +3 -1 lines
Diff to previous 1.168 (colored)

Sync with head.

Revision 1.166.2.3 / (download) - annotate - [select for diffs], Mon Mar 12 06:00:55 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.166.2.2: +3 -1 lines
Diff to previous 1.166.2.2 (colored) to branchpoint 1.166 (colored)

Sync with HEAD.

Revision 1.169 / (download) - annotate - [select for diffs], Sun Mar 11 21:38:38 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Changes since 1.168: +3 -1 lines
Diff to previous 1.168 (colored)

Add the LWP's runtime to kinfo_lwp.

Revision 1.166.2.2 / (download) - annotate - [select for diffs], Fri Mar 9 15:16:26 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.166.2.1: +4 -3 lines
Diff to previous 1.166.2.1 (colored) to branchpoint 1.166 (colored)

Checkpoint:

- Addition of scheduler-specific pointers in the struct proc, lwp and
  schedstate_percpu.
- Addition of sched_lwp_fork(), sched_lwp_exit() and sched_slept() hooks.
- mi_switch() now has only one argument.
- sched_nextlwp(void) becomes sched_switch(struct lwp *) and does an
  enqueueing of LWP.
- Addition of general kern.sched sysctl node.
- Remove twice called uvmexp.swtch++, other cleanups.

Discussed on tech-kern@

Revision 1.166.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:55:18 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.166: +54 -32 lines
Diff to previous 1.166 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.138.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:15 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.138.2.2: +64 -3 lines
Diff to previous 1.138.2.2 (colored)

sync with head.

Revision 1.168 / (download) - annotate - [select for diffs], Sun Feb 18 15:20:34 2007 UTC (17 years, 2 months ago) by dsl
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Branch point for: vmlocking
Changes since 1.167: +20 -3 lines
Diff to previous 1.167 (colored)

The pre-kauth 'struct ucread' and 'struct pcred' are now only used in the
(depracted some time ago) 'struct kinfo_proc' returned by sysctl.
Move the definitions to sys/syctl.h and rename in order to ensure all the
users are located.

Revision 1.167 / (download) - annotate - [select for diffs], Sat Feb 17 22:31:45 2007 UTC (17 years, 2 months ago) by pavel
Branch: MAIN
Changes since 1.166: +35 -30 lines
Diff to previous 1.166 (colored)

Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD
constant.

Restores source compatibility with pre-newlock2 tools like ps or top.

Reviewed by Andrew Doran.

Revision 1.166 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:37 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.165: +40 -1 lines
Diff to previous 1.165 (colored)

Merge newlock2 to head.

Revision 1.156.2.4 / (download) - annotate - [select for diffs], Sun Feb 4 14:42:36 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.156.2.3: +6 -1 lines
Diff to previous 1.156.2.3 (colored) to branchpoint 1.156 (colored) next main 1.157 (colored)

Add a compat flag to match LPR_DETACHED.

Revision 1.156.2.3 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:24 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.156.2.2: +25 -10 lines
Diff to previous 1.156.2.2 (colored) to branchpoint 1.156 (colored)

Sync with head.

Revision 1.138.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:56 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.138.2.1: +36 -24 lines
Diff to previous 1.138.2.1 (colored)

sync with head.

Revision 1.156.2.2 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:45 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.156.2.1: +35 -1 lines
Diff to previous 1.156.2.1 (colored) to branchpoint 1.156 (colored)

Checkpoint work in progress.

Revision 1.157.2.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:19:29 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.157.2.1: +38 -22 lines
Diff to previous 1.157.2.1 (colored) to branchpoint 1.157 (colored) next main 1.158 (colored)

sync with head.

Revision 1.165 / (download) - annotate - [select for diffs], Sat Nov 25 21:40:06 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.164: +25 -10 lines
Diff to previous 1.164 (colored)

PR/34837: Mindaguas: Add SysV SHM dynamic reallocation and locking to the
physical memory

Revision 1.156.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:47 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.156: +11 -11 lines
Diff to previous 1.156 (colored)

Sync with head.

Revision 1.164 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:51 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.163: +10 -10 lines
Diff to previous 1.163 (colored)

__unused removal on arguments; approved by core.

Revision 1.163 / (download) - annotate - [select for diffs], Thu Nov 2 13:28:25 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.162: +3 -1 lines
Diff to previous 1.162 (colored)

put back p_ename, lost in the previous commit.

Revision 1.162 / (download) - annotate - [select for diffs], Wed Nov 1 22:27:43 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.161: +3 -6 lines
Diff to previous 1.161 (colored)

implement kern.arandom properly, instead of lying about it and only filling
the first 4 bytes of the array with random data.

Revision 1.161 / (download) - annotate - [select for diffs], Sun Oct 29 22:34:07 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.160: +3 -1 lines
Diff to previous 1.160 (colored)

add the emulation in kinfo_proc2

Revision 1.157.2.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:47 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.157: +10 -8 lines
Diff to previous 1.157 (colored)

sync with head

Revision 1.160 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:51 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.159: +10 -8 lines
Diff to previous 1.159 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.159 / (download) - annotate - [select for diffs], Tue Oct 3 16:07:12 2006 UTC (17 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.158: +1 -4 lines
Diff to previous 1.158 (colored)

Back out previous (p_flag2).

In 30 minutes from now Jason Thorpe will come up with an implementation
of a proplib dictionary in struct proc, so adding an int doesn't really
make any sense.

Revision 1.158 / (download) - annotate - [select for diffs], Tue Oct 3 11:23:32 2006 UTC (17 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.157: +4 -1 lines
Diff to previous 1.157 (colored)

Until we figure out the Perfect Way of adding flags to processes, add
a p_flag2. No objections on tech-kern@.

Input from simonb@, thanks!

Revision 1.152.2.5 / (download) - annotate - [select for diffs], Thu Sep 14 12:32:00 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.152.2.4: +1 -4 lines
Diff to previous 1.152.2.4 (colored) to branchpoint 1.152 (colored) next main 1.153 (colored)

sync with head.

Revision 1.147.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:59:42 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.147: +25 -18 lines
Diff to previous 1.147 (colored) next main 1.148 (colored)

sync with head

Revision 1.157 / (download) - annotate - [select for diffs], Fri Sep 8 20:58:58 2006 UTC (17 years, 7 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Changes since 1.156: +1 -4 lines
Diff to previous 1.156 (colored)

First take at security model abstraction.

- Add a few scopes to the kernel: system, network, and machdep.

- Add a few more actions/sub-actions (requests), and start using them as
  opposed to the KAUTH_GENERIC_ISSUSER place-holders.

- Introduce a basic set of listeners that implement our "traditional"
  security model, called "bsd44". This is the default (and only) model we
  have at the moment.

- Update all relevant documentation.

- Add some code and docs to help folks who want to actually use this stuff:

  * There's a sample overlay model, sitting on-top of "bsd44", for
    fast experimenting with tweaking just a subset of an existing model.

    This is pretty cool because it's *really* straightforward to do stuff
    you had to use ugly hacks for until now...

  * And of course, documentation describing how to do the above for quick
    reference, including code samples.

All of these changes were tested for regressions using a Python-based
testsuite that will be (I hope) available soon via pkgsrc. Information
about the tests, and how to write new ones, can be found on:

	http://kauth.linbsd.org/kauthwiki

NOTE FOR DEVELOPERS: *PLEASE* don't add any code that does any of the
following:

  - Uses a KAUTH_GENERIC_ISSUSER kauth(9) request,
  - Checks 'securelevel' directly,
  - Checks a uid/gid directly.

(or if you feel you have to, contact me first)

This is still work in progress; It's far from being done, but now it'll
be a lot easier.

Relevant mailing list threads:

http://mail-index.netbsd.org/tech-security/2006/01/25/0011.html
http://mail-index.netbsd.org/tech-security/2006/03/24/0001.html
http://mail-index.netbsd.org/tech-security/2006/04/18/0000.html
http://mail-index.netbsd.org/tech-security/2006/05/15/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/01/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/25/0000.html

Many thanks to YAMAMOTO Takashi, Matt Thomas, and Christos Zoulas for help
stablizing kauth(9).

Full credit for the regression tests, making sure these changes didn't break
anything, goes to Matt Fleming and Jaime Fournier.

Happy birthday Randi! :)

Revision 1.152.2.4 / (download) - annotate - [select for diffs], Sun Sep 3 15:25:56 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.152.2.3: +1 -4 lines
Diff to previous 1.152.2.3 (colored) to branchpoint 1.152 (colored)

sync with head.

Revision 1.156 / (download) - annotate - [select for diffs], Thu Aug 17 17:11:29 2006 UTC (17 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: newlock2
Changes since 1.155: +1 -4 lines
Diff to previous 1.155 (colored)

Fix all the -D*DEBUG* code that it was rotting away and did not even compile.
Mostly from Arnaud Lacombe, many thanks!

Revision 1.152.2.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:47:26 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.152.2.2: +3 -3 lines
Diff to previous 1.152.2.2 (colored) to branchpoint 1.152 (colored)

sync with head

Revision 1.155 / (download) - annotate - [select for diffs], Sun Jul 30 17:38:19 2006 UTC (17 years, 8 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.154: +3 -3 lines
Diff to previous 1.154 (colored)

ugh.. more stuff that's overdue and should not be in 4.0: remove the
sysctl(9) flags CTLFLAG_READONLY[12]. luckily they're not documented
so it's only half regression.

only two knobs used them; proc.curproc.corename (check added in the
existing handler; its CTLFLAG_ANYWRITE, yay) and net.inet.ip.forwsrcrt,
that got its own handler now too.

Revision 1.138.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:04 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.138: +119 -98 lines
Diff to previous 1.138 (colored)

sync with head.

Revision 1.152.6.2 / (download) - annotate - [select for diffs], Wed May 24 15:50:47 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.152.6.1: +6 -9 lines
Diff to previous 1.152.6.1 (colored) to branchpoint 1.152 (colored) next main 1.153 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.152.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:59:21 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.152.2.1: +6 -9 lines
Diff to previous 1.152.2.1 (colored) to branchpoint 1.152 (colored)

sync with head.

Revision 1.148.2.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:21 2006 UTC (18 years ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.148: +23 -18 lines
Diff to previous 1.148 (colored) next main 1.149 (colored)

Sync with head.

Revision 1.152.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 04:36:02 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.152: +18 -10 lines
Diff to previous 1.152 (colored) next main 1.153 (colored)

sync with head.

Revision 1.154 / (download) - annotate - [select for diffs], Fri Apr 14 13:09:07 2006 UTC (18 years ago) by blymn
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi
Changes since 1.153: +6 -9 lines
Diff to previous 1.153 (colored)

Make i/o statistics collection more generic, include tape drives and
nfs mounts in the set of devices that statistics will be reported on.

Revision 1.152.2.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:51 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.152: +13 -2 lines
Diff to previous 1.152 (colored)

sync with head.

Revision 1.152.6.1 / (download) - annotate - [select for diffs], Tue Mar 28 09:42:29 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.152: +13 -2 lines
Diff to previous 1.152 (colored)

Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.

Revision 1.153 / (download) - annotate - [select for diffs], Fri Mar 17 08:50:36 2006 UTC (18 years, 1 month ago) by kleink
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3
Changes since 1.152: +13 -2 lines
Diff to previous 1.152 (colored)

Move struct clockinfo (KERN_CLOCKRATE sysctl) from <sys/time.h> to
<sys/sysctl.h>.

Revision 1.145.2.3 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:51 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.145.2.2: +3 -3 lines
Diff to previous 1.145.2.2 (colored) next main 1.146 (colored)

sync with head.

Revision 1.152 / (download) - annotate - [select for diffs], Sat Feb 25 00:58:36 2006 UTC (18 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.151: +2 -2 lines
Diff to previous 1.151 (colored)

Fix typos, reported by Alexey Dobriyan ("Gathered from Linux"),
forwarded by jmc@openbsd.

Revision 1.151 / (download) - annotate - [select for diffs], Fri Feb 24 19:33:09 2006 UTC (18 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.150: +2 -2 lines
Diff to previous 1.150 (colored)

complete constification of the sysctl() user side

Revision 1.145.2.2 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:23 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.145.2.1: +4 -2 lines
Diff to previous 1.145.2.1 (colored)

sync with head.

Revision 1.150 / (download) - annotate - [select for diffs], Thu Feb 9 19:18:57 2006 UTC (18 years, 2 months ago) by manu
Branch: MAIN
Changes since 1.149: +4 -2 lines
Diff to previous 1.149 (colored)

Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.

While I'm here, add SysV IPC to COMPAT_LINUX/amd64

Revision 1.149 / (download) - annotate - [select for diffs], Sat Feb 4 16:11:36 2006 UTC (18 years, 2 months ago) by elad
Branch: MAIN
Changes since 1.148: +1 -6 lines
Diff to previous 1.148 (colored)

move setid core externs near defcorename, as requested by yamt@.

Revision 1.148 / (download) - annotate - [select for diffs], Thu Feb 2 17:48:51 2006 UTC (18 years, 2 months ago) by elad
Branch: MAIN
Branch point for: simonb-timecounters
Changes since 1.147: +6 -1 lines
Diff to previous 1.147 (colored)

implement a security.setid_core node as discussed on tech-kern@ and
tech-security@.

Revision 1.145.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:52:48 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.145: +10 -21 lines
Diff to previous 1.145 (colored)

sync with head.

Revision 1.147 / (download) - annotate - [select for diffs], Fri Jan 27 03:14:56 2006 UTC (18 years, 2 months ago) by elad
Branch: MAIN
Branch point for: rpaulo-netinet-merge-pcb
Changes since 1.146: +4 -15 lines
Diff to previous 1.146 (colored)

remove security node sysctl objects; they are now created using CTL_CREATE.

Revision 1.146 / (download) - annotate - [select for diffs], Fri Jan 20 23:36:44 2006 UTC (18 years, 3 months ago) by uwe
Branch: MAIN
Changes since 1.145: +7 -7 lines
Diff to previous 1.145 (colored)

Fix the sense of #else/#endif comments.

Revision 1.145 / (download) - annotate - [select for diffs], Wed Dec 28 19:09:30 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.144: +2 -2 lines
Diff to previous 1.144 (colored)

inline -> __inline

Revision 1.144 / (download) - annotate - [select for diffs], Mon Dec 26 18:41:36 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
Changes since 1.143: +81 -81 lines
Diff to previous 1.143 (colored)

u_intN_t -> uintN_t

Revision 1.143 / (download) - annotate - [select for diffs], Sat Dec 24 19:01:28 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
Changes since 1.142: +2 -2 lines
Diff to previous 1.142 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.142 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:21 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.141: +1 -1 lines
Diff to previous 1.141 (colored)

merge ktrace-lwp.

Revision 1.95.2.9 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:13 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.95.2.8: +43 -23 lines
Diff to previous 1.95.2.8 (colored) next main 1.96 (colored)

Sync with HEAD. Here we go again...

Revision 1.141 / (download) - annotate - [select for diffs], Wed Sep 7 16:26:16 2005 UTC (18 years, 7 months ago) by elad
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.140: +18 -2 lines
Diff to previous 1.140 (colored)

Introduce ``security.curtain'', new node for security features and
settings, and new variable for controlling access to objects based
on user-id.

Revision 1.140 / (download) - annotate - [select for diffs], Tue Sep 6 02:36:17 2005 UTC (18 years, 7 months ago) by rpaulo
Branch: MAIN
Changes since 1.139: +4 -2 lines
Diff to previous 1.139 (colored)

Implement kern.hardclock_ticks.

Revision 1.139 / (download) - annotate - [select for diffs], Sun Aug 7 12:30:01 2005 UTC (18 years, 8 months ago) by blymn
Branch: MAIN
Changes since 1.138: +6 -2 lines
Diff to previous 1.138 (colored)

Add in tape statistics gathering definitions, add tape.h as a file
to be installed.

Revision 1.138 / (download) - annotate - [select for diffs], Mon Jun 20 02:49:19 2005 UTC (18 years, 10 months ago) by atatat
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.137: +11 -17 lines
Diff to previous 1.137 (colored)

Change the rest of the sysctl subsystem to use const consistently.
The __UNCONST macro is now used only where necessary and the RW macros
are gone.  Most of the changes here are consumers of the
sysctl_createv(9) interface that now takes a pair of const pointers
which used not to be.

Revision 1.137 / (download) - annotate - [select for diffs], Thu Jun 16 14:55:58 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.136: +4 -2 lines
Diff to previous 1.136 (colored)

Add a new sysctl 'cp_id' that returns the array of cpu id values. Requested by
me, implemented by atatat.

Revision 1.133.2.1 / (download) - annotate - [select for diffs], Fri Jun 10 15:10:51 2005 UTC (18 years, 10 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.133: +4 -2 lines
Diff to previous 1.133 (colored) next main 1.134 (colored)

Pull up revision 1.134 (requested by elad in ticket #389):
Some changes in veriexec.
New features:
- Add a veriexec_report() routine to make most reporting consistent and
remove some common code.
- Add 'strict' mode that controls how veriexec behaves.
- Add sysctl knobs:
o kern.veriexec.verbose controls verbosity levels. Value: 0, 1.
o kern.veriexec.strict controls strict level. Values: 0, 1, 2. See
documentation in sysctl(3) for details.
o kern.veriexec.algorithms returns a string with a space separated
list of supported hashing algorithms in veriexec.
- Updated documentation in man pages for sysctl(3) and sysctl(8).
Bug fixes:
- veriexec_removechk(): Code cleanup + handle FINGERPRINT_NOTEVAL
correctly.
- exec_script(): Don't pass 0 as flag when executing a script; use the
defined VERIEXEC_INDIRECT - which is 1. Makes indirect execution
enforcement work.
- Fix some printing formats and types..

Revision 1.136 / (download) - annotate - [select for diffs], Thu Jun 9 02:19:59 2005 UTC (18 years, 10 months ago) by atatat
Branch: MAIN
Changes since 1.135: +2 -2 lines
Diff to previous 1.135 (colored)

Properly fix the constipated lossage wrt -Wcast-qual and the sysctl
code.  I know it's not the prettiest code, but it seems to work rather
well in spite of itself.

Revision 1.135 / (download) - annotate - [select for diffs], Sun May 29 21:19:41 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.134: +4 -4 lines
Diff to previous 1.134 (colored)

Sprinkle const.

Revision 1.134 / (download) - annotate - [select for diffs], Thu May 19 20:16:19 2005 UTC (18 years, 11 months ago) by elad
Branch: MAIN
Changes since 1.133: +4 -2 lines
Diff to previous 1.133 (colored)

Some changes in veriexec.

New features:

  - Add a veriexec_report() routine to make most reporting consistent and
    remove some common code.
  - Add 'strict' mode that controls how veriexec behaves.
  - Add sysctl knobs:
     o kern.veriexec.verbose controls verbosity levels. Value: 0, 1.
     o kern.veriexec.strict controls strict level. Values: 0, 1, 2. See
       documentation in sysctl(3) for details.
     o kern.veriexec.algorithms returns a string with a space separated
       list of supported hashing algorithms in veriexec.
  - Updated documentation in man pages for sysctl(3) and sysctl(8).

Bug fixes:

  - veriexec_removechk(): Code cleanup + handle FINGERPRINT_NOTEVAL
    correctly.
  - exec_script(): Don't pass 0 as flag when executing a script; use the
    defined VERIEXEC_INDIRECT - which is 1. Makes indirect execution
    enforcement work.
  - Fix some printing formats and types..

Revision 1.127.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:38 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.127: +54 -7 lines
Diff to previous 1.127 (colored) next main 1.128 (colored)

sync with -current

Revision 1.95.2.8 / (download) - annotate - [select for diffs], Fri Apr 1 14:32:11 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.95.2.7: +46 -2 lines
Diff to previous 1.95.2.7 (colored)

Sync with HEAD.

Revision 1.127.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:52 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.127.6.1: +49 -2 lines
Diff to previous 1.127.6.1 (colored) to branchpoint 1.127 (colored) next main 1.128 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.133 / (download) - annotate - [select for diffs], Fri Mar 11 06:16:16 2005 UTC (19 years, 1 month ago) by atatat
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, kent-audio2-base
Branch point for: netbsd-3
Changes since 1.132: +2 -2 lines
Diff to previous 1.132 (colored)

Revert the change that made kern.file2 and net.*.*.pcblist into nodes
instead of structs.  It had other deleterious side-effects that are
rather nasty.  Another solution must be found.

Revision 1.132 / (download) - annotate - [select for diffs], Thu Mar 10 05:43:33 2005 UTC (19 years, 1 month ago) by atatat
Branch: MAIN
Changes since 1.131: +2 -2 lines
Diff to previous 1.131 (colored)

Change types of kern.file2 and net.*.*.pcblist to NODE

Revision 1.131 / (download) - annotate - [select for diffs], Thu Mar 10 05:41:19 2005 UTC (19 years, 1 month ago) by atatat
Branch: MAIN
Changes since 1.130: +1 -2 lines
Diff to previous 1.130 (colored)

Forgot to remove ki_ocomm from kinfo_file2 before adding it.  Sorry.

Revision 1.130 / (download) - annotate - [select for diffs], Wed Mar 9 05:02:17 2005 UTC (19 years, 1 month ago) by atatat
Branch: MAIN
Changes since 1.129: +47 -2 lines
Diff to previous 1.129 (colored)

Add kern.file2.  As kern.proc2 is to kern.proc, so is kern.file2 to
kern.file, namely a 32/64 bit clean sysctl interface to the same data.
It also borrows a few things from struct vnode (if applicable) and
from struct proc, just to tie things together a bit more.

You can walk this list "by file" or "by pid".  The former method is
similar to kern.file but omits the filehead, and the latter can give
you duplicates if multiple processes have the same struct file open,
but tells you which process it is.

Revision 1.95.2.7 / (download) - annotate - [select for diffs], Fri Mar 4 16:54:23 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.95.2.6: +4 -1 lines
Diff to previous 1.95.2.6 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.129 / (download) - annotate - [select for diffs], Sun Feb 20 19:43:46 2005 UTC (19 years, 2 months ago) by heas
Branch: MAIN
Changes since 1.128: +4 -1 lines
Diff to previous 1.128 (colored)

Expose sysctl_root node to kernel sources.  It will be used by FreeBSD sysctl
emulation.

Revision 1.127.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:56 2005 UTC (19 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.127: +6 -6 lines
Diff to previous 1.127 (colored)

sync with head.

Revision 1.95.2.6 / (download) - annotate - [select for diffs], Fri Feb 4 11:48:06 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.95.2.5: +6 -6 lines
Diff to previous 1.95.2.5 (colored)

Sync with HEAD.

Revision 1.128 / (download) - annotate - [select for diffs], Thu Feb 3 19:20:02 2005 UTC (19 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.127: +6 -6 lines
Diff to previous 1.127 (colored)

de-__P

Revision 1.95.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:38:50 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.95.2.4: +1 -1 lines
Diff to previous 1.95.2.4 (colored)

Fix the sync with head I botched.

Revision 1.95.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:31 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.95.2.3: +1 -1 lines
Diff to previous 1.95.2.3 (colored)

Sync with HEAD.

Revision 1.95.2.3 / (download) - annotate - [select for diffs], Thu Aug 12 11:42:23 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.95.2.2: +2 -2 lines
Diff to previous 1.95.2.2 (colored)

Sync with HEAD.

Revision 1.127 / (download) - annotate - [select for diffs], Mon Aug 9 08:35:23 2004 UTC (19 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.126: +2 -2 lines
Diff to previous 1.126 (colored)

#if SYSCTL_INCLUDE_DESCR -> #ifdef SYSCTL_INCLUDE_DESCR

Revision 1.95.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:31 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.95.2.1: +413 -54 lines
Diff to previous 1.95.2.1 (colored)

Sync with HEAD

Revision 1.126 / (download) - annotate - [select for diffs], Tue Jul 27 22:01:56 2004 UTC (19 years, 8 months ago) by manu
Branch: MAIN
Changes since 1.125: +4 -2 lines
Diff to previous 1.125 (colored)

Add the emul.mach.exception.hang sysctl, which helps catching programs
that die before they disapear. This is usefull because we cannot start
Mach-O binaries under gdb. We attach the hung process instead.

Revision 1.116.2.8 / (download) - annotate - [select for diffs], Sun May 23 10:45:52 2004 UTC (19 years, 11 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.116.2.7: +24 -1 lines
Diff to previous 1.116.2.7 (colored) to branchpoint 1.116 (colored) next main 1.117 (colored)

Pull up revision 1.125 (requested by atatat in ticket #374):
Tweak sysctl setup functions (the macros, actually) for use in lkms,
and tweak lkminit_*.c (where applicable) to call them, and to call
sysctl_teardown() when being unloaded.
This consists of (1) making setup functions not be static when being
compiled as lkms (change to sys/sysctl.h), (2) making prototypes
visible for the various setup functions in header files (changes to
various header files), and (3) making simple "load" and "unload"
functions in the actual lkminit stuff.
linux_sysctl.c also needs its root exposed (ie, made not static) for
this (when built as an lkm).

Revision 1.125 / (download) - annotate - [select for diffs], Thu May 20 06:34:32 2004 UTC (19 years, 11 months ago) by atatat
Branch: MAIN
Changes since 1.124: +24 -1 lines
Diff to previous 1.124 (colored)

Tweak sysctl setup functions (the macros, actually) for use in lkms,
and tweak lkminit_*.c (where applicable) to call them, and to call
sysctl_teardown() when being unloaded.

This consists of (1) making setup functions not be static when being
compiled as lkms (change to sys/sysctl.h), (2) making prototypes
visible for the various setup functions in header files (changes to
various header files), and (3) making simple "load" and "unload"
functions in the actual lkminit stuff.

linux_sysctl.c also needs its root exposed (ie, made not static) for
this (when built as an lkm).

Revision 1.116.2.7 / (download) - annotate - [select for diffs], Wed Apr 28 05:32:19 2004 UTC (19 years, 11 months ago) by jmc
Branch: netbsd-2-0
Changes since 1.116.2.6: +2 -31 lines
Diff to previous 1.116.2.6 (colored) to branchpoint 1.116 (colored)

Pullup rev 1.124 (requested by atatat in ticket #193)

Remove dynamic sysctl node version 0 from the tree.

Revision 1.116.2.6 / (download) - annotate - [select for diffs], Mon Apr 26 19:46:10 2004 UTC (19 years, 11 months ago) by jdc
Branch: netbsd-2-0
Changes since 1.116.2.5: +3 -3 lines
Diff to previous 1.116.2.5 (colored) to branchpoint 1.116 (colored)

Pull up revision 1.123 (requested by atatat in ticket #180)

Missing parens get cast wrong.  Grr.

Revision 1.124 / (download) - annotate - [select for diffs], Sun Apr 25 05:47:53 2004 UTC (19 years, 11 months ago) by atatat
Branch: MAIN
Changes since 1.123: +2 -31 lines
Diff to previous 1.123 (colored)

Remove dynamic sysctl node version 0 from the tree.  It seemed okay at
first, but quickly showed its shortcomings.  The version 1 node we're
now using should be good for a while.

Revision 1.123 / (download) - annotate - [select for diffs], Fri Apr 23 12:02:43 2004 UTC (19 years, 11 months ago) by atatat
Branch: MAIN
Changes since 1.122: +3 -3 lines
Diff to previous 1.122 (colored)

Missing parens get cast wrong.  Grr.

Revision 1.116.2.5 / (download) - annotate - [select for diffs], Thu Apr 22 07:50:48 2004 UTC (20 years ago) by tron
Branch: netbsd-2-0
Changes since 1.116.2.4: +4 -4 lines
Diff to previous 1.116.2.4 (colored) to branchpoint 1.116 (colored)

Pull up revision 1.122 (requested by atatat in ticket #173):
Move a type cast (wrt description handling) and do a little lint
cleaning.

Revision 1.122 / (download) - annotate - [select for diffs], Thu Apr 22 03:32:11 2004 UTC (20 years ago) by atatat
Branch: MAIN
Changes since 1.121: +4 -4 lines
Diff to previous 1.121 (colored)

Move a type cast (wrt description handling) and do a little lint
cleaning.

Revision 1.121 / (download) - annotate - [select for diffs], Sat Apr 17 15:17:33 2004 UTC (20 years ago) by christos
Branch: MAIN
Changes since 1.120: +4 -2 lines
Diff to previous 1.120 (colored)

PR/9347: Eric E. Fair: socket buffer pool exhaustion leads to system deadlock
and unkillable processes.
1. Introduce new SBSIZE resource limit from FreeBSD to limit socket buffer
   size resource.
2. make sokvareserve interruptible, so processes ltsleeping on it can be
   killed.

Revision 1.116.2.4 / (download) - annotate - [select for diffs], Fri Apr 9 20:14:31 2004 UTC (20 years ago) by jmc
Branch: netbsd-2-0
Changes since 1.116.2.3: +4 -4 lines
Diff to previous 1.116.2.3 (colored) to branchpoint 1.116 (colored)

Pullup rev 1.120 (requested by atatat in ticket #109)

s/SYSCTL_USE_DESCR/SYSCTL_INCLUDE_DESCR/g since the latter name seems
more popular.  Or at least, less unpopular.

Revision 1.120 / (download) - annotate - [select for diffs], Fri Apr 9 19:01:38 2004 UTC (20 years ago) by atatat
Branch: MAIN
Changes since 1.119: +4 -4 lines
Diff to previous 1.119 (colored)

s/SYSCTL_USE_DESCR/SYSCTL_INCLUDE_DESCR/g since the latter name seems
more popular.  Or at least, less unpopular.

Revision 1.116.2.3 / (download) - annotate - [select for diffs], Fri Apr 9 18:34:08 2004 UTC (20 years ago) by jmc
Branch: netbsd-2-0
Changes since 1.116.2.2: +5 -5 lines
Diff to previous 1.116.2.2 (colored) to branchpoint 1.116 (colored)

Pullup rev 1.119 (requested by atatat in ticket #107)

Invert the meaning of SYSCTL_NO_DESCR by calling it SYSCTL_USE_DESCR
instead.  This makes it an option to include the descriptions, as
opposed to an option to *exclude* them.

Revision 1.119 / (download) - annotate - [select for diffs], Fri Apr 9 18:13:36 2004 UTC (20 years ago) by atatat
Branch: MAIN
Changes since 1.118: +5 -5 lines
Diff to previous 1.118 (colored)

Invert the meaning of SYSCTL_NO_DESCR by calling it SYSCTL_USE_DESCR
instead.  This makes it an option to include the descriptions, as
opposed to an option to *exclude* them.

Revision 1.116.2.2 / (download) - annotate - [select for diffs], Fri Apr 9 16:10:54 2004 UTC (20 years ago) by jmc
Branch: netbsd-2-0
Changes since 1.116.2.1: +2 -2 lines
Diff to previous 1.116.2.1 (colored) to branchpoint 1.116 (colored)

Pullup rev 1.118 (requested by atatat in ticket #105)

Standalone programs should not use stddef.h.  They are more like the
kernel, so they must use sys/systm.h instead.

Revision 1.118 / (download) - annotate - [select for diffs], Fri Apr 9 15:43:19 2004 UTC (20 years ago) by atatat
Branch: MAIN
Changes since 1.117: +2 -2 lines
Diff to previous 1.117 (colored)

Standalone programs should not use stddef.h.  They are more like the
kernel, so they must use sys/systm.h instead.

Revision 1.116.2.1 / (download) - annotate - [select for diffs], Thu Apr 8 19:32:47 2004 UTC (20 years ago) by jdc
Branch: netbsd-2-0
Changes since 1.116: +13 -2 lines
Diff to previous 1.116 (colored)

Pull up revision 1.117 (requested by atatat in ticket #87)

Include new opt_sysctl.h here, and use SYSCTL_NO_DESCR for eliminating
properly declared descriptions.

Revision 1.117 / (download) - annotate - [select for diffs], Thu Apr 8 03:57:48 2004 UTC (20 years ago) by atatat
Branch: MAIN
Changes since 1.116: +13 -2 lines
Diff to previous 1.116 (colored)

Include new opt_sysctl.h here, and use SYSCTL_NO_DESCR for eliminating
properly declared descriptions.

Revision 1.116 / (download) - annotate - [select for diffs], Fri Mar 26 22:54:42 2004 UTC (20 years ago) by he
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.115: +8 -1 lines
Diff to previous 1.115 (colored)

Introduce sysc_init_field() and use it to make the code a little less ugly.
Also, fix another gcc2-unfriendly initialization.

Revision 1.115 / (download) - annotate - [select for diffs], Thu Mar 25 19:36:26 2004 UTC (20 years ago) by atatat
Branch: MAIN
Changes since 1.114: +5 -1 lines
Diff to previous 1.114 (colored)

Move sysctlbyname(), sysctlnametomib(), and sysctlgetmibinfo() from
sysctl(8) into libc, making the minor number jump.  Add prototypes to
sys/sysctl.h, fix sets, modify man pages, etc.  That oughta cover it.

Revision 1.114 / (download) - annotate - [select for diffs], Thu Mar 25 00:23:49 2004 UTC (20 years ago) by atatat
Branch: MAIN
Changes since 1.113: +2 -2 lines
Diff to previous 1.113 (colored)

Argh.  That should be "_LP64", not "LP64".  Many, many thanks to martin
for helping with this and verifying the netbsd32 compat fix.

Revision 1.113 / (download) - annotate - [select for diffs], Wed Mar 24 17:40:02 2004 UTC (20 years ago) by atatat
Branch: MAIN
Changes since 1.112: +34 -1 lines
Diff to previous 1.112 (colored)

Framework for sysctl descriptions.  Implementation to follow shortly.

Revision 1.112 / (download) - annotate - [select for diffs], Wed Mar 24 17:21:02 2004 UTC (20 years ago) by atatat
Branch: MAIN
Changes since 1.111: +89 -20 lines
Diff to previous 1.111 (colored)

New node version and layout.  This should take care of the netbsd32
emulation problem, formalizes the versioning (should it ever be needed
again), and provides a slot for descriptions.

Revision 1.111 / (download) - annotate - [select for diffs], Wed Mar 24 16:55:49 2004 UTC (20 years ago) by atatat
Branch: MAIN
Changes since 1.110: +2 -1 lines
Diff to previous 1.110 (colored)

Implement sysctllog and sysctl_teardown(), which unwinds the log.

Revision 1.110 / (download) - annotate - [select for diffs], Wed Mar 24 15:34:55 2004 UTC (20 years ago) by atatat
Branch: MAIN
Changes since 1.109: +59 -40 lines
Diff to previous 1.109 (colored)

Tango on sysctl_createv() and flags.  The flags have all been renamed,
and sysctl_createv() now uses more arguments.

Revision 1.109 / (download) - annotate - [select for diffs], Thu Feb 19 03:56:30 2004 UTC (20 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.108: +41 -2 lines
Diff to previous 1.108 (colored)

Add PTRTOUINT64() and UINT64TOPTR() macros to sys/sysctl.h for use by
kern.proc, kern.proc2, kern.lwp, and kern.buf.

Define more MIB for kern.buf so that specific buffers can be selected
(only all/all is supported right now), and use a 32/64 bit agnostic
structure for communcating buffer information to userland.

Convert systat to the new kern.buf method.

Clean up the vm.buf* handling a little.  There's no actual need to
record the dynamically assigned OIDs, since sysctl_data can tell us
what we're looking at.

Oh, and fix a typo in a comment.

Revision 1.108 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:23 2004 UTC (20 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.107: +6 -6 lines
Diff to previous 1.107 (colored)

Uppercase CPU, plural is CPUs.

Revision 1.107 / (download) - annotate - [select for diffs], Sat Jan 10 01:58:48 2004 UTC (20 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.106: +1 -2 lines
Diff to previous 1.106 (colored)

don't include sys/param.h; the man page says that the application should
do that. per discussions in core.

Revision 1.106 / (download) - annotate - [select for diffs], Wed Jan 7 21:17:01 2004 UTC (20 years, 3 months ago) by atatat
Branch: MAIN
Changes since 1.105: +16 -16 lines
Diff to previous 1.105 (colored)

Add brief comments to the sysctlnode members that describe what they
are.

Cut SYSCTL_DEFSIZE in half, which results in roughly a 40% improvement
in memory usage by sysctlnodes (on my laptop), along with a dozen
extra calls to sysctl_realloc() during kernel bootstrap (which no one
should notice anyway).

Revision 1.105 / (download) - annotate - [select for diffs], Sat Jan 3 23:29:42 2004 UTC (20 years, 3 months ago) by tron
Branch: MAIN
Changes since 1.104: +2 -1 lines
Diff to previous 1.104 (colored)

Include "sys/param.h" to fix build problems in applications which include
this header file.

Revision 1.104 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:24 2003 UTC (20 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.103: +3 -2 lines
Diff to previous 1.103 (colored)

Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

This allows better utilization of memory because buffers can now be allocated
with a granularity finer than the system's native page size (useful for
filesystems with e.g. 1k or 2k fragment sizes).  It also avoids fragmentation
of virtual to physical memory mappings (due to the former fixed virtual
address reservation) resulting in better utilization of MMU resources on some
platforms.  Finally, the scheme is more flexible by allowing run-time decisions
on the amount of memory to be used for buffers.

On the other hand, the effectiveness of the LRU queue for buffer recycling
may be somewhat reduced compared to the traditional method since, due to the
nature of the pool based memory allocation, the actual least recently used
buffer may release its memory to a pool different from the one needed by a
newly allocated buffer. However, this effect will kick in only if the
system is under memory pressure.

Revision 1.103 / (download) - annotate - [select for diffs], Fri Dec 26 11:43:24 2003 UTC (20 years, 3 months ago) by itohy
Branch: MAIN
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored)

sysctl_funcs is a set of symbols in text segment (function pointers),
and we must use __link_set_add_text() instead of __link_set_add_data().

Revision 1.102 / (download) - annotate - [select for diffs], Sat Dec 6 04:16:33 2003 UTC (20 years, 4 months ago) by atatat
Branch: MAIN
Changes since 1.101: +4 -2 lines
Diff to previous 1.101 (colored)

The missing pieces of PROC_PID_STOPEXIT/P_STOPEXIT, a sysctl tweakable
flag that makes a process stop as it exits.

Revision 1.101 / (download) - annotate - [select for diffs], Thu Dec 4 20:06:58 2003 UTC (20 years, 4 months ago) by atatat
Branch: MAIN
Changes since 1.100: +1 -3 lines
Diff to previous 1.100 (colored)

Not a published interface...yet

Revision 1.100 / (download) - annotate - [select for diffs], Thu Dec 4 19:38:25 2003 UTC (20 years, 4 months ago) by atatat
Branch: MAIN
Changes since 1.99: +204 -39 lines
Diff to previous 1.99 (colored)

Dynamic sysctl.

Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.

Revision 1.99 / (download) - annotate - [select for diffs], Sun Sep 28 13:02:19 2003 UTC (20 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.98: +4 -4 lines
Diff to previous 1.98 (colored)

Simon has persuaded me to remove the 'sizeof kinfo_drivers' field.

Revision 1.98 / (download) - annotate - [select for diffs], Sat Sep 27 07:52:34 2003 UTC (20 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.97: +16 -2 lines
Diff to previous 1.97 (colored)

Add kern.root_partition (because sysinst needs to know it).
Add kern.drivers - reports installed driver names and major numbers.

Revision 1.97 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:15 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.96: +2 -6 lines
Diff to previous 1.96 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.96 / (download) - annotate - [select for diffs], Wed Jul 2 20:07:47 2003 UTC (20 years, 9 months ago) by ragge
Branch: MAIN
Changes since 1.95: +4 -2 lines
Diff to previous 1.95 (colored)

Make somaxkva modifyable via sysctl (and compile-time) instead of
hardcoding its size.

Revision 1.95.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:27:17 2003 UTC (20 years, 9 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.95: +9 -9 lines
Diff to previous 1.95 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.95 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:28 2003 UTC (20 years, 9 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.94: +8 -8 lines
Diff to previous 1.94 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.94 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:22 2003 UTC (20 years, 9 months ago) by darrenr
Branch: MAIN
Changes since 1.93: +9 -9 lines
Diff to previous 1.93 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.93 / (download) - annotate - [select for diffs], Thu Mar 6 20:32:59 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.92: +5 -5 lines
Diff to previous 1.92 (colored)

Based on the feedback on wasabisystems.com!bsd-api-discuss (sure wish
people would read that list in a more timely fashion!), change the new
64-bit memory reporting sysctl nodes to report bytes.  This should not
be a problem, since it's only a week old, and no applications use the
new nodes yet.

Revision 1.92 / (download) - annotate - [select for diffs], Sat Mar 1 05:41:55 2003 UTC (21 years, 1 month ago) by atatat
Branch: MAIN
Changes since 1.91: +3 -1 lines
Diff to previous 1.91 (colored)

Add p_svuid and p_svgid to kinfo_proc2.  Populate them in the kernel
and in libkvm.  Then teach ps how to show them to you.

Also, teach ps how to show the names for all the uids, the rest of the
group numbers, and the "group access list".

Revision 1.91 / (download) - annotate - [select for diffs], Thu Feb 27 01:39:56 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.90: +8 -4 lines
Diff to previous 1.90 (colored)

Add hw.physpages and hw.userpages, which return the physmem and usermem
values as a u_quad (page count).  Necessary for reporting memory on systems
with >=4G.  Per disussion on wasabisystems.com!bsd-api-discuss.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Feb 10 00:35:15 2003 UTC (21 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.89: +4 -2 lines
Diff to previous 1.89 (colored)

Add a kern.dump_on_panic sysctl variable (and documentation, and a
kernel config option) that controls whether the kernel dumps to the
dump device on panic.  Dumps can still be forced via the ``sync''
command from ddb.  Defaults to ``on''.

Revision 1.89 / (download) - annotate - [select for diffs], Sun Feb 2 20:33:08 2003 UTC (21 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.88: +14 -2 lines
Diff to previous 1.88 (colored)

Add sysconf(3) knobs for recent additions.

Revision 1.88 / (download) - annotate - [select for diffs], Sat Jan 18 09:53:21 2003 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.87: +32 -2 lines
Diff to previous 1.87 (colored)

Merge the nathanw_sa branch.

Revision 1.60.2.18 / (download) - annotate - [select for diffs], Sun Dec 29 20:56:56 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.60.2.17: +7 -3 lines
Diff to previous 1.60.2.17 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

Sync with HEAD.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Dec 24 12:15:45 2002 UTC (21 years, 3 months ago) by manu
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.86: +4 -2 lines
Diff to previous 1.86 (colored)

On Darwin, mach_init is the system bootstrap process. It is responsible
for forking the traditional UNIX init(8) and it does the Mach port naming
service. We need mach_init for the naming service, but unfortunately, it
will only act as such if its PID is 1. We introduce a sysctl
(emul.darwin.init_pid) to fool a given process into thinking its PID is 1.
That way we can get mach_init into behaving as the name server.

Typical use:
/sbin/sysctl -w emul.darwin.init_pid=$$ ; exec /emul/darwin/sbin/mach_init

Revision 1.86 / (download) - annotate - [select for diffs], Thu Dec 19 23:31:56 2002 UTC (21 years, 4 months ago) by kleink
Branch: MAIN
Changes since 1.85: +4 -2 lines
Diff to previous 1.85 (colored)

Add a sysconf(3) knob for {ATEXIT_MAX}.

Revision 1.60.2.17 / (download) - annotate - [select for diffs], Thu Dec 19 00:59:47 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.60.2.16: +4 -2 lines
Diff to previous 1.60.2.16 (colored) to branchpoint 1.60 (colored)

Sync with HEAD.

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Wed Dec 18 01:06:27 2002 UTC (21 years, 4 months ago) by gmcgarry
Branch: gmcgarry_ucred
Changes since 1.85: +1 -2 lines
Diff to previous 1.85 (colored) next main 1.86 (colored)

Merge pcred and ucred, and poolify.  TBD: check backward compatibility
and factor-out some higher-level functionality.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Dec 11 19:14:35 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Branch point for: gmcgarry_ucred
Changes since 1.84: +4 -2 lines
Diff to previous 1.84 (colored)

Add kern.forkfsleep sysctl - set/get time (in miliseconds) for which
process would be forced to sleep in fork() if it hits either global
or user maxproc limit. Default is zero (no forced sleep).
Maximum is 20 seconds.

Revision 1.84 / (download) - annotate - [select for diffs], Wed Dec 11 17:32:53 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.83: +4 -2 lines
Diff to previous 1.83 (colored)

reserve sysctl number for kern.lwp, which is used on nathanw_sa branch

Revision 1.60.2.16 / (download) - annotate - [select for diffs], Wed Dec 11 15:44:46 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.60.2.15: +7 -3 lines
Diff to previous 1.60.2.15 (colored) to branchpoint 1.60 (colored)

Sync with HEAD.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Dec 11 13:12:48 2002 UTC (21 years, 4 months ago) by scw
Branch: MAIN
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored)

KERN_MAXID needs to be one more than the last sysctl. Spotted by simonb.

Revision 1.82 / (download) - annotate - [select for diffs], Wed Dec 11 12:59:32 2002 UTC (21 years, 4 months ago) by scw
Branch: MAIN
Changes since 1.81: +6 -2 lines
Diff to previous 1.81 (colored)

Add two sysctls: kern.labelsector and kern.labeloffset.
These are of use to userland code which previously depended on the
hard-coded values of LABELSECTOR and LABELOFFSET to figure out the
location of the disklabel for a particular platform.

With the introduction of umbrella ports such as evbarm, evbmips, etc,
the location of the disklabel may vary between kernels for the same
MACHINE. This sysctl will allow userland programs to remain independent
of the particular flavour of MACHINE in such cases.

Revision 1.60.2.15 / (download) - annotate - [select for diffs], Wed Dec 11 06:50:08 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.60.2.14: +3 -3 lines
Diff to previous 1.60.2.14 (colored) to branchpoint 1.60 (colored)

Sync with HEAD.

Revision 1.81 / (download) - annotate - [select for diffs], Sun Nov 17 19:54:59 2002 UTC (21 years, 5 months ago) by manu
Branch: MAIN
Changes since 1.80: +4 -4 lines
Diff to previous 1.80 (colored)

Introduction of IRIX sysctl broke binary compatibility because I changed the
offset of the Linux entry. Fix this.

Revision 1.60.2.14 / (download) - annotate - [select for diffs], Mon Nov 11 22:16:40 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.13: +9 -3 lines
Diff to previous 1.60.2.13 (colored) to branchpoint 1.60 (colored)

Catch up to -current

Revision 1.80 / (download) - annotate - [select for diffs], Sat Nov 9 09:03:57 2002 UTC (21 years, 5 months ago) by manu
Branch: MAIN
Changes since 1.79: +5 -3 lines
Diff to previous 1.79 (colored)

Added sysctl to change all IRIX kernel values reported by uname and systeminfo:
OS name, hw name, kernel version, and so forth.

Revision 1.79 / (download) - annotate - [select for diffs], Thu Nov 7 00:22:28 2002 UTC (21 years, 5 months ago) by manu
Branch: MAIN
Changes since 1.78: +6 -2 lines
Diff to previous 1.78 (colored)

Added two sysctl-able flags: proc.curproc.stopfork and proc.curproc.stopexec
that can be used to block a process after fork(2) or exec(2) calls. The
new process is created in the SSTOP state and is never scheduled for running.

This feature is designed so that it is esay to attach the process using gdb
before it has done anything.

It works also with sproc, kthread_create, clone...

Revision 1.65.2.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:50:05 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.65.2.3: +11 -6 lines
Diff to previous 1.65.2.3 (colored) next main 1.66 (colored)

sync kqueue branch with HEAD

Revision 1.74.4.2 / (download) - annotate - [select for diffs], Thu Aug 29 00:57:01 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.74.4.1: +5 -5 lines
Diff to previous 1.74.4.1 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

catch up with -current.

Revision 1.60.2.13 / (download) - annotate - [select for diffs], Tue Aug 27 23:48:25 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.12: +4 -4 lines
Diff to previous 1.60.2.12 (colored) to branchpoint 1.60 (colored)

Catch up to -current.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Aug 26 13:09:39 2002 UTC (21 years, 7 months ago) by augustss
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Changes since 1.77: +2 -16 lines
Diff to previous 1.77 (colored)

Get rid of sysctl for setting BCM2033 firmware path.  It doesn't work
for ports that don't include files.usb, and it's also not done quite
the way it should.

Revision 1.77 / (download) - annotate - [select for diffs], Sun Aug 25 22:51:05 2002 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.76: +5 -5 lines
Diff to previous 1.76 (colored)

Fix signed/unsigned comparison warnings from GCC 3.3.

Revision 1.76 / (download) - annotate - [select for diffs], Sat Aug 24 17:27:01 2002 UTC (21 years, 7 months ago) by augustss
Branch: MAIN
Changes since 1.75: +16 -2 lines
Diff to previous 1.75 (colored)

Add sysctl support for hw.dev.ubtbcmfw (so I can set the firmware
path for my BCM2033).

Revision 1.60.2.12 / (download) - annotate - [select for diffs], Thu Aug 1 02:47:00 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.11: +9 -3 lines
Diff to previous 1.60.2.11 (colored) to branchpoint 1.60 (colored)

Catch up to -current.

Revision 1.74.4.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:37:18 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.74: +7 -2 lines
Diff to previous 1.74 (colored)

catch up with -current.

Revision 1.60.2.11 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:38 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.10: +1 -2 lines
Diff to previous 1.60.2.10 (colored) to branchpoint 1.60 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.75 / (download) - annotate - [select for diffs], Tue Jul 2 17:06:19 2002 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.74: +7 -2 lines
Diff to previous 1.74 (colored)

provide KERN_URND, which extracts sizeof(int) random number from the kernel
(similar to /dev/urandom, for use within chroot jail).

Revision 1.65.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:52:02 2002 UTC (21 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.65.2.2: +19 -2 lines
Diff to previous 1.65.2.2 (colored)

catch up with -current on kqueue branch

Revision 1.60.2.10 / (download) - annotate - [select for diffs], Wed Apr 24 04:21:27 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.9: +3 -3 lines
Diff to previous 1.60.2.9 (colored) to branchpoint 1.60 (colored)

Add a field for the underlying process state, as distinct from the
state of the selected representative LWP.

Revision 1.60.2.9 / (download) - annotate - [select for diffs], Tue Apr 23 21:52:51 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.8: +2 -1 lines
Diff to previous 1.60.2.8 (colored) to branchpoint 1.60 (colored)

Add a field to kinfo_lwp with the address of the LWP structure in kernel space.

Revision 1.60.2.8 / (download) - annotate - [select for diffs], Tue Apr 23 04:05:16 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.7: +4 -2 lines
Diff to previous 1.60.2.7 (colored) to branchpoint 1.60 (colored)

Rearrange kinfo_lwp slightly to be more structure-alignment friendly.

Revision 1.60.2.7 / (download) - annotate - [select for diffs], Tue Apr 23 03:30:47 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.6: +29 -2 lines
Diff to previous 1.60.2.6 (colored) to branchpoint 1.60 (colored)

Add a couple of LWP-related fields to the end of struct kinfo_proc2.
Define a new struct kinfo_lwp.

Revision 1.60.2.6 / (download) - annotate - [select for diffs], Mon Apr 1 07:49:13 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.5: +19 -2 lines
Diff to previous 1.60.2.5 (colored) to branchpoint 1.60 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.74 / (download) - annotate - [select for diffs], Wed Mar 20 00:23:46 2002 UTC (22 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.73: +19 -2 lines
Diff to previous 1.73 (colored)

new emulation specific sysctls.

Revision 1.73.4.1 / (download) - annotate - [select for diffs], Mon Mar 11 18:28:54 2002 UTC (22 years, 1 month ago) by thorpej
Branch: newlock
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

Convert sysctl_memlock to an adaptive mutex.

Revision 1.60.2.5 / (download) - annotate - [select for diffs], Thu Feb 28 04:15:25 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.4: +28 -4 lines
Diff to previous 1.60.2.4 (colored) to branchpoint 1.60 (colored)

Catch up to -current.

Revision 1.65.2.2 / (download) - annotate - [select for diffs], Mon Feb 11 20:10:45 2002 UTC (22 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.65.2.1: +28 -4 lines
Diff to previous 1.65.2.1 (colored)

Sync w/ -current.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Jan 31 00:32:47 2002 UTC (22 years, 2 months ago) by kleink
Branch: MAIN
CVS Tags: newlock-base, ifpoll-base
Branch point for: newlock
Changes since 1.72: +4 -2 lines
Diff to previous 1.72 (colored)

Add {POSIX_MONOTONIC_CLOCK} variables.

Revision 1.72 / (download) - annotate - [select for diffs], Mon Jan 28 02:06:04 2002 UTC (22 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.71: +22 -2 lines
Diff to previous 1.71 (colored)

Add sysctls to read tk_{nin,nout,cancc,rawcc} (under a kern.tkstat node).
"extern" those variables in <sys/dkstat.h>, and add declarations for them
in sys/tty.c

Revision 1.71 / (download) - annotate - [select for diffs], Sun Jan 27 12:41:08 2002 UTC (22 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.70: +5 -3 lines
Diff to previous 1.70 (colored)

Implement the hw.disknames and hw.diskstats sysctl's that have been listed
in <sys/sysctl.h> since day one but never implemented.

Revision 1.60.2.4 / (download) - annotate - [select for diffs], Mon Oct 22 20:42:12 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.3: +1 -1 lines
Diff to previous 1.60.2.3 (colored) to branchpoint 1.60 (colored)

Catch up to -current.

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Thu Oct 11 00:02:35 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.67: +1 -1 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Oct 5 19:05:06 2001 UTC (22 years, 6 months ago) by eeh
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Changes since 1.69: +2 -4 lines
Diff to previous 1.69 (colored)

Remove the property sysctl interface for now.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Oct 5 05:46:50 2001 UTC (22 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

Fix a typo so that /sbin/sysctl compiles again.

Revision 1.68 / (download) - annotate - [select for diffs], Thu Oct 4 19:03:59 2001 UTC (22 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.67: +4 -2 lines
Diff to previous 1.67 (colored)

Add sysctl for generic properties.

Revision 1.60.2.3 / (download) - annotate - [select for diffs], Fri Aug 24 00:13:11 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.2: +28 -54 lines
Diff to previous 1.60.2.2 (colored) to branchpoint 1.60 (colored)

Catch up with -current.

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:14:06 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.65: +6 -2 lines
Diff to previous 1.65 (colored)

update to -current

Revision 1.67 / (download) - annotate - [select for diffs], Fri Jul 27 21:19:09 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.66: +4 -2 lines
Diff to previous 1.66 (colored)

Add a sysctl to frob sb_max.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Jul 14 06:36:02 2001 UTC (22 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.65: +4 -2 lines
Diff to previous 1.65 (colored)

Add support for kern.maxphys, vm.maxslp, vm.uspace (the later two for ps).

Revision 1.65 / (download) - annotate - [select for diffs], Mon Jul 9 10:25:21 2001 UTC (22 years, 9 months ago) by simonb
Branch: MAIN
Branch point for: kqueue
Changes since 1.64: +23 -31 lines
Diff to previous 1.64 (colored)

De-__P kernel prototypes.

Revision 1.64 / (download) - annotate - [select for diffs], Mon Jul 2 20:48:31 2001 UTC (22 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.63: +1 -20 lines
Diff to previous 1.63 (colored)

Move CTL_PIPE_NAMES and KERN_PIPE_* from <sys/sysctl.h> to <sys/pipe.h>

Revision 1.60.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:09:58 2001 UTC (22 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.1: +25 -1 lines
Diff to previous 1.60.2.1 (colored) to branchpoint 1.60 (colored)

Catch up to -current.

Revision 1.63 / (download) - annotate - [select for diffs], Thu Jun 21 19:08:36 2001 UTC (22 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.62: +1 -4 lines
Diff to previous 1.62 (colored)

Move prototype of sysctl_dopipe() from <sys/sysctl.h> to <sys/pipe.h>
and adjust kern/kern_sysctl.c accordingly.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Jun 16 12:00:03 2001 UTC (22 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.61: +26 -2 lines
Diff to previous 1.61 (colored)

Add port of high performance pipe implementation written by John S. Dyson
for FreeBSD project. Besides huge speed boost compared with socketpair-based
pipes, this implementation also uses pagable kernel memory instead of mbufs.

Significant differences to FreeBSD version:
* uses uvm_loan() facility for direct write
* async/SIGIO handling correct also for sync writer, async reader
* limits settable via sysctl, amountpipekva and nbigpipes available via sysctl
* pipes are unidirectional - this is enforced on file descriptor level
	for now only, the code would be updated to take advantage of it
	eventually
* uses lockmgr(9)-based locks instead of home brew variant
* scatter-gather write is handled correctly for direct write case, data
  is transferred by PIPE_DIRECT_CHUNK bytes maximum, to avoid running out of kva

All FreeBSD/NetBSD specific code is within appropriate #ifdef, in preparation
to feed changes back to FreeBSD tree.

This pipe implementation is optional for now, add 'options NEW_PIPE'
to your kernel config to use it.

Revision 1.61 / (download) - annotate - [select for diffs], Fri May 4 15:50:13 2001 UTC (22 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

Fix current KERN_MAXID - it was one too many.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:50:04 2001 UTC (23 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.60: +3 -1 lines
Diff to previous 1.60 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.38.2.3 / (download) - annotate - [select for diffs], Thu Jan 18 09:24:03 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.38.2.2: +9 -1 lines
Diff to previous 1.38.2.2 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with head (for UBC+NFS fixes, mostly).

Revision 1.60 / (download) - annotate - [select for diffs], Tue Jan 9 21:30:25 2001 UTC (23 years, 3 months ago) by fvdl
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.59: +10 -2 lines
Diff to previous 1.59 (colored)

Add 'vendor' toplevel name. To be used as vendor.<vendorname>.* for
vendor-specific data.

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:06:41 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.38.2.1: +9 -3 lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored)

Sync with HEAD.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:37 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.38: +215 -52 lines
Diff to previous 1.38 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.59 / (download) - annotate - [select for diffs], Mon Nov 20 01:46:56 2000 UTC (23 years, 5 months ago) by simonb
Branch: MAIN
Changes since 1.58: +2 -1 lines
Diff to previous 1.58 (colored)

Add a sysctl_rdminstruct() function - same as sysctl_rdstruct() but
can return short data if *oldlenp is less than len.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Nov 19 00:54:50 2000 UTC (23 years, 5 months ago) by sommerfeld
Branch: MAIN
Changes since 1.57: +4 -1 lines
Diff to previous 1.57 (colored)

Extend kinfo_proc2 with CPU id

Revision 1.57 / (download) - annotate - [select for diffs], Wed Nov 8 22:41:59 2000 UTC (23 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.56: +5 -3 lines
Diff to previous 1.56 (colored)

Add console magic sequence framework.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Sep 9 16:42:06 2000 UTC (23 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (colored)

allocate pty kernel structures on demand at run-time - this allows
to support arbitrary number of ptys without need of kernel recompile
(the extra device special files in /dev/ still need to be created, of course)

upper limit of supported ptys is controlled via new sysctl variable
kern.maxptys (KERN_MAXPTYS), which is raise-only and defaults to 512.

Revision 1.51.2.3 / (download) - annotate - [select for diffs], Mon Jul 24 20:39:50 2000 UTC (23 years, 8 months ago) by jdolecek
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.51.2.2: +1 -3 lines
Diff to previous 1.51.2.2 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

pullup rev. 1.55 from trunk (approved by thorpej):
remove ifndef _KERNEL around vm includes & other stuff, needed for
definition of kinfo_proc

Revision 1.55 / (download) - annotate - [select for diffs], Sat Jul 22 14:59:23 2000 UTC (23 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.54: +1 -3 lines
Diff to previous 1.54 (colored)

ditch the ifndef _KERNEL around includes needed for some parts
of kinfo_struct - needing to include <uvm/uvm_extern> before <sys/sysctl.h>
is annoying, especially when porting external kernel stuff

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Sat Jul 22 04:36:19 2000 UTC (23 years, 9 months ago) by simonb
Branch: netbsd-1-5
Changes since 1.51.2.1: +4 -2 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored)

Pull up rev 1.53:
 Add a KERN_CONSDEV sysctl that returns cn_tab->cn_dev (if cn_tab is not
 NULL).

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Fri Jul 14 18:10:51 2000 UTC (23 years, 9 months ago) by thorpej
Branch: netbsd-1-5
Changes since 1.51: +10 -4 lines
Diff to previous 1.51 (colored)

Update from trunk:
- Fix the likely cause of the "ps(1) hangs machine" problem.  Always
  vslock the user pages for the data being copied out to userspace,
  so that we won't sleep while holding a lock in case we need to
  fault the pages in.
- Sprinkle some const and ANSI'ify some things while here.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Jul 14 07:21:22 2000 UTC (23 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.53: +10 -4 lines
Diff to previous 1.53 (colored)

- Fix the likely cause of the "ps(1) hangs machine" problem.  Always
  vslock the user pages for the data being copied out to userspace,
  so that we won't sleep while holding a lock in case we need to
  fault the pages in.
- Sprinkle some const and ANSI'ify some things while here.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jul 13 14:26:44 2000 UTC (23 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.52: +4 -2 lines
Diff to previous 1.52 (colored)

Add a KERN_CONSDEV sysctl that returns cn_tab->cn_dev (if cn_tab is not
NULL).

Revision 1.52 / (download) - annotate - [select for diffs], Thu Jun 29 09:01:09 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

use <uvm/uvm_extern.h> instead of <vm/vm.h>

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:10:28 2000 UTC (23 years, 10 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.47: +56 -45 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jun 16 00:18:10 2000 UTC (23 years, 10 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.50: +4 -2 lines
Diff to previous 1.50 (colored)

Add a KERN_MSGBUF sysctl to return the message buffer.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Jun 13 01:27:02 2000 UTC (23 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.49: +33 -31 lines
Diff to previous 1.49 (colored)

In the KERN_GETPROC* handler:
* Handle KERN_PROC_SESSION that has been defined in <sys/sysctl.h> from
  day one.
* Add handlers for KERN_PROC_GID and KERN_PROC_RGID.
* If "op" doesn't valid, return EINVAL.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Jun 3 04:15:43 2000 UTC (23 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

p_xstat and p_acflag should be u_int16_t, not int16_t.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Jun 2 15:53:05 2000 UTC (23 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.47: +20 -13 lines
Diff to previous 1.47 (colored)

Add new sysctl node "KERN_SYSVIPC_INFO" with "KERN_SYSVIPC_MSG_INFO",
"KERN_SYSVIPC_SEM_INFO" and "KERN_SYSVIPC_SHM_INFO" to return the
info and data structures for the relevent SysV IPC types.  The return
structures use fixed-size types and should be compat32 safe.  All
user-visible changes are protected with
	#if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)

Make all variable declarations extern in msg.h, sem.h and shm.h and
add relevent variable declarations to sysv_*.c and remove unneeded
header files from those .c files.

Make compat14 SysV IPC conversion functions and sysctl_file() static.

Change the data pointer to "void *" in sysctl_clockrate(),
sysctl_ntptime(), sysctl_file() and sysctl_doeproc().

Revision 1.47 / (download) - annotate - [select for diffs], Sat May 27 15:28:58 2000 UTC (23 years, 10 months ago) by simonb
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

The name of the KERN_PROC_ARGS sysctl is proc_args, not proc_argv.

Revision 1.46 / (download) - annotate - [select for diffs], Fri May 26 02:23:14 2000 UTC (23 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.45: +146 -3 lines
Diff to previous 1.45 (colored)

Add some new sysctls to help abolish the dreaded "proc size mismatch"
errors from ps(1) and some other kernel grovellers, and return some
data that has previously only been accessable with /dev/kmem read
access.  The sysctls are:

 + KERN_PROC2 - return an array of fixed sized "struct kinfo_proc2"
   structures that contain most of the useful user-level data in
   "struct proc" and "struct user".  The sysctl also takes the size of
   each element, so that if "struct kinfo_proc2" grows over time old
   binaries will still be able to request a fixed size amount of data.
 + KERN_PROC_ARGS - return the argv or envv for a particular process id.
   envv will only be returned if the process has the same user id as the
   requestor or if the requestor is root.
 + KERN_FSCALE - return the current kernel fixpt scale factor.
 + KERN_CCPU - return the scheduler exponential decay value.
 + KERN_CP_TIME - return cpu time state counters.

With input and suggestions from many people on tech-kern.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Apr 15 17:51:27 2000 UTC (24 years ago) by simonb
Branch: MAIN
Changes since 1.44: +1 -4 lines
Diff to previous 1.44 (colored)

Remove some routing specific sysctl function declarations from
<sys/sysctl.h> and make them static in net/rtsock.c.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Apr 15 17:43:53 2000 UTC (24 years ago) by simonb
Branch: MAIN
Changes since 1.43: +1 -5 lines
Diff to previous 1.43 (colored)

There is no vm_sysctl() or fs_sysctl() - don't declare prototypes for
them.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Apr 15 04:38:08 2000 UTC (24 years ago) by simonb
Branch: MAIN
Changes since 1.42: +7 -1 lines
Diff to previous 1.42 (colored)

For the KERN_PROC sysctl, when using KERN_PROC_TTY allow
KERN_PROC_TTY_NODEV to select processes with no controlling
tty and KERN_PROC_TTY_REVOKE to select processes with a
revoked controlling tty.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Mar 28 05:07:42 2000 UTC (24 years ago) by simonb
Branch: MAIN
Changes since 1.41: +2 -4 lines
Diff to previous 1.41 (colored)

Remove duplicate declarations of sysctl_rdstring() and sysctl_rdstruct().

Revision 1.41 / (download) - annotate - [select for diffs], Sun Feb 27 06:13:40 2000 UTC (24 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.40: +4 -2 lines
Diff to previous 1.40 (colored)

add hw.alignbytes sysctl mib.  this gives you the value of ALIGNBYTES
at the kernel compilation time (ALIGNBYTES that the kernel uses).

Revision 1.40 / (download) - annotate - [select for diffs], Sun Feb 6 07:29:59 2000 UTC (24 years, 2 months ago) by fair
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.39: +4 -2 lines
Diff to previous 1.39 (colored)

Add kernel logging of processes which exit on signals which can
cause a core to drop, and whether the core dropped, or, if it did
not, why not (i.e. error number). Logs process ID, name, signal that
hit it, and whether the core dump was successful.

logging only happens if kern_logsigexit is non-zero, and it can be
changed by the new sysctl(3) value KERN_LOGSIGEXIT. The name of this
sysctl and its function are taken from FreeBSD, at the suggestion
of Greg Woods in PR 6224. Default behavior is zero for a normal
kernel, and one for a kernel compiled with DIAGNOSTIC.

Revision 1.38.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:36:35 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Pull up to last week's -current.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Nov 19 10:41:41 1999 UTC (24 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Update protocoles and interfaces stats counters to 64bit.
RTM_IFINFO is now 0xf, 0xe is RTM_OIFINFO which returns the old (if_msghdr14)
struct with 32bit counters (binary compat, conditioned on COMPAT_14).
Same for sysctl: node 3 is renamed NET_RT_OIFLIST, NET_RT_IFLIST is now node 4.
Change rt_msg1() to add an mbuf to the mbuf chain instead of just panic()
when the message is larger than MHLEN.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Sep 29 11:58:45 1999 UTC (24 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.37: +6 -4 lines
Diff to previous 1.37 (colored)

keep KERN_SHORTCORENAME mid id for binary compat (the kernel will return
EOPNOTSUPP) and gives KERN_DEFCORENAME a new, unused id.
Suggested by cgd (thanks !:)

Revision 1.37 / (download) - annotate - [select for diffs], Tue Sep 28 14:47:04 1999 UTC (24 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.36: +66 -5 lines
Diff to previous 1.36 (colored)

Remplace kern.shortcorename sysctl with a more flexible sheme,
core filename format, which allow to change the name of the core dump,
and to relocate it in a directory. Credits to Bill Sommerfeld for giving me
the idea :)
The default core filename format can be changed by options DEFCORENAME and/or
kern.defcorename
Create a new sysctl tree, proc, which holds per-process values (for now
the corename format, and resources limits). Process is designed by its pid
at the second level name. These values are inherited on fork, and the corename
fomat is reset to defcorename on suid/sgid exec.
Create a p_sugid() function, to take appropriate actions on suid/sgid
exec (for now set the P_SUGID flag and reset the per-proc corename).
Adjust dosetrlimit() to allow changing limits of one proc by another, with
credential controls.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Sep 27 16:24:40 1999 UTC (24 years, 6 months ago) by kleink
Branch: MAIN
Changes since 1.35: +4 -2 lines
Diff to previous 1.35 (colored)

1003.1c: add {LOGIN_NAME_MAX}.

Revision 1.33.6.2 / (download) - annotate - [select for diffs], Thu Jul 1 23:50:36 1999 UTC (24 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.33.6.1: +10 -2 lines
Diff to previous 1.33.6.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync w/ -current.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jun 24 14:18:12 1999 UTC (24 years, 10 months ago) by kleink
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.34: +10 -2 lines
Diff to previous 1.34 (colored)

Add compile-time and run-time feature test knobs for the 1003.1 Mapped Files,
Process Memory Locking, Range Memory Locking and Memory Protection options.

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:30:23 1999 UTC (24 years, 10 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.33: +5 -2 lines
Diff to previous 1.33 (colored)

Sync w/ -current.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Apr 26 21:54:46 1999 UTC (24 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +5 -2 lines
Diff to previous 1.33 (colored)

Add mbuf sysctl definitions.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Nov 13 12:07:51 1998 UTC (25 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

make sysctl newp argument const void * to avoid const castaway warnings in
many places in the source. Unfortunately I am not fixing right now the
second argument from u_int to size_t because it is going to break some
ports. In anycase, the sysctl interface will change shortly.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Oct 29 21:22:33 1998 UTC (25 years, 5 months ago) by jonathan
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.31: +4 -2 lines
Diff to previous 1.31 (colored)

Add options DDB_FROMCONSOLE and sysctl ddb.fromconsole, analagous to
DDB_ONPANIC. Lets user ignore breaks but enter DDB on panic.  Intended
for machines where debug on panic is useful, but DDB entry is not,
(public-access console, or terminal-servers which send spurious breaks)

Add new ddb hook, console_debugger(), which decides whether or not to
ignore console ddb requests. Console drivers should be updated to call
console_debugger(), not Debugger(), in response to serial-console
break or ddb keyboard sequence.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Aug 3 14:38:21 1998 UTC (25 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.30: +6 -2 lines
Diff to previous 1.30 (colored)

Add support to query the
* availability of POSIX Synchronized I/O (kern.synchronized_io),
* maximum number of iovec structures to be used in readv(2) etc. (kern.iov_max)
via sysctl().

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jul 4 22:18:52 1998 UTC (25 years, 9 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.29: +4 -5 lines
Diff to previous 1.29 (colored)

defopt DDB.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jun 28 21:34:59 1998 UTC (25 years, 9 months ago) by nathanw
Branch: MAIN
Changes since 1.28: +4 -2 lines
Diff to previous 1.28 (colored)

Implement short corefile name support, controlled by options SHORTCORENAME
and sysctl kern.shortcorename.

Closes PR kern/5191.

Revision 1.28 / (download) - annotate - [select for diffs], Sun May 24 19:52:01 1998 UTC (25 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.27: +10 -2 lines
Diff to previous 1.27 (colored)

Permit checking the availability of the POSIX File Synchronization Option
(a/k/a fsync(2)), System V style message queues, semaphores and shared memory
at runtime by adding a sysctl variable for each.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Mar 3 01:40:51 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Always define the ctldebug structure.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Mar 1 02:24:15 1998 UTC (26 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

Merge with Lite2 + local changes

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:58 1998 UTC (26 years, 1 month ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +3 -3 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:11:10 1998 UTC (26 years, 1 month ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1: +1 -3 lines
Diff to previous 1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.25 / (download) - annotate - [select for diffs], Sat Feb 14 00:37:28 1998 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 (colored)

Prevent the session ID from disappearing if the session leader exits
(thus causing s_leader to become NULL) by storing the session ID separately
in the session structure.  Export the session ID to userspace in the
eproc structure.

Submitted by Tom Proett <proett@nas.nasa.gov>.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Mon Sep 22 06:34:23 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.23: +4 -2 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Sep 19 14:05:53 1997 UTC (26 years, 7 months ago) by leo
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Changes since 1.23: +4 -2 lines
Diff to previous 1.23 (colored)

Implement the kernel part of pr-1891. This allows for a more flexible sized
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jun 6 23:14:38 1997 UTC (26 years, 10 months ago) by veego
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp, bouyer-scsipi
Branch point for: marc-pcmcia
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (colored)

Add HW_MACHINE_ARCH for the new sysctl hw.machine_arch which contains the
cpu class of a machine.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Mar 19 05:36:26 1997 UTC (27 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

e_wmesg doesn't need to be NUL-terminated; give it an extra byte instead.

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Wed Mar 12 21:26:14 1997 UTC (27 years, 1 month ago) by is
Branch: is-newarp
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Merge in changes from Trunk

Revision 1.21 / (download) - annotate - [select for diffs], Thu Feb 27 06:25:27 1997 UTC (27 years, 1 month ago) by mikel
Branch: MAIN
CVS Tags: is-newarp-before-merge
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

fix reversal of strings for ddb.lines and ddb.tabstops; from Andrew
  Wheadon in PR kern/3262.
fix a typo in a comment while I'm here.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jan 31 03:03:29 1997 UTC (27 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Changes since 1.19: +5 -3 lines
Diff to previous 1.19 (colored)

Define the kern.root_device sysctl node.

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Sat Jan 18 04:33:24 1997 UTC (27 years, 3 months ago) by thorpej
Branch: thorpej-setroot
Changes since 1.18.2.1: +2 -2 lines
Diff to previous 1.18.2.1 (colored) next main 1.19 (colored)

Update from trunk.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jan 15 01:37:56 1997 UTC (27 years, 3 months ago) by perry
Branch: MAIN
Changes since 1.18: +4 -2 lines
Diff to previous 1.18 (colored)

Eliminate obsolete TIMEZONE and DST options.
Eliminate obsolete global kernel variable "struct timezone tz"
Add RTC_OFFSET option
Add global kernel variable rtc_offset, which is initialized by
RTC_OFFSET at kernel compile time.
on i386, x68k, mac68k, pc532 and arm32, RTC_OFFSET indicates how many
minutes west (east) of GMT the hardware RTC runs. Defaults to 0.
Places where tz variable was used to indicate this in the past have
been replaced with rtc_offset.
Add sysctl interface to rtc_offset.
Kill obsolete DST_* macros in sys/time.h
gettimeofday now always returns zeroed timezone if zone is requested.
settimeofday now ignores and logs attempts to set non-existant kernel
timezone.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Tue Jan 14 21:27:27 1997 UTC (27 years, 3 months ago) by thorpej
Branch: thorpej-setroot
Changes since 1.18: +6 -2 lines
Diff to previous 1.18 (colored)

Snapshot of work-in-progress, committed to private branch.

These changes implement machine-independent root device and file system
selection.  Notable features:

	- All ports behave in a consistent manner regarding root
	  device selection.
	- No more "options GENERIC"; all kernels have the ability
	  to boot with RB_ASKNAME to select root device and file system
	  type.
	- Root file system type can be wildcarded; a machine-independent
	  function will try all possible file systems for the selected
	  root device until one succeeds.
	- If the root file system fails to mount, the operator will
	  be given the chance to select a new root device and file
	  system type, rather than having the machine simply panic.
	- nfs_mountroot() no longer panics if any part of the NFS
	  mount process fails; it now returns an error, giving the
	  operator a chance to recover.
	- New, more consistent, config(8) grammar.  The constructs:

		config netbsd swap generic
		config netbsd root on nfs

	  have been replaced with:

		config netbsd root on ? type ?
		config netbsd root on ? type nfs

	  Additionally, the operator may select or wildcard root file
	  system type in the kernel configuration file:

		config netbsd root on cd0a type cd9660

	  config(8) now requires that a "root" specification be
	  made.  "root" may be wired down or wildcarded.  "swap" and
	  "dump" specifications are optional, and follow previous
	  semantics.

	- config(8) has a new "file-system" keyword, used to configure
	  file systems into the kernel.  Eventually, this will be used
	  to generate the default vfssw[].

	- "options NFSCLIENT" is obsolete, and is replaced by
	  "file-system NFS".  "options NFSSERVER" still exists, since
	  NFS server support is independent of the NFS file system
	  client.

	- sys/arch/<foo>/<foo>/swapgeneric.c is no longer used, and
	  will be removed; all information is now generated by config(8).

As of this commit, all ports except arm32 have been updated to use
the new setroot().  Only SPARC, i386, and Alpha ports have been
tested at this time.  Port masters should test these changes on their
ports, and report any problems back to me.

More changes are on their way, including RB_ASKNAME support in
nfs_mountroot() (to prompt for server address and path) and, potentially,
the ability to select rarp/bootparam or bootp in nfs_mountroot().

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jan 9 05:33:42 1997 UTC (27 years, 3 months ago) by thorpej
Branch: MAIN
Branch point for: thorpej-setroot
Changes since 1.17: +29 -2 lines
Diff to previous 1.17 (colored)

Define top-level MIB node for DDB (CTL_DDB) and DDB MIB identifiers.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jul 17 21:43:22 1996 UTC (27 years, 9 months ago) by explorer
Branch: MAIN
Changes since 1.16: +6 -2 lines
Diff to previous 1.16 (colored)

Add compile-time and run-time control over automatic niceing

Revision 1.16 / (download) - annotate - [select for diffs], Tue Apr 9 20:55:36 1996 UTC (28 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

fix extra spaces at ends of lines, etc.  (all spacing nits.)

Revision 1.15 / (download) - annotate - [select for diffs], Sun Mar 17 02:42:48 1996 UTC (28 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored)

Prototype sysctl_doprof()

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 12 00:22:43 1996 UTC (28 years, 1 month ago) by jonathan
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

Add missing CTL_KERN_NAMES entry for "timex", the  kernel NTP state.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 7 14:29:46 1996 UTC (28 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

exec_ecoff.h: add missing prototype for cpu_exec_ecoff_hook
sysctl.h: added missing prototype for sysctl_ntptime
systm.h: added missing prototypes for setjmp, longjmp.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Feb 27 04:20:33 1996 UTC (28 years, 1 month ago) by jonathan
Branch: MAIN
Changes since 1.11: +5 -2 lines
Diff to previous 1.11 (colored)

Add NTP kernel precision timekeeping from Dave Mill's xntp distribution
and the "kernel.tar.Z" distribution on louie.udel.edu, which is older than
xntp 3.4y or 3.5a, but contains newer kernel source fragments.

This commit adds support for a new kernel configuration option, NTP.
If NTP is selected, then the system clock should be run at "HZ", which
must be defined at compile time to be one value from:
  60, 64, 100, 128, 256, 512, 1024.

Powers of 2 are ideal; 60 and 100 are supported but are marginally less
accurate.

If NTP is not configured, there should be no change in behavior relative
to pre-NTP kernels.

These changes have been tested extensively with xntpd 3.4y on a decstation;
almost identical kernel mods work on an i386.  No pulse-per-second (PPS)
line discipline support is included, due to unavailability of hardware
to test it.

With this in-kernel PLL support for NetBSD, both xntp 3.4y and xntp
3.5a user-level code need minor changes. xntp's prototype for
syscall() is  correct for FreeBSD, but not for NetBSD.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Feb 9 18:25:39 1996 UTC (28 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 (colored)

Filesystem prototype changes

Revision 1.10 / (download) - annotate - [select for diffs], Sun Feb 4 02:12:42 1996 UTC (28 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.9: +27 -1 lines
Diff to previous 1.9 (colored)

Fix some missing/wrong prototypes so that kern/* compiles again

Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 4 18:36:08 1995 UTC (28 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.8: +4 -2 lines
Diff to previous 1.8 (colored)

Add and document a `kern.rawpartition' sysctl.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Mar 29 22:10:15 1995 UTC (29 years ago) by briggs
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

KERNEL -> _KERNEL

Revision 1.7 / (download) - annotate - [select for diffs], Sun Mar 26 20:24:49 1995 UTC (29 years ago) by jtc
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

KERNEL -> _KERNEL

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 25 06:08:12 1995 UTC (29 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored)

implement sysctl variable kern.maxpartitions

Revision 1.5 / (download) - annotate - [select for diffs], Fri Sep 16 23:57:31 1994 UTC (29 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +1 -10 lines
Diff to previous 1.4 (colored)

sparc is not special anymore

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 29 06:45:35 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 27 19:32:10 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

new standard, minimally intrusive ID format

Revision 1.2 / (download) - annotate - [select for diffs], Fri May 6 22:43:52 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

don't forget that id!

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 6 22:42:07 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN

latent support for general sysctl-ish stuff

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>