Up to [cvs.netbsd.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.232.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:26 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.232: +11 -4
lines
Diff to previous 1.232 (colored) next main 1.233 (colored)
sync with head
Revision 1.233.2.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:39 2012 UTC (7 weeks, 1 day ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.233: +3 -3
lines
Diff to previous 1.233 (colored) next main 1.234 (colored)
sync to latest -current.
Revision 1.233.4.1 / (download) - annotate - [select for diffs], Thu Mar 22 22:56:54 2012 UTC (2 months ago) by riz
Branch: netbsd-6
Changes since 1.233: +3 -3
lines
Diff to previous 1.233 (colored) next main 1.234 (colored)
Pull up following revision(s) (requested by martin in ticket #135): sys/kern/kern_sysctl.c: revision 1.234 Fix query of IMMEDIATE bool values (copy & pasto).
Revision 1.234 / (download) - annotate - [select for diffs], Wed Mar 21 14:51:36 2012 UTC (2 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
HEAD
Changes since 1.233: +3 -3
lines
Diff to previous 1.233 (colored)
Fix query of IMMEDIATE bool values (copy & pasto).
Revision 1.233 / (download) - annotate - [select for diffs], Sat Nov 19 22:51:25 2011 UTC (6 months ago) by tls
Branch: MAIN
CVS Tags: netbsd-6-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base
Branch point for: netbsd-6,
jmcneill-usbmp
Changes since 1.232: +10 -3
lines
Diff to previous 1.232 (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.232 / (download) - annotate - [select for diffs], Wed Oct 5 13:24:09 2011 UTC (7 months, 2 weeks ago) by apb
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.231: +3 -3
lines
Diff to previous 1.231 (colored)
s/null terminate/NUL terminate/ in a comment. From PR 45422 by Greg Woods.
Revision 1.231 / (download) - annotate - [select for diffs], Sun Jul 17 20:54:52 2011 UTC (10 months, 1 week ago) by joerg
Branch: MAIN
Changes since 1.230: +2 -3
lines
Diff to previous 1.230 (colored)
Retire varargs.h support. Move machine/stdarg.h logic into MI sys/stdarg.h and expect compiler to provide proper builtins, defaulting to the GCC interface. lint still has a special fallback. Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and derive va_list as required by standards.
Revision 1.229.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:32 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.229: +17 -5
lines
Diff to previous 1.229 (colored) next main 1.230 (colored)
Sync with HEAD.
Revision 1.228.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:16 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.228.4.1: +17 -5
lines
Diff to previous 1.228.4.1 (colored) to branchpoint 1.228 (colored) next main 1.229 (colored)
sync with head
Revision 1.229.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:59 2011 UTC (15 months, 2 weeks ago) by bouyer
Branch: bouyer-quota2
Changes since 1.229: +17 -5
lines
Diff to previous 1.229 (colored) next main 1.230 (colored)
Sync with HEAD
Revision 1.230 / (download) - annotate - [select for diffs], Fri Jan 28 18:44:44 2011 UTC (15 months, 3 weeks ago) by pooka
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base
Changes since 1.229: +17 -5
lines
Diff to previous 1.229 (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.215.4.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:41 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.215.4.4: +5 -3
lines
Diff to previous 1.215.4.4 (colored) to branchpoint 1.215 (colored) next main 1.216 (colored)
sync with head.
Revision 1.228.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:57 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.228: +5 -3
lines
Diff to previous 1.228 (colored)
sync with head
Revision 1.228.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:11 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.228: +5 -3
lines
Diff to previous 1.228 (colored) next main 1.229 (colored)
Sync with HEAD.
Revision 1.229 / (download) - annotate - [select for diffs], Sun Apr 11 01:50:25 2010 UTC (2 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Changes since 1.228: +5 -3
lines
Diff to previous 1.228 (colored)
reject attempts to write CTLTYPE_BOOL nodes with a value other than 0 or 1.
Revision 1.215.4.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:17 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.215.4.3: +18 -8
lines
Diff to previous 1.215.4.3 (colored) to branchpoint 1.215 (colored)
sync with head
Revision 1.228 / (download) - annotate - [select for diffs], Wed Jan 13 01:53:38 2010 UTC (2 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
uebayasi-xip-base
Branch point for: uebayasi-xip,
rmind-uvmplock
Changes since 1.227: +4 -3
lines
Diff to previous 1.227 (colored)
Minimize unnecessary differences in rump.
Revision 1.227 / (download) - annotate - [select for diffs], Thu Dec 24 19:01:12 2009 UTC (2 years, 5 months ago) by elad
Branch: MAIN
Changes since 1.226: +5 -2
lines
Diff to previous 1.226 (colored)
When reporting open files using sysctl, don't use 'filehead' to fetch files, as we don't have a process context to authorize on. Instead, traverse the file descriptor table of each process -- as we already do in one case. Introduce a "marker" we can use to mark files we've seen in an iteration, as the same file can be referenced more than once. Hopefully this availability of filtering by process also makes life easier for those who are interested in implementing process "containers" etc.
Revision 1.226 / (download) - annotate - [select for diffs], Wed Sep 16 15:23:04 2009 UTC (2 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: matt-premerge-20091211,
jym-xensuspend-nbase
Changes since 1.225: +14 -8
lines
Diff to previous 1.225 (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.215.4.3 / (download) - annotate - [select for diffs], Wed Sep 16 13:38:01 2009 UTC (2 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.215.4.2: +63 -29
lines
Diff to previous 1.215.4.2 (colored) to branchpoint 1.215 (colored)
sync with head
Revision 1.225 / (download) - annotate - [select for diffs], Mon Aug 24 20:53:00 2009 UTC (2 years, 9 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.224: +17 -17
lines
Diff to previous 1.224 (colored)
In sysctl_create(), the first character of sysctl_name is sysctl_name[0], so write that instead of sysctl_name[sz] (where sz just happened to be set to 0 in the previous line). Also in sysctl_create(), give the length of the sysctl_name its own variable, nsz, and reserve sz for expressing the size of the node's value. No functional change intended.
Revision 1.224 / (download) - annotate - [select for diffs], Fri Aug 21 22:51:00 2009 UTC (2 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.223: +46 -12
lines
Diff to previous 1.223 (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.223 / (download) - annotate - [select for diffs], Fri Aug 21 22:43:32 2009 UTC (2 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.222: +4 -4
lines
Diff to previous 1.222 (colored)
Make sure that a sysctlnode's child nodes, even nodes that are not yet in service, have a correct pointer to their parent, sysctl_parent. This fixes a bug where sysctl_teardown(9) could not clean up a network interface's sysctl(9) trees when I detached it, because the wrong log had been recorded.
Revision 1.221.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:56 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.221: +5 -4
lines
Diff to previous 1.221 (colored) next main 1.222 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.215.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:47 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.215.4.1: +12 -9
lines
Diff to previous 1.215.4.1 (colored) to branchpoint 1.215 (colored)
sync with head.
Revision 1.218.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:00 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.218.2.1: +5 -4
lines
Diff to previous 1.218.2.1 (colored) to branchpoint 1.218 (colored) next main 1.219 (colored)
Sync with HEAD.
Revision 1.222 / (download) - annotate - [select for diffs], Wed Apr 15 20:44:25 2009 UTC (3 years, 1 month ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7,
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,
jymxensuspend-base,
jym-xensuspend-base
Changes since 1.221: +5 -4
lines
Diff to previous 1.221 (colored)
Remove a few KAUTH_GENERIC_ISSUSER in favor of more descriptive alternatives. Discussed on tech-kern: http://mail-index.netbsd.org/tech-kern/2009/04/11/msg004798.html Input from ad@, christos@, dyoung@, tsutsui@. Okay ad@.
Revision 1.218.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:39 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.218: +9 -7
lines
Diff to previous 1.218 (colored)
Sync with HEAD.
Revision 1.214.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:19 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.214.6.2: +7 -5
lines
Diff to previous 1.214.6.2 (colored) to branchpoint 1.214 (colored) next main 1.215 (colored)
Sync with HEAD.
Revision 1.221 / (download) - annotate - [select for diffs], Mon Dec 29 15:35:02 2008 UTC (3 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: nick-hppapmap-base2,
mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.220: +4 -2
lines
Diff to previous 1.220 (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.220 / (download) - annotate - [select for diffs], Fri Dec 19 17:28:59 2008 UTC (3 years, 5 months ago) by pgoyette
Branch: MAIN
Changes since 1.219: +6 -6
lines
Diff to previous 1.219 (colored)
When checking for "set-up is complete", look for the CTLFLAGS_PERMANENT in the root of the tree being modified, rather than in the system default tree. This permits module compat_netbsd32 to initialize its shadow tree at load time. Discussed on tech-kern, with no objections. Addresses my PR kern/40167
Revision 1.216.6.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:08 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.216: +3 -3
lines
Diff to previous 1.216 (colored) next main 1.217 (colored)
Update haad-dm branch to haad-dm-base2.
Revision 1.219 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:16 2008 UTC (3 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Changes since 1.218: +3 -3
lines
Diff to previous 1.218 (colored)
Remove LKMs and switch to the module framework, pass 1. Proposed on tech-kern@.
Revision 1.218 / (download) - annotate - [select for diffs], Thu Oct 23 20:41:14 2008 UTC (3 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
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,
matt-mips64-base2
Branch point for: nick-hppapmap
Changes since 1.217: +2 -4
lines
Diff to previous 1.217 (colored)
don't expose ksyms_lock
Revision 1.217 / (download) - annotate - [select for diffs], Mon Oct 20 10:24:18 2008 UTC (3 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.216: +4 -2
lines
Diff to previous 1.216 (colored)
PR kern/38814 ksyms needs locking - Make ksyms MT safe. - Fix deadlock from an operation like "modload foo.lkm < /dev/ksyms". - Fix uninitialized structure members. - Reduce memory footprint for loaded modules. - Export ksyms structures for kernel grovellers like savecore. - Some KNF.
Revision 1.214.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:10 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.214.6.1: +0 -7
lines
Diff to previous 1.214.6.1 (colored) to branchpoint 1.214 (colored)
Sync with HEAD.
Revision 1.215.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:09 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.215: +2 -9
lines
Diff to previous 1.215 (colored) next main 1.216 (colored)
sync with head.
Revision 1.215.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:26 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.215: +2 -9
lines
Diff to previous 1.215 (colored)
sync with head.
Revision 1.216.2.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:13 2008 UTC (4 years ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.216.2.1: +2 -3
lines
Diff to previous 1.216.2.1 (colored) to branchpoint 1.216 (colored) next main 1.217 (colored)
Per discussion with ad, remove most of the #include <sys/sa.h> lines as they were including sa.h just for the type(s) needed for syscallargs.h. Instead, create a new file, sys/satypes.h, which contains just the types needed for syscallargs.h. Yes, there's only one now, but that may change and it's probably more likely to change if it'd be difficult to handle. :-) Per discussion with matt at n dot o, add an include of satypes.h to sigtypes.h. Upcall handlers are kinda signal handlers, and signalling is the header file that's already included for syscallargs.h that closest matches SA. This shaves about 3000 lines off of the diff of the branch relative to the base. That also represents about 18% of the total before this checkin. I think this reduction is very good thing.
Revision 1.216.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:49:04 2008 UTC (4 years ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.216: +3 -2
lines
Diff to previous 1.216 (colored)
Initial checkin of re-adding SA. Everything except kern_sa.c compiles in GENERIC for i386. This is still a work-in-progress, but this checkin covers most of the mechanical work (changing signalling to be able to accomidate SA's process-wide signalling and re-adding includes of sys/sa.h and savar.h). Subsequent changes will be much more interesting. Also, kern_sa.c has received partial cleanup. There's still more to do, though.
Revision 1.216 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:03 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
hpcarm-cleanup-nbase,
haad-dm-base1
Branch point for: wrstuden-revivesa,
haad-dm
Changes since 1.215: +2 -9
lines
Diff to previous 1.215 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.214.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:02 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.214: +35 -3
lines
Diff to previous 1.214 (colored)
Sync with HEAD.
Revision 1.214.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:14 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.214: +35 -3
lines
Diff to previous 1.214 (colored) next main 1.215 (colored)
sync with head.
Revision 1.210.2.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:59 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.210.2.1: +39 -4
lines
Diff to previous 1.210.2.1 (colored) to branchpoint 1.210 (colored) next main 1.211 (colored)
sync with HEAD
Revision 1.183.2.6 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:33 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.183.2.5: +35 -3
lines
Diff to previous 1.183.2.5 (colored) next main 1.184 (colored)
sync with head.
Revision 1.215 / (download) - annotate - [select for diffs], Fri Feb 29 02:28:35 2008 UTC (4 years, 2 months 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
Changes since 1.214: +35 -3
lines
Diff to previous 1.214 (colored)
Add support for CTLTYPE_BOOL
Revision 1.210.8.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:46 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.210: +65 -214
lines
Diff to previous 1.210 (colored) next main 1.211 (colored)
Sync with HEAD.
Revision 1.183.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:13 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.183.2.4: +68 -217
lines
Diff to previous 1.183.2.4 (colored)
sync with head
Revision 1.210.14.3 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:22 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.210.14.2: +4 -1
lines
Diff to previous 1.210.14.2 (colored) to branchpoint 1.210 (colored) next main 1.211 (colored)
Sync with HEAD
Revision 1.214 / (download) - annotate - [select for diffs], Sat Jan 12 19:27:27 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Changes since 1.213: +6 -3
lines
Diff to previous 1.213 (colored)
sysctl_free: don't have the caller acquire sysctl_treelock, do it here.
Revision 1.210.2.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:10 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.210: +65 -217
lines
Diff to previous 1.210 (colored)
sync with HEAD
Revision 1.210.14.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:36 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.210.14.1: +60 -216
lines
Diff to previous 1.210.14.1 (colored) to branchpoint 1.210 (colored)
Sync with HEAD
Revision 1.213 / (download) - annotate - [select for diffs], Mon Jan 7 16:12:54 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.212: +62 -218
lines
Diff to previous 1.212 (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.210.14.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:01 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.210: +10 -6
lines
Diff to previous 1.210 (colored)
Sync with HEAD
Revision 1.212 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:52 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.211: +7 -3
lines
Diff to previous 1.211 (colored)
Merge vmlocking2 to head.
Revision 1.210.10.2 / (download) - annotate - [select for diffs], Wed Dec 26 23:05:52 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.210.10.1: +7 -3
lines
Diff to previous 1.210.10.1 (colored) to branchpoint 1.210 (colored) next main 1.211 (colored)
- Push kernel_lock back into exit, wait and sysctl system calls, mainly for visibility. - Serialize calls to brk() from within the same process. - Mark more syscalls MPSAFE.
Revision 1.210.10.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:57:10 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.210: +5 -5
lines
Diff to previous 1.210 (colored)
Sync with head.
Revision 1.211 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:09 2007 UTC (4 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.210: +5 -5
lines
Diff to previous 1.210 (colored)
Convert all the system call entry points from:
int foo(struct lwp *l, void *v, register_t *retval)
to:
int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.
Revision 1.183.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:56 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.183.2.3: +9 -39
lines
Diff to previous 1.183.2.3 (colored)
sync with head.
Revision 1.209.10.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:23:01 2007 UTC (4 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.209: +7 -37
lines
Diff to previous 1.209 (colored) next main 1.210 (colored)
Sync with HEAD.
Revision 1.209.2.1 / (download) - annotate - [select for diffs], Mon Aug 20 21:27:35 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.209: +7 -37
lines
Diff to previous 1.209 (colored) next main 1.210 (colored)
Sync with HEAD.
Revision 1.209.14.1 / (download) - annotate - [select for diffs], Thu Aug 16 11:03:35 2007 UTC (4 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.209: +7 -37
lines
Diff to previous 1.209 (colored) next main 1.210 (colored)
Sync with HEAD.
Revision 1.210 / (download) - annotate - [select for diffs], Wed Aug 15 12:07:34 2007 UTC (4 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-csl-alignment-base5,
matt-armv6-prevmlocking,
jmcneill-pm-base,
jmcneill-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: vmlocking2,
mjf-devfs,
matt-armv6,
bouyer-xeni386
Changes since 1.209: +7 -37
lines
Diff to previous 1.209 (colored)
Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed on tech-kern.
Revision 1.208.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:38 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.208: +4 -4
lines
Diff to previous 1.208 (colored) next main 1.209 (colored)
Sync with HEAD.
Revision 1.209 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:06 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
nick-csl-alignment-base,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: vmlocking,
nick-csl-alignment,
jmcneill-pm
Changes since 1.208: +4 -4
lines
Diff to previous 1.208 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.183.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:11 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.183.2.2: +10 -13
lines
Diff to previous 1.183.2.2 (colored)
sync with head.
Revision 1.208 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:31 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.207: +9 -12
lines
Diff to previous 1.207 (colored)
Merge newlock2 to head.
Revision 1.201.2.4 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:41 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.201.2.3: +2 -3
lines
Diff to previous 1.201.2.3 (colored) to branchpoint 1.201 (colored) next main 1.202 (colored)
Remove support for SA. Ok core@.
Revision 1.201.2.3 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:06 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.201.2.2: +3 -3
lines
Diff to previous 1.201.2.2 (colored) to branchpoint 1.201 (colored)
Sync with head.
Revision 1.207 / (download) - annotate - [select for diffs], Thu Jan 4 17:38:25 2007 UTC (5 years, 4 months ago) by elad
Branch: MAIN
CVS Tags: newlock2-nbase,
newlock2-base
Changes since 1.206: +3 -3
lines
Diff to previous 1.206 (colored)
Consistent usage of KAUTH_GENERIC_ISSUSER.
Revision 1.183.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:06 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.183.2.1: +100 -68
lines
Diff to previous 1.183.2.1 (colored)
sync with head.
Revision 1.202.2.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:45 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.202.2.1: +3 -3
lines
Diff to previous 1.202.2.1 (colored) to branchpoint 1.202 (colored) next main 1.203 (colored)
sync with head.
Revision 1.201.2.2 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:22 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.201.2.1: +89 -40
lines
Diff to previous 1.201.2.1 (colored) to branchpoint 1.201 (colored)
Sync with head.
Revision 1.206 / (download) - annotate - [select for diffs], Wed Nov 1 10:17:58 2006 UTC (5 years, 6 months ago) by yamt
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,
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.205: +3 -3
lines
Diff to previous 1.205 (colored)
remove some __unused from function parameters.
Revision 1.202.2.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:11 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.202: +75 -21
lines
Diff to previous 1.202 (colored)
sync with head
Revision 1.205 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:17 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.204: +3 -3
lines
Diff to previous 1.204 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.204 / (download) - annotate - [select for diffs], Thu Oct 5 14:48:32 2006 UTC (5 years, 7 months ago) by chs
Branch: MAIN
Changes since 1.203: +8 -4
lines
Diff to previous 1.203 (colored)
add support for O_DIRECT (I/O directly to application memory, bypassing any kernel caching for file data).
Revision 1.203 / (download) - annotate - [select for diffs], Sat Sep 23 22:01:04 2006 UTC (5 years, 8 months ago) by manu
Branch: MAIN
Changes since 1.202: +68 -18
lines
Diff to previous 1.202 (colored)
Add a -t+S flag to ktrace for tracing activity related to sysctl. MIB names will be displayed, with data readen and written as well.
Revision 1.190.2.8 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:48 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.190.2.7: +17 -22
lines
Diff to previous 1.190.2.7 (colored) to branchpoint 1.190 (colored) next main 1.191 (colored)
sync with head.
Revision 1.201.2.1 / (download) - annotate - [select for diffs], Mon Sep 11 18:07:25 2006 UTC (5 years, 8 months ago) by ad
Branch: newlock2
Changes since 1.201: +9 -11
lines
Diff to previous 1.201 (colored)
- Convert some lockmgr() locks to mutexes and RW locks. - Acquire proclist_lock and p_crmutex in some obvious places.
Revision 1.188.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:16 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.188: +127 -92
lines
Diff to previous 1.188 (colored) next main 1.189 (colored)
sync with head
Revision 1.202 / (download) - annotate - [select for diffs], Fri Sep 8 20:58:57 2006 UTC (5 years, 8 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Changes since 1.201: +17 -22
lines
Diff to previous 1.201 (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.190.2.7 / (download) - annotate - [select for diffs], Sun Sep 3 15:25:22 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.190.2.6: +10 -12
lines
Diff to previous 1.190.2.6 (colored) to branchpoint 1.190 (colored)
sync with head.
Revision 1.201 / (download) - annotate - [select for diffs], Sat Sep 2 06:33:11 2006 UTC (5 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.200: +2 -4
lines
Diff to previous 1.200 (colored)
delete unreachable code
Revision 1.200 / (download) - annotate - [select for diffs], Thu Aug 17 17:11:28 2006 UTC (5 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.199: +10 -10
lines
Diff to previous 1.199 (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.190.2.6 / (download) - annotate - [select for diffs], Fri Aug 11 15:45:46 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.190.2.5: +17 -32
lines
Diff to previous 1.190.2.5 (colored) to branchpoint 1.190 (colored)
sync with head
Revision 1.199 / (download) - annotate - [select for diffs], Sun Jul 30 17:38:19 2006 UTC (5 years, 9 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.198: +3 -16
lines
Diff to previous 1.198 (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.198 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:11 2006 UTC (5 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.197: +16 -18
lines
Diff to previous 1.197 (colored)
Use the LWP cached credentials where sane.
Revision 1.190.2.5 / (download) - annotate - [select for diffs], Mon Jun 26 12:52:56 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.190.2.4: +59 -29
lines
Diff to previous 1.190.2.4 (colored) to branchpoint 1.190 (colored)
sync with head.
Revision 1.183.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:38 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.183: +182 -146
lines
Diff to previous 1.183 (colored)
sync with head.
Revision 1.196.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:07:15 2006 UTC (5 years, 11 months ago) by chap
Branch: chap-midi
Changes since 1.196: +59 -29
lines
Diff to previous 1.196 (colored) next main 1.197 (colored)
Sync with head.
Revision 1.197 / (download) - annotate - [select for diffs], Mon Jun 12 01:25:05 2006 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base
Changes since 1.196: +59 -29
lines
Diff to previous 1.196 (colored)
Don't allocate > 2K on the stack.
Revision 1.188.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:08 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.188.6.1: +17 -9
lines
Diff to previous 1.188.6.1 (colored) to branchpoint 1.188 (colored) next main 1.189 (colored)
Sync with head.
Revision 1.191.2.2 / (download) - annotate - [select for diffs], Wed May 24 15:50:41 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.191.2.1: +46 -33
lines
Diff to previous 1.191.2.1 (colored) to branchpoint 1.191 (colored) next main 1.192 (colored)
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.190.2.4 / (download) - annotate - [select for diffs], Wed May 24 10:58:41 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.190.2.3: +17 -16
lines
Diff to previous 1.190.2.3 (colored) to branchpoint 1.190 (colored)
sync with head.
Revision 1.196 / (download) - annotate - [select for diffs], Sun May 14 21:15:11 2006 UTC (6 years ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5,
simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.195: +17 -9
lines
Diff to previous 1.195 (colored)
integrate kauth.
Revision 1.190.4.4 / (download) - annotate - [select for diffs], Sat May 6 23:31:30 2006 UTC (6 years ago) by christos
Branch: elad-kernelauth
Changes since 1.190.4.3: +3 -2
lines
Diff to previous 1.190.4.3 (colored) to branchpoint 1.190 (colored) next main 1.191 (colored)
- Move kauth_cred_t declaration to <sys/types.h> - Cleanup struct ucred; forward declarations that are unused. - Don't include <sys/kauth.h> in any header, but include it in the c files that need it. Approved by core.
Revision 1.188.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:59 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.188: +46 -32
lines
Diff to previous 1.188 (colored)
Sync with head.
Revision 1.190.4.3 / (download) - annotate - [select for diffs], Wed Apr 19 05:13:59 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.190.4.2: +42 -28
lines
Diff to previous 1.190.4.2 (colored) to branchpoint 1.190 (colored)
sync with head.
Revision 1.195 / (download) - annotate - [select for diffs], Mon Apr 17 03:39:39 2006 UTC (6 years, 1 month ago) by elad
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.194: +2 -9
lines
Diff to previous 1.194 (colored)
Move securelevel-specific stuff to its own file.
Revision 1.190.2.3 / (download) - annotate - [select for diffs], Tue Apr 11 11:55:47 2006 UTC (6 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.190.2.2: +31 -19
lines
Diff to previous 1.190.2.2 (colored) to branchpoint 1.190 (colored)
sync with head
Revision 1.194 / (download) - annotate - [select for diffs], Sun Apr 2 09:07:57 2006 UTC (6 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4
Changes since 1.193: +13 -4
lines
Diff to previous 1.193 (colored)
Bail out of sysctl_create() if we fail to malloc() own. free(own) when we bail out if any later malloc() calls fail. Fixes coverty CID 2310
Revision 1.193 / (download) - annotate - [select for diffs], Sun Apr 2 08:04:05 2006 UTC (6 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.192: +20 -17
lines
Diff to previous 1.192 (colored)
Predicate all the tests against existing children with a single 'if (node)'. Simplify the test that ensures a CTLFLAG_ANYNUMBER child is an only child. Will stop the coverty CID 1082 report.
Revision 1.190.2.2 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:39 2006 UTC (6 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.190.2.1: +2793 -0
lines
Diff to previous 1.190.2.1 (colored) to branchpoint 1.190 (colored)
sync with head.
Revision 1.191.2.1 / (download) - annotate - [select for diffs], Tue Mar 28 09:42:26 2006 UTC (6 years, 2 months ago) by tron
Branch: peter-altq
Changes since 1.191: +5 -4
lines
Diff to previous 1.191 (colored)
Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
Revision 1.179.2.1.2.1 / (download) - annotate - [select for diffs], Fri Mar 24 22:44:36 2006 UTC (6 years, 2 months ago) by riz
Branch: netbsd-3-0
CVS Tags: netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE
Changes since 1.179.2.1: +8 -0
lines
Diff to previous 1.179.2.1 (colored) next main 1.179.2.2 (colored)
Pull up following revision(s) (requested by drochner in ticket #1217): sys/kern/kern_sysctl.c: revision 1.191 Check the "oldlen" argument to sysctl(2) before passing it to vslock(9). This prevents a local DOS. (The checks against system and user limits for wired memory should be centralized in UVM; for now prefer a less invasive fix which can be pulled pulled up into releases.)
Revision 1.179.2.2 / (download) - annotate - [select for diffs], Fri Mar 24 22:44:29 2006 UTC (6 years, 2 months ago) by riz
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
Changes since 1.179.2.1: +8 -0
lines
Diff to previous 1.179.2.1 (colored) to branchpoint 1.179 (colored) next main 1.180 (colored)
Pull up following revision(s) (requested by drochner in ticket #1217): sys/kern/kern_sysctl.c: revision 1.191 Check the "oldlen" argument to sysctl(2) before passing it to vslock(9). This prevents a local DOS. (The checks against system and user limits for wired memory should be centralized in UVM; for now prefer a less invasive fix which can be pulled pulled up into releases.)
Revision 1.169.2.7 / (download) - annotate - [select for diffs], Fri Mar 24 21:39:04 2006 UTC (6 years, 2 months ago) by riz
Branch: netbsd-2-0
Changes since 1.169.2.6: +10 -2
lines
Diff to previous 1.169.2.6 (colored) to branchpoint 1.169 (colored) next main 1.170 (colored)
Pull up following revision(s) (requested by drochner in ticket #10381): sys/kern/kern_sysctl.c: revision 1.191 Check the "oldlen" argument to sysctl(2) before passing it to vslock(9). This prevents a local DOS. (The checks against system and user limits for wired memory should be centralized in UVM; for now prefer a less invasive fix which can be pulled pulled up into releases.)
Revision 1.169.2.6.4.1 / (download) - annotate - [select for diffs], Fri Mar 24 21:39:00 2006 UTC (6 years, 2 months ago) by riz
Branch: netbsd-2-1
Changes since 1.169.2.6: +10 -2
lines
Diff to previous 1.169.2.6 (colored) next main 1.169.2.7 (colored)
Pull up following revision(s) (requested by drochner in ticket #10381): sys/kern/kern_sysctl.c: revision 1.191 Check the "oldlen" argument to sysctl(2) before passing it to vslock(9). This prevents a local DOS. (The checks against system and user limits for wired memory should be centralized in UVM; for now prefer a less invasive fix which can be pulled pulled up into releases.)
Revision 1.169.2.6.2.1 / (download) - annotate - [select for diffs], Fri Mar 24 21:38:54 2006 UTC (6 years, 2 months ago) by riz
Branch: netbsd-2
Changes since 1.169.2.6: +10 -2
lines
Diff to previous 1.169.2.6 (colored) next main 1.169.2.7 (colored)
Pull up following revision(s) (requested by drochner in ticket #10381): sys/kern/kern_sysctl.c: revision 1.191 Check the "oldlen" argument to sysctl(2) before passing it to vslock(9). This prevents a local DOS. (The checks against system and user limits for wired memory should be centralized in UVM; for now prefer a less invasive fix which can be pulled pulled up into releases.)
Revision 1.192 / (download) - annotate - [select for diffs], Fri Mar 17 01:52:08 2006 UTC (6 years, 2 months ago) by chris
Branch: MAIN
CVS Tags: yamt-pdpolicy-base3
Changes since 1.191: +5 -4
lines
Diff to previous 1.191 (colored)
Move check for rnode being NULL to before it's first use. Fixes Coverity CID 2434
Revision 1.191 / (download) - annotate - [select for diffs], Wed Mar 15 16:12:07 2006 UTC (6 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: peter-altq-base
Branch point for: peter-altq
Changes since 1.190: +10 -2
lines
Diff to previous 1.190 (colored)
Check the "oldlen" argument to sysctl(2) before passing it to vslock(9). This prevents a local DOS. (The checks against system and user limits for wired memory should be centralized in UVM; for now prefer a less invasive fix which can be pulled pulled up into releases.)
Revision 1.190.4.2 / (download) - annotate - [select for diffs], Fri Mar 10 13:53:24 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.190.4.1: +9 -9
lines
Diff to previous 1.190.4.1 (colored) to branchpoint 1.190 (colored)
generic_authorize() -> kauth_authorize_generic().
Revision 1.190.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 00:53:40 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.190: +16 -9
lines
Diff to previous 1.190 (colored)
Adapt to kernel authorization KPI.
Revision 1.190.2.1, Sun Mar 5 00:32:43 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.190: +0 -2784
lines
FILE REMOVED
file kern_sysctl.c was added on branch yamt-pdpolicy on 2006-04-01 12:07:39 +0000
Revision 1.190 / (download) - annotate - [select for diffs], Sun Mar 5 00:32:43 2006 UTC (6 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2,
yamt-pdpolicy-base
Branch point for: yamt-pdpolicy,
elad-kernelauth
Changes since 1.189: +4 -4
lines
Diff to previous 1.189 (colored)
sysctl_lookup: use "d" rather than "rnode->sysctl_data" after "d = rnode->sysctl_data".
Revision 1.188.2.1 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:46 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.188: +4 -4
lines
Diff to previous 1.188 (colored) next main 1.189 (colored)
sync with head.
Revision 1.189 / (download) - annotate - [select for diffs], Fri Feb 24 19:26:50 2006 UTC (6 years, 3 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Changes since 1.188: +4 -4
lines
Diff to previous 1.188 (colored)
update comments for const sysctl args
Revision 1.137.2.9 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:11 2005 UTC (6 years, 5 months ago) by christos
Branch: ktrace-lwp
Changes since 1.137.2.8: +36 -59
lines
Diff to previous 1.137.2.8 (colored) next main 1.138 (colored)
Sync with head.
Revision 1.187.2.1 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:29 2005 UTC (6 years, 5 months ago) by yamt
Branch: yamt-readahead
Changes since 1.187: +36 -59
lines
Diff to previous 1.187 (colored) next main 1.188 (colored)
sync with head.
Revision 1.188 / (download) - annotate - [select for diffs], Sun Nov 27 12:07:24 2005 UTC (6 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-base3,
ktrace-lwp-base
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Changes since 1.187: +36 -59
lines
Diff to previous 1.187 (colored)
KNF. convert
if () {
}
/*
* some
* comments
*/
else {
}
to
if () {
} else {
/*
* some
* comments
*/
}
Revision 1.137.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:45 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.137.2.7: +103 -66
lines
Diff to previous 1.137.2.7 (colored)
Sync with HEAD. Here we go again...
Revision 1.186.2.1 / (download) - annotate - [select for diffs], Wed Nov 2 11:58:11 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-vop
Changes since 1.186: +17 -19
lines
Diff to previous 1.186 (colored) next main 1.187 (colored)
sync with head.
Revision 1.187 / (download) - annotate - [select for diffs], Sat Oct 29 12:26:37 2005 UTC (6 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base2,
yamt-readahead-base
Branch point for: yamt-readahead
Changes since 1.186: +17 -19
lines
Diff to previous 1.186 (colored)
MALLOC/FREE -> malloc/free where appropriate.
Revision 1.179.2.1 / (download) - annotate - [select for diffs], Sun Aug 28 09:55:17 2005 UTC (6 years, 8 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Branch point for: netbsd-3-0
Changes since 1.179: +15 -5
lines
Diff to previous 1.179 (colored)
Pull up following revision(s) (requested by yamt in ticket #703): sys/kern/kern_sysctl.c: revision 1.186 old_sysctl: fix null dereference when oldlenp == NULL.
Revision 1.186 / (download) - annotate - [select for diffs], Sun Aug 21 13:14:54 2005 UTC (6 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base2,
yamt-vop-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.185: +15 -5
lines
Diff to previous 1.185 (colored)
old_sysctl: fix null dereference when oldlenp == NULL.
Revision 1.185 / (download) - annotate - [select for diffs], Sun Aug 7 04:54:07 2005 UTC (6 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.184: +3 -4
lines
Diff to previous 1.184 (colored)
sysctl_create: remove an unused variable.
Revision 1.184 / (download) - annotate - [select for diffs], Sat Jul 23 23:34:52 2005 UTC (6 years, 10 months ago) by peter
Branch: MAIN
Changes since 1.183: +3 -3
lines
Diff to previous 1.183 (colored)
Fix an off-by-one in checking the return value of strlcpy(9). Reviewed by atatat.
Revision 1.183 / (download) - annotate - [select for diffs], Mon Jun 20 02:49:18 2005 UTC (6 years, 11 months ago) by atatat
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.182: +50 -31
lines
Diff to previous 1.182 (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.182 / (download) - annotate - [select for diffs], Thu Jun 9 02:19:59 2005 UTC (6 years, 11 months ago) by atatat
Branch: MAIN
Changes since 1.181: +3 -4
lines
Diff to previous 1.181 (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.181 / (download) - annotate - [select for diffs], Wed Jun 8 07:25:12 2005 UTC (6 years, 11 months ago) by scw
Branch: MAIN
Changes since 1.180: +15 -7
lines
Diff to previous 1.180 (colored)
Thou shalt not allocate PAGE_SIZE automatic variables on the kernel stack.
Revision 1.180 / (download) - annotate - [select for diffs], Sun May 29 22:24:15 2005 UTC (6 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.179: +19 -15
lines
Diff to previous 1.179 (colored)
- add const. - remove unnecessary casts. - add __UNCONST casts and mark them with XXXUNCONST as necessary.
Revision 1.176.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:23 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.176: +11 -11
lines
Diff to previous 1.176 (colored) next main 1.177 (colored)
sync with -current
Revision 1.176.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:11 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.176: +11 -11
lines
Diff to previous 1.176 (colored) next main 1.177 (colored)
sync with head. xen and whitespace. xen part is not finished.
Revision 1.137.2.7 / (download) - annotate - [select for diffs], Fri Mar 4 16:51:59 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.137.2.6: +9 -9
lines
Diff to previous 1.137.2.6 (colored)
Sync with HEAD. Hi Perry!
Revision 1.179 / (download) - annotate - [select for diffs], Sat Feb 26 21:34:55 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
kent-audio2-base
Branch point for: netbsd-3
Changes since 1.178: +8 -8
lines
Diff to previous 1.178 (colored)
nuke trailing whitespace
Revision 1.178 / (download) - annotate - [select for diffs], Sun Feb 20 19:43:46 2005 UTC (7 years, 3 months ago) by heas
Branch: MAIN
Changes since 1.177: +3 -3
lines
Diff to previous 1.177 (colored)
Expose sysctl_root node to kernel sources. It will be used by FreeBSD sysctl emulation.
Revision 1.137.2.6 / (download) - annotate - [select for diffs], Thu Feb 17 07:10:37 2005 UTC (7 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.137.2.5: +4 -4
lines
Diff to previous 1.137.2.5 (colored)
Sync with HEAD.
Revision 1.177 / (download) - annotate - [select for diffs], Wed Feb 16 00:30:28 2005 UTC (7 years, 3 months ago) by elric
Branch: MAIN
CVS Tags: matt-timespec
Changes since 1.176: +4 -4
lines
Diff to previous 1.176 (colored)
The API for ksyms_getval_from_kernel changed.
Revision 1.137.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:08 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.137.2.4: +2 -2
lines
Diff to previous 1.137.2.4 (colored)
Fix the sync with head I botched.
Revision 1.137.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:03 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.137.2.3: +2 -2
lines
Diff to previous 1.137.2.3 (colored)
Sync with HEAD.
Revision 1.137.2.3 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:53 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.137.2.2: +2396 -1879
lines
Diff to previous 1.137.2.2 (colored)
Sync with HEAD
Revision 1.169.2.6 / (download) - annotate - [select for diffs], Fri May 14 06:18:39 2004 UTC (8 years ago) by jdc
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-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
Branch point for: netbsd-2-1,
netbsd-2
Changes since 1.169.2.5: +3 -2
lines
Diff to previous 1.169.2.5 (colored) to branchpoint 1.169 (colored)
Pull up revision 1.176 (requested by cube in ticket #319). In sysctl_destroyv, the newly created dnode structure must have its version set to the correct value to prevent later failure of sysctl_cvt_in.
Revision 1.176 / (download) - annotate - [select for diffs], Wed May 12 12:21:39 2004 UTC (8 years ago) by cube
Branch: MAIN
CVS Tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Changes since 1.175: +3 -2
lines
Diff to previous 1.175 (colored)
In sysctl_destroyv, the newly created dnode structure must have its version set to the correct value to prevent later failure of sysctl_cvt_in.
Revision 1.169.2.5 / (download) - annotate - [select for diffs], Mon May 10 14:32:43 2004 UTC (8 years ago) by tron
Branch: netbsd-2-0
Changes since 1.169.2.4: +4 -2
lines
Diff to previous 1.169.2.4 (colored) to branchpoint 1.169 (colored)
Pull up revision 1.175 (requested by atatat in ticket #273): Add a printf() to the other case in sysctl_createv() where a node did not get attached for what should be an extremely unusual case.
Revision 1.175 / (download) - annotate - [select for diffs], Thu May 6 07:06:46 2004 UTC (8 years ago) by atatat
Branch: MAIN
Changes since 1.174: +4 -2
lines
Diff to previous 1.174 (colored)
Add a printf() to the other case in sysctl_createv() where a node did not get attached for what should be an extremely unusual case.
Revision 1.174 / (download) - annotate - [select for diffs], Sat May 1 07:16:55 2004 UTC (8 years ago) by matt
Branch: MAIN
Changes since 1.173: +3 -3
lines
Diff to previous 1.173 (colored)
Define link_sets start/stop as ptype * const [] since they are in a readonly section.
Revision 1.169.2.4 / (download) - annotate - [select for diffs], Wed Apr 28 05:33:39 2004 UTC (8 years ago) by jmc
Branch: netbsd-2-0
Changes since 1.169.2.3: +3 -4
lines
Diff to previous 1.169.2.3 (colored) to branchpoint 1.169 (colored)
Pullup rev 1.173 (requested by atatat in ticket #194) Be consistent about using sysc_init_field()
Revision 1.169.2.3 / (download) - annotate - [select for diffs], Wed Apr 28 05:32:25 2004 UTC (8 years ago) by jmc
Branch: netbsd-2-0
Changes since 1.169.2.2: +4 -69
lines
Diff to previous 1.169.2.2 (colored) to branchpoint 1.169 (colored)
Pullup rev 1.172 (requested by atatat in ticket #193) Remove dynamic sysctl node version 0 from the tree.
Revision 1.173 / (download) - annotate - [select for diffs], Sun Apr 25 05:54:38 2004 UTC (8 years, 1 month ago) by atatat
Branch: MAIN
Changes since 1.172: +3 -4
lines
Diff to previous 1.172 (colored)
Be consistent about using sysc_init_field()
Revision 1.172 / (download) - annotate - [select for diffs], Sun Apr 25 05:47:53 2004 UTC (8 years, 1 month ago) by atatat
Branch: MAIN
Changes since 1.171: +4 -69
lines
Diff to previous 1.171 (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.169.2.2 / (download) - annotate - [select for diffs], Wed Apr 7 04:54:13 2004 UTC (8 years, 1 month ago) by jmc
Branch: netbsd-2-0
Changes since 1.169.2.1: +11 -3
lines
Diff to previous 1.169.2.1 (colored) to branchpoint 1.169 (colored)
Pullup rev 1.171 (requested by atatat in ticket #77) First caller to set a description on a node sets it. This allows one setup function to set the description, even if the node has been instantiated elsewhere. Or not, depending on the other that the setup functions are called.
Revision 1.171 / (download) - annotate - [select for diffs], Tue Apr 6 18:52:35 2004 UTC (8 years, 1 month ago) by atatat
Branch: MAIN
Changes since 1.170: +11 -3
lines
Diff to previous 1.170 (colored)
First caller to set a description on a node sets it. This allows one setup function to set the description, even if the node has been instantiated elsewhere. Or not, depending on the other that the setup functions are called.
Revision 1.169.2.1 / (download) - annotate - [select for diffs], Thu Apr 1 05:24:28 2004 UTC (8 years, 1 month ago) by jmc
Branch: netbsd-2-0
Changes since 1.169: +16 -5
lines
Diff to previous 1.169 (colored)
Pullup rev 1.170 (requested by atatat in ticket #37) Add the standard "is this tree writeable" check to sysctl_describe() and a comment to sysctl_destroy() about why the check is slightly different there.
Revision 1.170 / (download) - annotate - [select for diffs], Thu Apr 1 04:50:06 2004 UTC (8 years, 1 month ago) by atatat
Branch: MAIN
Changes since 1.169: +16 -5
lines
Diff to previous 1.169 (colored)
Add the standard "is this tree writeable" check to sysctl_describe() and a comment to sysctl_destroy() about why the check is slightly different there.
Revision 1.169 / (download) - annotate - [select for diffs], Sat Mar 27 04:26:23 2004 UTC (8 years, 2 months ago) by atatat
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.168: +15 -10
lines
Diff to previous 1.168 (colored)
Fix sysctl_createv() so that rnode and cnode can refer to the same pointer. Fix sysctl_create() so that nodes cannot be added to an alias node.
Revision 1.168 / (download) - annotate - [select for diffs], Thu Mar 25 22:16:04 2004 UTC (8 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.167: +3 -3
lines
Diff to previous 1.167 (colored)
Set version in node destroy request
Revision 1.167 / (download) - annotate - [select for diffs], Thu Mar 25 18:36:49 2004 UTC (8 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.166: +10 -3
lines
Diff to previous 1.166 (colored)
Unwind the nested designators for fields within structs within structs (or unions). This should really be put back once we're all using gcc3 for everything, since that makes it look a *lot* cleaner.
Revision 1.166 / (download) - annotate - [select for diffs], Wed Mar 24 18:11:09 2004 UTC (8 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.165: +249 -7
lines
Diff to previous 1.165 (colored)
Implement sysctl descriptions. Now all that remains is actually to write them.
Revision 1.165 / (download) - annotate - [select for diffs], Wed Mar 24 17:40:02 2004 UTC (8 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.164: +30 -5
lines
Diff to previous 1.164 (colored)
Framework for sysctl descriptions. Implementation to follow shortly.
Revision 1.164 / (download) - annotate - [select for diffs], Wed Mar 24 17:21:02 2004 UTC (8 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.163: +73 -2
lines
Diff to previous 1.163 (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.163 / (download) - annotate - [select for diffs], Wed Mar 24 16:55:49 2004 UTC (8 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.162: +177 -3
lines
Diff to previous 1.162 (colored)
Implement sysctllog and sysctl_teardown(), which unwinds the log.
Revision 1.162 / (download) - annotate - [select for diffs], Wed Mar 24 16:34:34 2004 UTC (8 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.161: +106 -33
lines
Diff to previous 1.161 (colored)
The new sysctl query interface returns the same information as the old one, but you must pass in an empty node that indicates the version you're using.
Revision 1.161 / (download) - annotate - [select for diffs], Wed Mar 24 15:34:53 2004 UTC (8 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.160: +158 -96
lines
Diff to previous 1.160 (colored)
Tango on sysctl_createv() and flags. The flags have all been renamed, and sysctl_createv() now uses more arguments.
Revision 1.160 / (download) - annotate - [select for diffs], Wed Mar 24 15:25:43 2004 UTC (8 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.159: +28 -14
lines
Diff to previous 1.159 (colored)
That copystr() should be copyinstr(), and fix a couple of places where aliasing needs to be avoided.
Revision 1.159 / (download) - annotate - [select for diffs], Mon Mar 8 03:31:26 2004 UTC (8 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.158: +20 -12
lines
Diff to previous 1.158 (colored)
Some optimization for sysctl_locate()
Revision 1.158 / (download) - annotate - [select for diffs], Sat Jan 17 04:01:14 2004 UTC (8 years, 4 months ago) by atatat
Branch: MAIN
Changes since 1.157: +21 -11
lines
Diff to previous 1.157 (colored)
In sysctl_locate(), use "rnode" like everywhere else, don't call it "rv". In sysctl_destroyv(), deal with deleting alias nodes, and pass a token size_t to sysctl_destroy(). In sysctl_free(), check that "node" has not reached "rnode", not that "pnode" has. In sysctl_realloc(), don't bother setting sysctl_clen...the value is unchanged.
Revision 1.157 / (download) - annotate - [select for diffs], Mon Dec 29 04:19:28 2003 UTC (8 years, 4 months ago) by atatat
Branch: MAIN
Changes since 1.156: +5 -6
lines
Diff to previous 1.156 (colored)
Avoid dereferencing l in sysctl_lookup(), because it can be NULL. Note one point where a possibility of a fault exists.
Revision 1.156 / (download) - annotate - [select for diffs], Mon Dec 29 04:16:25 2003 UTC (8 years, 4 months ago) by atatat
Branch: MAIN
Changes since 1.155: +46 -53
lines
Diff to previous 1.155 (colored)
Remove two uses of uvm_kernacc(), which wasn't quite getting the job done anyway. On a related change, use kcopy() instead of memcpy() for kernel-to-kernel copying so that the same service warranty can be given.
Revision 1.155 / (download) - annotate - [select for diffs], Sun Dec 28 22:36:37 2003 UTC (8 years, 4 months ago) by atatat
Branch: MAIN
Changes since 1.154: +5 -2
lines
Diff to previous 1.154 (colored)
Sysctl functions called for "generic" nodes should forward "query" requests (where possible), rather than returning errors.
Revision 1.154 / (download) - annotate - [select for diffs], Fri Dec 5 16:19:09 2003 UTC (8 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.153: +3 -2
lines
Diff to previous 1.153 (colored)
Resurrect include of opt_insecure.h to get the INSECURE definition. From Kouichirou Hiratsuka on current-users.
Revision 1.153 / (download) - annotate - [select for diffs], Thu Dec 4 19:38:23 2003 UTC (8 years, 5 months ago) by atatat
Branch: MAIN
Changes since 1.152: +1781 -1962
lines
Diff to previous 1.152 (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.152 / (download) - annotate - [select for diffs], Fri Oct 31 03:32:20 2003 UTC (8 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.151: +3 -4
lines
Diff to previous 1.151 (colored)
Remove some assigned-to but otherwise unused variables.
Revision 1.151 / (download) - annotate - [select for diffs], Tue Oct 21 22:55:47 2003 UTC (8 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.150: +4 -7
lines
Diff to previous 1.150 (colored)
Cache the "adjusted" value of sb_max when sb_max is changed, in order to avoid doing quad math in sbreserve(). Change suggested by Simon Burge, and code inspired by a similar change in FreeBSD.
Revision 1.150 / (download) - annotate - [select for diffs], Sun Oct 19 01:44:49 2003 UTC (8 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.149: +2 -7
lines
Diff to previous 1.149 (colored)
Remove unreachable break after return and goto statements.
Revision 1.73.2.8 / (download) - annotate - [select for diffs], Wed Oct 8 08:23:41 2003 UTC (8 years, 7 months ago) by msaitoh
Branch: netbsd-1-5
Changes since 1.73.2.7: +4 -2
lines
Diff to previous 1.73.2.7 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)
Pull up revision 1.147 via patch (requested by itojun in ticket #88): make debug_sysctl() sysctl MIB check more strict. from smak. attack similar to NetBSD-SA2003-014 can be mounted due to this flaw.
Revision 1.149 / (download) - annotate - [select for diffs], Fri Oct 3 15:33:42 2003 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.148: +27 -10
lines
Diff to previous 1.148 (colored)
If the user passes enough space, output the per cpu states instead of aggregating them.
Revision 1.148 / (download) - annotate - [select for diffs], Thu Oct 2 09:30:16 2003 UTC (8 years, 7 months ago) by kleink
Branch: MAIN
Changes since 1.147: +3 -2
lines
Diff to previous 1.147 (colored)
Need opt_posix.h for P1003_1B_SEMAPHORE.
Revision 1.108.4.4 / (download) - annotate - [select for diffs], Thu Oct 2 08:59:10 2003 UTC (8 years, 7 months ago) by tron
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.108.4.3: +1 -1
lines
Diff to previous 1.108.4.3 (colored) to branchpoint 1.108 (colored) next main 1.109 (colored)
Pull up revision 1.147 (requested by itojun in ticket #1493): make debug_sysctl() sysctl MIB check more strict. from smak. attack similar to NetBSD-SA2003-014 can be mounted due to this flaw.
Revision 1.147 / (download) - annotate - [select for diffs], Wed Oct 1 21:45:14 2003 UTC (8 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.146: +3 -3
lines
Diff to previous 1.146 (colored)
make debug_sysctl() sysctl MIB check more strict. from smak. attack similar to NetBSD-SA2003-014 can be mounted due to this flaw.
Revision 1.146 / (download) - annotate - [select for diffs], Sun Sep 28 13:24:48 2003 UTC (8 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.145: +3 -9
lines
Diff to previous 1.145 (colored)
Simod has persuaded me to remove the 'sizeof (struct kinfo_drivers)' field.
Revision 1.145 / (download) - annotate - [select for diffs], Sat Sep 27 07:58:55 2003 UTC (8 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.144: +68 -8
lines
Diff to previous 1.144 (colored)
Add kern.root_partition (sysinst needs to know it) Add kern.drivers - reports driver names and major numbers Remove some redundant caddr_t casts.
Revision 1.144 / (download) - annotate - [select for diffs], Wed Sep 3 11:36:52 2003 UTC (8 years, 8 months ago) by ragge
Branch: MAIN
Changes since 1.143: +9 -8
lines
Diff to previous 1.143 (colored)
Use correct basic types when addresses are given in function calls.
Revision 1.73.2.7 / (download) - annotate - [select for diffs], Wed Aug 27 08:41:14 2003 UTC (8 years, 9 months ago) by msaitoh
Branch: netbsd-1-5
Changes since 1.73.2.6: +5 -7
lines
Diff to previous 1.73.2.6 (colored) to branchpoint 1.73 (colored)
Pull up revision 1.141 (requested by itojun in ticket #76): avoid oldlenp mixup (in-kernel pointer and userland pointer). from atatat
Revision 1.108.4.3 / (download) - annotate - [select for diffs], Wed Aug 27 08:01:48 2003 UTC (8 years, 9 months ago) by tron
Branch: netbsd-1-6
Changes since 1.108.4.2: +4 -6
lines
Diff to previous 1.108.4.2 (colored) to branchpoint 1.108 (colored)
Pull up revision 1.141 (requested by itojun in ticket #1441): avoid oldlenp mixup (in-kernel pointer and userland pointer). from atatat
Revision 1.73.2.6 / (download) - annotate - [select for diffs], Wed Aug 27 03:54:10 2003 UTC (8 years, 9 months ago) by msaitoh
Branch: netbsd-1-5
Changes since 1.73.2.5: +3 -2
lines
Diff to previous 1.73.2.5 (colored) to branchpoint 1.73 (colored)
Pullup rev. 1.142 via patch (requested by itojun in ticket #74): make proc.curproc.* check more strict.
Revision 1.73.2.5 / (download) - annotate - [select for diffs], Wed Aug 27 03:18:10 2003 UTC (8 years, 9 months ago) by msaitoh
Branch: netbsd-1-5
Changes since 1.73.2.4: +3 -18
lines
Diff to previous 1.73.2.4 (colored) to branchpoint 1.73 (colored)
Pull up rev. 1.143 via patch (requested by atatat in ticket #75): Use pfind() in proc_sysctl() to find the target process instead of a home-grown routine. Remove defcorenamelen, since it's not used anywhere.
Revision 1.108.4.2 / (download) - annotate - [select for diffs], Tue Aug 26 14:38:01 2003 UTC (8 years, 9 months ago) by tron
Branch: netbsd-1-6
Changes since 1.108.4.1: +2 -17
lines
Diff to previous 1.108.4.1 (colored) to branchpoint 1.108 (colored)
Pull up revision 1.143 via patch (requested by atatat in ticket #1437): Use pfind() in proc_sysctl() to find the target process instead of a home-grown routine. Remove defcorenamelen, since it's not used anywhere.
Revision 1.143 / (download) - annotate - [select for diffs], Sun Aug 24 19:20:40 2003 UTC (8 years, 9 months ago) by atatat
Branch: MAIN
Changes since 1.142: +4 -22
lines
Diff to previous 1.142 (colored)
Use pfind() in proc_sysctl() to find the target process instead of a home-grown routine. Remove defcorenamelen, since it's not used anywhere.
Revision 1.108.4.1 / (download) - annotate - [select for diffs], Sun Aug 24 09:33:27 2003 UTC (8 years, 9 months ago) by tron
Branch: netbsd-1-6
Changes since 1.108: +4 -3
lines
Diff to previous 1.108 (colored)
Pull up revision 1.142 via patch (requested by itojun in ticket #1435): make proc.curproc.* check more strict. atatat
Revision 1.142 / (download) - annotate - [select for diffs], Sun Aug 24 06:11:19 2003 UTC (8 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.141: +4 -3
lines
Diff to previous 1.141 (colored)
make proc.curproc.* check more strict. atatat
Revision 1.141 / (download) - annotate - [select for diffs], Thu Aug 14 05:14:52 2003 UTC (8 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.140: +6 -8
lines
Diff to previous 1.140 (colored)
avoid oldlenp mixup (in-kernel pointer and userland pointer). from atatat
Revision 1.140 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:50 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.139: +3 -7
lines
Diff to previous 1.139 (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.139 / (download) - annotate - [select for diffs], Wed Jul 30 12:09:46 2003 UTC (8 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.138: +7 -4
lines
Diff to previous 1.138 (colored)
maintain the list of namecaches attached to the vnode. it makes vnodes freeable.
Revision 1.137.2.2 / (download) - annotate - [select for diffs], Wed Jul 2 21:48:14 2003 UTC (8 years, 10 months ago) by wrstuden
Branch: ktrace-lwp
Changes since 1.137.2.1: +3 -3
lines
Diff to previous 1.137.2.1 (colored)
Check in lwp-ification changes needed to get the evbarm/IQ80321 kernel to compile. only question I have is over the: l->l_proc->p_stats->p_ru.ru_msgsnd++; command at line 245 of dev/kttcp.c. Should we be doing per-lwp or per-proc accounting?
Revision 1.138 / (download) - annotate - [select for diffs], Wed Jul 2 20:07:45 2003 UTC (8 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.137: +14 -2
lines
Diff to previous 1.137 (colored)
Make somaxkva modifyable via sysctl (and compile-time) instead of hardcoding its size.
Revision 1.137.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:39 2003 UTC (8 years, 10 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.137: +16 -15
lines
Diff to previous 1.137 (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.137 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:24 2003 UTC (8 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.136: +16 -17
lines
Diff to previous 1.136 (colored)
Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
Revision 1.136 / (download) - annotate - [select for diffs], Sun Jun 29 02:23:19 2003 UTC (8 years, 10 months ago) by enami
Branch: MAIN
Changes since 1.135: +3 -3
lines
Diff to previous 1.135 (colored)
Adjust !LKM case for proc * -> lwp * change.
Revision 1.135 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:55 2003 UTC (8 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.134: +16 -15
lines
Diff to previous 1.134 (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.134 / (download) - annotate - [select for diffs], Mon Jun 23 11:02:05 2003 UTC (8 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.133: +3 -2
lines
Diff to previous 1.133 (colored)
Make sure to include opt_foo.h if a defflag option FOO is used.
Revision 1.133 / (download) - annotate - [select for diffs], Thu Mar 27 18:34:18 2003 UTC (9 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.132: +3 -3
lines
Diff to previous 1.132 (colored)
put back nmaxproc check mistakely changed in rev.1.132 checking against nprocs is wrong in any case btw - we do allow maxproc higher than number of current processes, it would just mean no new process could be started until number of processes would be lower than the new limit
Revision 1.132 / (download) - annotate - [select for diffs], Wed Mar 19 11:36:32 2003 UTC (9 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.131: +6 -6
lines
Diff to previous 1.131 (colored)
Alternative pid/proc allocater, removes all searches associated with pid lookup and allocation, and any dependency on NPROC or MAXUSERS. NO_PID changed to -1 (and renamed NO_PGID) to remove artificial limit on PID_MAX. As discussed on tech-kern.
Revision 1.131 / (download) - annotate - [select for diffs], Thu Mar 6 20:33:00 2003 UTC (9 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.130: +25 -9
lines
Diff to previous 1.130 (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.130 / (download) - annotate - [select for diffs], Wed Mar 5 11:46:49 2003 UTC (9 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.129: +13 -10
lines
Diff to previous 1.129 (colored)
Report correct values for p_uutime_{u}sec, p_ustime_{u}sec and p_uctime_{u}sec
Revision 1.129 / (download) - annotate - [select for diffs], Sat Mar 1 23:48:44 2003 UTC (9 years, 2 months ago) by enami
Branch: MAIN
Changes since 1.128: +83 -83
lines
Diff to previous 1.128 (colored)
Cosmetic changes.
Revision 1.128 / (download) - annotate - [select for diffs], Sat Mar 1 05:41:56 2003 UTC (9 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.127: +4 -2
lines
Diff to previous 1.127 (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.127 / (download) - annotate - [select for diffs], Thu Feb 27 01:39:56 2003 UTC (9 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.126: +7 -2
lines
Diff to previous 1.126 (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.126 / (download) - annotate - [select for diffs], Sat Feb 15 18:47:41 2003 UTC (9 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.125: +4 -3
lines
Diff to previous 1.125 (colored)
Fix support for 16 character lognames (approved by christos)
Revision 1.125 / (download) - annotate - [select for diffs], Mon Feb 10 00:35:16 2003 UTC (9 years, 3 months ago) by atatat
Branch: MAIN
Changes since 1.124: +5 -2
lines
Diff to previous 1.124 (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.124 / (download) - annotate - [select for diffs], Sun Feb 2 20:33:09 2003 UTC (9 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.123: +18 -2
lines
Diff to previous 1.123 (colored)
Add sysconf(3) knobs for recent additions.
Revision 1.123 / (download) - annotate - [select for diffs], Sat Jan 18 10:06:31 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.122: +149 -28
lines
Diff to previous 1.122 (colored)
Merge the nathanw_sa branch.
Revision 1.86.2.27 / (download) - annotate - [select for diffs], Thu Dec 19 00:50:43 2002 UTC (9 years, 5 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.86.2.26: +43 -3
lines
Diff to previous 1.86.2.26 (colored) next main 1.87 (colored)
Sync with HEAD.
Revision 1.122.2.1 / (download) - annotate - [select for diffs], Wed Dec 18 01:06:13 2002 UTC (9 years, 5 months ago) by gmcgarry
Branch: gmcgarry_ucred
Changes since 1.122: +16 -17
lines
Diff to previous 1.122 (colored) next main 1.123 (colored)
Merge pcred and ucred, and poolify. TBD: check backward compatibility and factor-out some higher-level functionality.
Revision 1.122 / (download) - annotate - [select for diffs], Mon Dec 16 18:15:18 2002 UTC (9 years, 5 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Branch point for: gmcgarry_ucred
Changes since 1.121: +6 -2
lines
Diff to previous 1.121 (colored)
add support for optional arch-specific restriction of valid value for kern.maxproc
Revision 1.121 / (download) - annotate - [select for diffs], Thu Dec 12 20:54:58 2002 UTC (9 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.120: +16 -3
lines
Diff to previous 1.120 (colored)
don't allow kern.maxproc bigger than PID_MAX - PID_SKIP; the pid allocation code in fork1() would enter endless loop if all the allowed pids are taken by running processes
Revision 1.120 / (download) - annotate - [select for diffs], Wed Dec 11 19:14:35 2002 UTC (9 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.119: +25 -2
lines
Diff to previous 1.119 (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.86.2.26 / (download) - annotate - [select for diffs], Wed Dec 11 15:44:48 2002 UTC (9 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.86.2.25: +6 -2
lines
Diff to previous 1.86.2.25 (colored)
Sync with HEAD.
Revision 1.119 / (download) - annotate - [select for diffs], Wed Dec 11 12:59:31 2002 UTC (9 years, 5 months ago) by scw
Branch: MAIN
Changes since 1.118: +6 -2
lines
Diff to previous 1.118 (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.86.2.25 / (download) - annotate - [select for diffs], Wed Dec 11 06:43:06 2002 UTC (9 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.86.2.24: +8 -5
lines
Diff to previous 1.86.2.24 (colored)
Sync with HEAD.
Revision 1.118 / (download) - annotate - [select for diffs], Sun Nov 24 11:37:56 2002 UTC (9 years, 6 months ago) by scw
Branch: MAIN
Changes since 1.117: +8 -5
lines
Diff to previous 1.117 (colored)
Quell uninitialised variable warnings.
Revision 1.117 / (download) - annotate - [select for diffs], Wed Nov 20 04:29:31 2002 UTC (9 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.116: +4 -4
lines
Diff to previous 1.116 (colored)
White-space nits.
Revision 1.86.2.24 / (download) - annotate - [select for diffs], Mon Nov 11 22:13:52 2002 UTC (9 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.23: +47 -9
lines
Diff to previous 1.86.2.23 (colored)
Catch up to -current
Revision 1.116 / (download) - annotate - [select for diffs], Sat Nov 9 09:03:56 2002 UTC (9 years, 6 months ago) by manu
Branch: MAIN
Changes since 1.115: +8 -4
lines
Diff to previous 1.115 (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.115 / (download) - annotate - [select for diffs], Thu Nov 7 00:22:29 2002 UTC (9 years, 6 months ago) by manu
Branch: MAIN
Changes since 1.114: +39 -5
lines
Diff to previous 1.114 (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.114 / (download) - annotate - [select for diffs], Sat Nov 2 07:25:21 2002 UTC (9 years, 6 months ago) by perry
Branch: MAIN
Changes since 1.113: +6 -6
lines
Diff to previous 1.113 (colored)
/*CONTCOND*/ while (0)'ed macros
Revision 1.91.2.7 / (download) - annotate - [select for diffs], Thu Oct 10 18:43:12 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.91.2.6: +3 -3
lines
Diff to previous 1.91.2.6 (colored) next main 1.92 (colored)
sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
Revision 1.86.2.23 / (download) - annotate - [select for diffs], Tue Sep 17 21:22:13 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.22: +1 -1
lines
Diff to previous 1.86.2.22 (colored)
Catch up to -current.
Revision 1.91.2.6 / (download) - annotate - [select for diffs], Fri Sep 6 08:47:59 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.91.2.5: +50 -22
lines
Diff to previous 1.91.2.5 (colored)
sync kqueue branch with HEAD
Revision 1.113 / (download) - annotate - [select for diffs], Wed Sep 4 01:32:40 2002 UTC (9 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge
Changes since 1.112: +3 -3
lines
Diff to previous 1.112 (colored)
Use the queue macros from <sys/queue.h> instead of referring to the queue members directly. Use *_FOREACH whenever possible.
Revision 1.108.2.2 / (download) - annotate - [select for diffs], Thu Aug 29 05:23:09 2002 UTC (9 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.108.2.1: +32 -22
lines
Diff to previous 1.108.2.1 (colored) to branchpoint 1.108 (colored) next main 1.109 (colored)
catch up with -current.
Revision 1.86.2.22 / (download) - annotate - [select for diffs], Tue Aug 27 23:47:28 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.21: +30 -20
lines
Diff to previous 1.86.2.21 (colored)
Catch up to -current.
Revision 1.112 / (download) - annotate - [select for diffs], Mon Aug 26 13:09:40 2002 UTC (9 years, 9 months ago) by augustss
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.111: +2 -38
lines
Diff to previous 1.111 (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.111 / (download) - annotate - [select for diffs], Sun Aug 25 22:51:07 2002 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.110: +32 -22
lines
Diff to previous 1.110 (colored)
Fix signed/unsigned comparison warnings from GCC 3.3.
Revision 1.110 / (download) - annotate - [select for diffs], Sat Aug 24 17:27:01 2002 UTC (9 years, 9 months ago) by augustss
Branch: MAIN
Changes since 1.109: +38 -2
lines
Diff to previous 1.109 (colored)
Add sysctl support for hw.dev.ubtbcmfw (so I can set the firmware path for my BCM2033).
Revision 1.86.2.21 / (download) - annotate - [select for diffs], Thu Aug 1 02:46:22 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.20: +20 -2
lines
Diff to previous 1.86.2.20 (colored)
Catch up to -current.
Revision 1.108.2.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:36:35 2002 UTC (9 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.108: +20 -2
lines
Diff to previous 1.108 (colored)
catch up with -current.
Revision 1.86.2.20 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:19 2002 UTC (9 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.19: +2 -3
lines
Diff to previous 1.86.2.19 (colored)
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.109 / (download) - annotate - [select for diffs], Tue Jul 2 17:06:17 2002 UTC (9 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.108: +20 -2
lines
Diff to previous 1.108 (colored)
provide KERN_URND, which extracts sizeof(int) random number from the kernel (similar to /dev/urandom, for use within chroot jail).
Revision 1.91.2.5 / (download) - annotate - [select for diffs], Sun Jun 23 17:49:32 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.91.2.4: +63 -8
lines
Diff to previous 1.91.2.4 (colored)
catch up with -current on kqueue branch
Revision 1.86.2.19 / (download) - annotate - [select for diffs], Thu Jun 20 03:47:17 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.18: +3 -3
lines
Diff to previous 1.86.2.18 (colored)
Catch up to -current.
Revision 1.86.2.18 / (download) - annotate - [select for diffs], Wed May 29 21:33:12 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.17: +3 -2
lines
Diff to previous 1.86.2.17 (colored)
#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t now that <sys/param.h> doesn't include <sys/sa.h>. (Behold the Power of Ed)
Revision 1.108 / (download) - annotate - [select for diffs], Tue May 14 02:58:32 2002 UTC (10 years ago) by matt
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-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Branch point for: netbsd-1-6,
gehenna-devsw
Changes since 1.107: +3 -3
lines
Diff to previous 1.107 (colored)
Eliminate more commons or redundant declarations.
Revision 1.107 / (download) - annotate - [select for diffs], Mon May 13 07:13:58 2002 UTC (10 years ago) by matt
Branch: MAIN
Changes since 1.106: +4 -4
lines
Diff to previous 1.106 (colored)
debug0, debug1, debug15 are defined elsewhere. XXX there needs to a better was of doing this.
Revision 1.86.2.17 / (download) - annotate - [select for diffs], Wed Apr 24 21:57:19 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.16: +3 -3
lines
Diff to previous 1.86.2.16 (colored)
Pasto: use =, not |=, when setting kl->l_flag.
Revision 1.86.2.16 / (download) - annotate - [select for diffs], Wed Apr 24 04:22:57 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.15: +5 -3
lines
Diff to previous 1.86.2.15 (colored)
Fill in p_realstat and l_laddr.
Revision 1.86.2.15 / (download) - annotate - [select for diffs], Tue Apr 23 03:33:13 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.14: +108 -10
lines
Diff to previous 1.86.2.14 (colored)
Fill in the new fields in struct kinfo_proc2. Add KERN_LWP handling.
Revision 1.86.2.14 / (download) - annotate - [select for diffs], Wed Apr 17 00:06:18 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.13: +29 -12
lines
Diff to previous 1.86.2.13 (colored)
Catch up to -current.
Revision 1.106 / (download) - annotate - [select for diffs], Wed Apr 3 08:06:17 2002 UTC (10 years, 1 month ago) by simonb
Branch: MAIN
Changes since 1.105: +4 -7
lines
Diff to previous 1.105 (colored)
Fix a typo that stopped this compiling in the !LKM case. Remove the buf2 variable from sysctl_sysvipc(), which was only ever assigned to but not used.
Revision 1.105 / (download) - annotate - [select for diffs], Tue Apr 2 20:21:51 2002 UTC (10 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.104: +30 -10
lines
Diff to previous 1.104 (colored)
make emul_sysctl() work with emulations loaded via LKM, properly bound check name[0]
Revision 1.86.2.13 / (download) - annotate - [select for diffs], Mon Apr 1 07:47:55 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.12: +41 -3
lines
Diff to previous 1.86.2.12 (colored)
Catch up to -current. (CVS: It's not just a program. It's an adventure!)
Revision 1.104 / (download) - annotate - [select for diffs], Wed Mar 20 00:27:26 2002 UTC (10 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: eeh-devprop-base,
eeh-devprop
Changes since 1.103: +41 -3
lines
Diff to previous 1.103 (colored)
emulation specific sysctls.
Revision 1.91.2.4 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:49 2002 UTC (10 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.91.2.3: +6 -7
lines
Diff to previous 1.91.2.3 (colored)
Catch up with -current.
Revision 1.103.4.1 / (download) - annotate - [select for diffs], Mon Mar 11 18:28:53 2002 UTC (10 years, 2 months ago) by thorpej
Branch: newlock
Changes since 1.103: +8 -9
lines
Diff to previous 1.103 (colored) next main 1.104 (colored)
Convert sysctl_memlock to an adaptive mutex.
Revision 1.86.2.12 / (download) - annotate - [select for diffs], Thu Feb 28 04:14:44 2002 UTC (10 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.11: +60 -17
lines
Diff to previous 1.86.2.11 (colored)
Catch up to -current.
Revision 1.103 / (download) - annotate - [select for diffs], Thu Feb 14 07:08:21 2002 UTC (10 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: newlock-base,
ifpoll-base,
ifpoll
Branch point for: newlock
Changes since 1.102: +3 -4
lines
Diff to previous 1.102 (colored)
allow writing to write-only mappings. fixes PR 3493.
Revision 1.91.2.3 / (download) - annotate - [select for diffs], Mon Feb 11 20:10:23 2002 UTC (10 years, 3 months ago) by jdolecek
Branch: kqueue
Changes since 1.91.2.2: +56 -12
lines
Diff to previous 1.91.2.2 (colored)
Sync w/ -current.
Revision 1.102 / (download) - annotate - [select for diffs], Mon Feb 11 18:11:43 2002 UTC (10 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.101: +5 -5
lines
Diff to previous 1.101 (colored)
Switch default for pipes to the faster John S. Dyson's implementation. Old, socketpair-based ones are available with option PIPE_SOCKETPAIR.
Revision 1.101 / (download) - annotate - [select for diffs], Thu Jan 31 00:32:47 2002 UTC (10 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.100: +4 -2
lines
Diff to previous 1.100 (colored)
Add {POSIX_MONOTONIC_CLOCK} variables.
Revision 1.100 / (download) - annotate - [select for diffs], Mon Jan 28 02:06:02 2002 UTC (10 years, 3 months ago) by simonb
Branch: MAIN
Changes since 1.99: +33 -2
lines
Diff to previous 1.99 (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.99 / (download) - annotate - [select for diffs], Sun Jan 27 13:33:36 2002 UTC (10 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.98: +10 -9
lines
Diff to previous 1.98 (colored)
- kern.maxvnodes: only call vfs_reinit() and nchreinit() if the value was successfully changed. previously, successfully viewing the current value would flush the cache :-/ - similarly, don't change hostid and sb_max unless the value was successfully changed
Revision 1.98 / (download) - annotate - [select for diffs], Sun Jan 27 12:41:08 2002 UTC (10 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.97: +15 -5
lines
Diff to previous 1.97 (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.91.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:59:57 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.91.2.1: +11 -2
lines
Diff to previous 1.91.2.1 (colored)
Sync kqueue branch with -current.
Revision 1.73.2.4 / (download) - annotate - [select for diffs], Sat Jan 5 18:01:58 2002 UTC (10 years, 4 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.73.2.3: +3 -2
lines
Diff to previous 1.73.2.3 (colored) to branchpoint 1.73 (colored)
Pull up revision 1.96 (requested by bouyer): Fix a memory leak when pl_corename is changed more than once.
Revision 1.86.2.11 / (download) - annotate - [select for diffs], Thu Nov 29 01:22:57 2001 UTC (10 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.10: +2 -60
lines
Diff to previous 1.86.2.10 (colored)
Make proc_representative_lwp() non-static and move it to kern_lwp.c.
Revision 1.86.2.10 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:38 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.9: +6 -2
lines
Diff to previous 1.86.2.9 (colored)
Catch up to -current.
Revision 1.95.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:18:50 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.95: +6 -2
lines
Diff to previous 1.95 (colored) next main 1.96 (colored)
Sync the thorpej-mips-cache branch with -current.
Revision 1.97 / (download) - annotate - [select for diffs], Mon Nov 12 15:25:17 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.96: +4 -1
lines
Diff to previous 1.96 (colored)
add RCSIDs
Revision 1.96 / (download) - annotate - [select for diffs], Thu Nov 8 21:24:47 2001 UTC (10 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.95: +3 -2
lines
Diff to previous 1.95 (colored)
Fix a memory leak when we change pl_corename several times.
Revision 1.93.2.3 / (download) - annotate - [select for diffs], Sat Oct 13 17:42:51 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.93.2.2: +4 -4
lines
Diff to previous 1.93.2.2 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored)
Revert the t_dev -> t_devvp change in struct tty. The way that tty structs are currently used (especially by console ttys) aren't ready for it, and this will require quite a few changes.
Revision 1.93.2.2 / (download) - annotate - [select for diffs], Mon Oct 1 12:46:53 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.93.2.1: +6 -1
lines
Diff to previous 1.93.2.1 (colored) to branchpoint 1.93 (colored)
Catch up with -current.
Revision 1.86.2.9 / (download) - annotate - [select for diffs], Wed Sep 26 19:55:05 2001 UTC (10 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.8: +3 -1
lines
Diff to previous 1.86.2.8 (colored)
Catch up to -current. Again.
Revision 1.95 / (download) - annotate - [select for diffs], Mon Sep 24 06:01:13 2001 UTC (10 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2
Branch point for: thorpej-mips-cache
Changes since 1.94: +3 -1
lines
Diff to previous 1.94 (colored)
resize the namecache hash table also when desiredvnodes changes.
Revision 1.86.2.8 / (download) - annotate - [select for diffs], Fri Sep 21 22:36:25 2001 UTC (10 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.7: +4 -1
lines
Diff to previous 1.86.2.7 (colored)
Catch up to -current.
Revision 1.94 / (download) - annotate - [select for diffs], Sat Sep 15 16:12:57 2001 UTC (10 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: pre-chs-ubcperf,
post-chs-ubcperf
Changes since 1.93: +4 -1
lines
Diff to previous 1.93 (colored)
add a new VFS op, vfs_reinit, which is called when desiredvnodes is adjusted via sysctl. file systems that have hash tables which are sized based on the value of this variable now resize those hash tables using the new value. the max number of FFS softdeps is also recalculated. convert various file systems to use the <sys/queue.h> macros for their hash tables.
Revision 1.86.2.7 / (download) - annotate - [select for diffs], Mon Sep 10 22:48:37 2001 UTC (10 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.6: +3 -1
lines
Diff to previous 1.86.2.6 (colored)
Make the information from the representative LWP's l_stat and l_flag appear in ki->p_stat and ki->p_flag, so that top and ps display more useful information.
Revision 1.93.2.1 / (download) - annotate - [select for diffs], Fri Sep 7 04:45:37 2001 UTC (10 years, 8 months ago) by thorpej
Branch: thorpej-devvp
Changes since 1.93: +7 -4
lines
Diff to previous 1.93 (colored)
Commit my "devvp" changes to the thorpej-devvp branch. This replaces the use of dev_t in most places with a struct vnode *. This will form the basic infrastructure for real cloning device support (besides being architecurally cleaner -- it'll be good to get away from using numbers to represent objects).
Revision 1.86.2.6 / (download) - annotate - [select for diffs], Fri Aug 24 00:11:32 2001 UTC (10 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.5: +64 -137
lines
Diff to previous 1.86.2.5 (colored)
Catch up with -current.
Revision 1.91.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:42 2001 UTC (10 years, 9 months ago) by lukem
Branch: kqueue
Changes since 1.91: +16 -1
lines
Diff to previous 1.91 (colored)
update to -current
Revision 1.93 / (download) - annotate - [select for diffs], Fri Jul 27 21:19:09 2001 UTC (10 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.92: +15 -2
lines
Diff to previous 1.92 (colored)
Add a sysctl to frob sb_max.
Revision 1.92 / (download) - annotate - [select for diffs], Sat Jul 14 06:36:01 2001 UTC (10 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.91: +3 -1
lines
Diff to previous 1.91 (colored)
Add support for kern.maxphys, vm.maxslp, vm.uspace (the later two for ps).
Revision 1.91 / (download) - annotate - [select for diffs], Mon Jul 9 23:35:56 2001 UTC (10 years, 10 months ago) by simonb
Branch: MAIN
Branch point for: kqueue
Changes since 1.90: +45 -137
lines
Diff to previous 1.90 (colored)
ANSIfy.
Revision 1.86.2.5 / (download) - annotate - [select for diffs], Thu Jun 21 20:06:56 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.4: +25 -7
lines
Diff to previous 1.86.2.4 (colored)
Catch up to -current.
Revision 1.90 / (download) - annotate - [select for diffs], Thu Jun 21 19:08:38 2001 UTC (10 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.89: +5 -1
lines
Diff to previous 1.89 (colored)
Move prototype of sysctl_dopipe() from <sys/sysctl.h> to <sys/pipe.h> and adjust kern/kern_sysctl.c accordingly.
Revision 1.86.2.4 / (download) - annotate - [select for diffs], Wed Jun 20 13:44:47 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.3: +3 -2
lines
Diff to previous 1.86.2.3 (colored)
In proc_representative_lwp(), include LWPs in state LSSUSPENDED, in case they're the only things left.
Revision 1.89 / (download) - annotate - [select for diffs], Sat Jun 16 12:00:02 2001 UTC (10 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.88: +8 -1
lines
Diff to previous 1.88 (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.88 / (download) - annotate - [select for diffs], Thu Apr 26 06:07:13 2001 UTC (11 years, 1 month ago) by enami
Branch: MAIN
Changes since 1.87: +18 -7
lines
Diff to previous 1.87 (colored)
Make sysctl_msgbuf() to copy message buffer to userland even if the write pointer points to the beginning of message buffer.
Revision 1.86.2.3 / (download) - annotate - [select for diffs], Mon Apr 9 01:57:54 2001 UTC (11 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.2: +5 -4
lines
Diff to previous 1.86.2.2 (colored)
Catch up with -current.
Revision 1.86.2.2 / (download) - annotate - [select for diffs], Thu Mar 29 01:09:11 2001 UTC (11 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86.2.1: +28 -29
lines
Diff to previous 1.86.2.1 (colored)
Don't try to find a representative LWP for a dead or zombie process; there won't be such a thing.
Revision 1.52.2.4 / (download) - annotate - [select for diffs], Tue Mar 27 15:32:23 2001 UTC (11 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.52.2.3: +4 -3
lines
Diff to previous 1.52.2.3 (colored) next main 1.53 (colored)
Sync with HEAD.
Revision 1.87 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:55 2001 UTC (11 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Changes since 1.86: +5 -4
lines
Diff to previous 1.86 (colored)
eliminate the KERN_* error codes in favor of the traditional E* codes. the mapping is: KERN_SUCCESS 0 KERN_INVALID_ADDRESS EFAULT KERN_PROTECTION_FAILURE EACCES KERN_NO_SPACE ENOMEM KERN_INVALID_ARGUMENT EINVAL KERN_FAILURE various, mostly turn into KASSERTs KERN_RESOURCE_SHORTAGE ENOMEM KERN_NOT_RECEIVER <unused> KERN_NO_ACCESS <unused> KERN_PAGES_LOCKED <unused>
Revision 1.86.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:43 2001 UTC (11 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.86: +98 -21
lines
Diff to previous 1.86 (colored)
Initial commit of scheduler activations and lightweight process support.
Revision 1.52.2.3 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:40 2001 UTC (11 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.52.2.2: +4 -4
lines
Diff to previous 1.52.2.2 (colored)
Sync with HEAD
Revision 1.86 / (download) - annotate - [select for diffs], Fri Dec 22 22:59:00 2000 UTC (11 years, 5 months ago) by jdolecek
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.85: +5 -5
lines
Diff to previous 1.85 (colored)
split off thread specific stuff from struct sigacts to struct sigctx, leaving
only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx
This addresses kern/10981 by Matthew Orgass.
Revision 1.52.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:05:23 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.52.2.1: +98 -3
lines
Diff to previous 1.52.2.1 (colored)
Sync with HEAD.
Revision 1.52.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:05 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.52: +934 -175
lines
Diff to previous 1.52 (colored)
Update thorpej_scsipi to -current as of a month ago
Revision 1.85 / (download) - annotate - [select for diffs], Mon Nov 20 01:46:56 2000 UTC (11 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.84: +23 -1
lines
Diff to previous 1.84 (colored)
Add a sysctl_rdminstruct() function - same as sysctl_rdstruct() but can return short data if *oldlenp is less than len.
Revision 1.84 / (download) - annotate - [select for diffs], Sun Nov 19 01:46:26 2000 UTC (11 years, 6 months ago) by sommerfeld
Branch: MAIN
Changes since 1.83: +20 -2
lines
Diff to previous 1.83 (colored)
If MULTIPROCESSOR, count cpus and use that for hw.ncpu
Revision 1.83 / (download) - annotate - [select for diffs], Sun Nov 19 01:34:58 2000 UTC (11 years, 6 months ago) by sommerfeld
Branch: MAIN
Changes since 1.82: +44 -2
lines
Diff to previous 1.82 (colored)
Preliminary MULTIPROCESSOR support: - for CP_TIME, sum the times across all processors. - for kinfo_proc2, fill in cpu_id.
Revision 1.82 / (download) - annotate - [select for diffs], Wed Nov 8 22:41:59 2000 UTC (11 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.81: +14 -1
lines
Diff to previous 1.81 (colored)
Add console magic sequence framework.
Revision 1.81 / (download) - annotate - [select for diffs], Tue Sep 26 23:59:23 2000 UTC (11 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.80: +1 -3
lines
Diff to previous 1.80 (colored)
PHOLD/PRELE around uvm_io() to user address space is unnecessary. There is nothing in the U-area that we need.
Revision 1.80 / (download) - annotate - [select for diffs], Sat Sep 23 11:33:05 2000 UTC (11 years, 8 months ago) by bjh21
Branch: MAIN
Changes since 1.79: +3 -1
lines
Diff to previous 1.79 (colored)
Conditionalise the declaration of sysctl_pty() so that we don't get a compiler warning in the NPTY==0 case.
Revision 1.79 / (download) - annotate - [select for diffs], Mon Sep 11 18:45:29 2000 UTC (11 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.78: +2 -2
lines
Diff to previous 1.78 (colored)
Fix 0 vs. NULL confusion.
Revision 1.78 / (download) - annotate - [select for diffs], Sun Sep 10 17:29:50 2000 UTC (11 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.77: +38 -15
lines
Diff to previous 1.77 (colored)
handle KERN_MAXPTYS via new sysctl_pty(), which uses pty_maxptys() provided by tty_pty.c
Revision 1.77 / (download) - annotate - [select for diffs], Sat Sep 9 16:42:04 2000 UTC (11 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.76: +19 -1
lines
Diff to previous 1.76 (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.73.2.3 / (download) - annotate - [select for diffs], Tue Aug 8 23:46:56 2000 UTC (11 years, 9 months ago) by thorpej
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Changes since 1.73.2.2: +2 -2
lines
Diff to previous 1.73.2.2 (colored) to branchpoint 1.73 (colored)
Pull up rev. 1.76: In fill_kproc2(), testing p->p_stats != NULL doesn't do much good, instead test for (p->p_flag & I_INMEM), and don't access the U-area (via p->p_stats) if that bit is clear. Fixes the hangs people have seen when the system is paging and the user runs top/ps/w.
Revision 1.76 / (download) - annotate - [select for diffs], Tue Aug 8 23:42:07 2000 UTC (11 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.75: +2 -2
lines
Diff to previous 1.75 (colored)
In fill_kproc2(), testing p->p_stats != NULL doesn't do much good, instead test for (p->p_flag & I_INMEM), and don't access the U-area (via p->p_stats) if that bit is clear. Fixes the hangs people have seen when the system is paging and the user runs top/ps/w.
Revision 1.73.2.2 / (download) - annotate - [select for diffs], Sat Jul 22 04:38:14 2000 UTC (11 years, 10 months ago) by simonb
Branch: netbsd-1-5
Changes since 1.73.2.1: +11 -1
lines
Diff to previous 1.73.2.1 (colored) to branchpoint 1.73 (colored)
Pull up rev 1.74: Add a KERN_CONSDEV sysctl that returns cn_tab->cn_dev (if cn_tab is not NULL).
Revision 1.73.2.1 / (download) - annotate - [select for diffs], Fri Jul 14 18:10:51 2000 UTC (11 years, 10 months ago) by thorpej
Branch: netbsd-1-5
Changes since 1.73: +43 -49
lines
Diff to previous 1.73 (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.75 / (download) - annotate - [select for diffs], Fri Jul 14 07:21:22 2000 UTC (11 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.74: +43 -49
lines
Diff to previous 1.74 (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.74 / (download) - annotate - [select for diffs], Thu Jul 13 14:26:43 2000 UTC (11 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.73: +11 -1
lines
Diff to previous 1.73 (colored)
Add a KERN_CONSDEV sysctl that returns cn_tab->cn_dev (if cn_tab is not NULL).
Revision 1.65.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:09:12 2000 UTC (11 years, 11 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.65: +310 -30
lines
Diff to previous 1.65 (colored) next main 1.66 (colored)
Sync w/ netbsd-1-5-base.
Revision 1.73 / (download) - annotate - [select for diffs], Fri Jun 16 00:57:04 2000 UTC (11 years, 11 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.72: +19 -1
lines
Diff to previous 1.72 (colored)
Add #ifdef checks for SYSVMSG, SYSVSEM and SYSVSHM in more places to catch when some but not all of the SysV IPC facilities are configured. Problem noticed by Phil Nelson.
Revision 1.72 / (download) - annotate - [select for diffs], Fri Jun 16 00:18:09 2000 UTC (11 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.71: +47 -1
lines
Diff to previous 1.71 (colored)
Add a KERN_MSGBUF sysctl to return the message buffer.
Revision 1.71 / (download) - annotate - [select for diffs], Tue Jun 13 01:27:00 2000 UTC (11 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.70: +24 -1
lines
Diff to previous 1.70 (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.70 / (download) - annotate - [select for diffs], Sat Jun 3 20:42:42 2000 UTC (11 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.69: +5 -3
lines
Diff to previous 1.69 (colored)
Move schedticks and cp_time into schedstate_percpu. Also, allow non-primary CPUs to call hardclock(), but make them bail about before updating global timekeeping state (that's the job of the primary CPU).
Revision 1.69 / (download) - annotate - [select for diffs], Fri Jun 2 15:53:05 2000 UTC (11 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.68: +201 -12
lines
Diff to previous 1.68 (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.68 / (download) - annotate - [select for diffs], Thu Jun 1 18:30:03 2000 UTC (11 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.67: +9 -7
lines
Diff to previous 1.67 (colored)
Fix lossage when transferring a pointer value into an off_t var.
Revision 1.67 / (download) - annotate - [select for diffs], Thu Jun 1 13:36:51 2000 UTC (11 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.66: +6 -5
lines
Diff to previous 1.66 (colored)
Plug a slow kernel memory leak - a page was lost for each system or zombie process queried with the KERN_PROC_ARGS sysctl. Fixed by moving a malloc call after all possible early return conditions.
Revision 1.66 / (download) - annotate - [select for diffs], Wed May 31 05:02:34 2000 UTC (11 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.65: +6 -7
lines
Diff to previous 1.65 (colored)
Track which process a CPU is running/has last run on by adding a p_cpu member to struct proc. Use this in certain places when accessing scheduler state, etc. For the single-processor case, just initialize p_cpu in fork1() to avoid having to set it in the low-level context switch code on platforms which will never have multiprocessing. While I'm here, comment a few places where there are known issues for the SMP implementation.
Revision 1.65 / (download) - annotate - [select for diffs], Sat May 27 04:52:36 2000 UTC (12 years ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.64: +2 -2
lines
Diff to previous 1.64 (colored)
sleep() -> tsleep()
Revision 1.64 / (download) - annotate - [select for diffs], Sat May 27 03:24:50 2000 UTC (12 years ago) by simonb
Branch: MAIN
Changes since 1.63: +4 -3
lines
Diff to previous 1.63 (colored)
Set *sizep correctly if returning the number of elements. Pointed out by Anders Magnusson. Honor elem_count in the KERN_PROC2 case, as well as overall buffer space. The only user-land code to use this set the elem_count to "buffer_space / elem_size", so we've had no incorrect behaviour to date.
Revision 1.63 / (download) - annotate - [select for diffs], Fri May 26 22:59:31 2000 UTC (12 years ago) by thorpej
Branch: MAIN
Changes since 1.62: +7 -2
lines
Diff to previous 1.62 (colored)
Adjust kinfo_proc2's p_schedflags assignment to match new reality.
Revision 1.62 / (download) - annotate - [select for diffs], Fri May 26 02:23:12 2000 UTC (12 years ago) by simonb
Branch: MAIN
Changes since 1.61: +439 -53
lines
Diff to previous 1.61 (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.61 / (download) - annotate - [select for diffs], Sat Apr 15 04:38:07 2000 UTC (12 years, 1 month ago) by simonb
Branch: MAIN
Changes since 1.60: +13 -5
lines
Diff to previous 1.60 (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.60 / (download) - annotate - [select for diffs], Thu Mar 30 09:27:12 2000 UTC (12 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.59: +9 -9
lines
Diff to previous 1.59 (colored)
Get rid of register declarations.
Revision 1.59 / (download) - annotate - [select for diffs], Tue Mar 28 23:57:35 2000 UTC (12 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.58: +1 -3
lines
Diff to previous 1.58 (colored)
Centralise the declarations of cpu_model, machine, machine_arch, osrelease, and ostype and remove "extern char foo[];" (for hostname and domainname too). Also delete redunctant decl of boottime in kern_info_43.c.
Revision 1.58 / (download) - annotate - [select for diffs], Sun Feb 27 06:13:40 2000 UTC (12 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.57: +3 -1
lines
Diff to previous 1.57 (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.57 / (download) - annotate - [select for diffs], Sun Feb 6 07:29:58 2000 UTC (12 years, 3 months ago) by fair
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.56: +4 -1
lines
Diff to previous 1.56 (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.56 / (download) - annotate - [select for diffs], Sun Jan 16 15:07:48 2000 UTC (12 years, 4 months ago) by assar
Branch: MAIN
Changes since 1.55: +6 -3
lines
Diff to previous 1.55 (colored)
(sysctl_doeproc): make sure we release the proclist_lock even if copyout fails
Revision 1.52.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:52 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.52: +95 -67
lines
Diff to previous 1.52 (colored) next main 1.53 (colored)
Pull up to last week's -current.
Revision 1.55 / (download) - annotate - [select for diffs], Wed Nov 17 23:24:54 1999 UTC (12 years, 6 months ago) by is
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Changes since 1.54: +94 -65
lines
Diff to previous 1.54 (colored)
- strings handled by the common functions sysctl_string() and sysctl_rdstring() are handled as arrays; that is, a truncated old value is returned, alongside with ENOMEM, if the buffer is too small. - in all int, quad, and single struct cases, and all specials handled inside this file, oldlenp semantics are now as documented in the manual page, that is, a NULL oldp, but non-NULL oldlenp returns the needed size [I had to change the oldlenp handling, so I thought I should make it as advertized. Formerly, the subroutines would not know when a NULL oldlenp was passed, do the work anyway, and the value would be thrown away.] This is needed as a first step to make gethostname() and getdomainname() conform to its own manual page and SUSV2. (See pr 7836 by Simon Burge)
Revision 1.52.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:41:49 1999 UTC (12 years, 6 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.52: +4 -5
lines
Diff to previous 1.52 (colored) next main 1.53 (colored)
Sync with -current
Revision 1.54 / (download) - annotate - [select for diffs], Fri Nov 12 16:10:16 1999 UTC (12 years, 6 months ago) by is
Branch: MAIN
CVS Tags: fvdl-softdep-base
Changes since 1.53: +3 -4
lines
Diff to previous 1.53 (colored)
Return the data length even for non-readonly strings, as advertized.
Revision 1.53 / (download) - annotate - [select for diffs], Wed Nov 3 09:12:15 1999 UTC (12 years, 6 months ago) by jdolecek
Branch: MAIN
CVS Tags: comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.52: +2 -2
lines
Diff to previous 1.52 (colored)
proc_sysctl(): initialize ptmp to NULL - theoretically, ptmp might be used uninitialized when name[0] != PROC_CURPROC and proclists[0]->pd_list == NULL; actually, this can never happen (proclists[0] == &allproc), but the compiler can not know this, so it complains
Revision 1.52 / (download) - annotate - [select for diffs], Tue Sep 28 14:47:04 1999 UTC (12 years, 8 months ago) by bouyer
Branch: MAIN
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep
Changes since 1.51: +227 -21
lines
Diff to previous 1.51 (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.51 / (download) - annotate - [select for diffs], Mon Sep 27 16:24:40 1999 UTC (12 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.50: +3 -1
lines
Diff to previous 1.50 (colored)
1003.1c: add {LOGIN_NAME_MAX}.
Revision 1.43.4.3 / (download) - annotate - [select for diffs], Mon Aug 2 22:19:13 1999 UTC (12 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.43.4.2: +5 -2
lines
Diff to previous 1.43.4.2 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)
Update from trunk.
Revision 1.50 / (download) - annotate - [select for diffs], Sun Jul 25 06:30:35 1999 UTC (12 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.49: +2 -2
lines
Diff to previous 1.49 (colored)
Turn the proclist lock into a read/write spinlock. Update proclist locking calls to reflect this. Also, block statclock rather than softclock during in the proclist locking functions, to address a problem reported on current-users by Sean Doran.
Revision 1.49 / (download) - annotate - [select for diffs], Thu Jul 22 21:08:32 1999 UTC (12 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.48: +4 -1
lines
Diff to previous 1.48 (colored)
Add a read/write lock to the proclists and PID hash table. Use the write lock when doing PID allocation, and during the process exit path. Use a read lock every where else, including within schedcpu() (interrupt context). Note that holding the write lock implies blocking schedcpu() from running (blocks softclock). PID allocation is now MP-safe. Note this actually fixes a bug on single processor systems that was probably extremely difficult to tickle; it was possible that schedcpu() would run off a bad pointer if the right clock interrupt happened to come in the middle of a LIST_INSERT_HEAD() or LIST_REMOVE() to/from allproc.
Revision 1.48 / (download) - annotate - [select for diffs], Thu Jul 22 18:13:37 1999 UTC (12 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.47: +2 -2
lines
Diff to previous 1.47 (colored)
Rework the process exit path, in preparation for making process exit and PID allocation MP-safe. A new process state is added: SDEAD. This state indicates that a process is dead, but not yet a zombie (has not yet been processed by the process reaper). SDEAD processes exist on both the zombproc list (via p_list) and deadproc (via p_hash; the proc has been removed from the pidhash earlier in the exit path). When the reaper deals with a process, it changes the state to SZOMB, so that wait4 can process it. Add a P_ZOMBIE() macro, which treats a proc in SZOMB or SDEAD as a zombie, and update various parts of the kernel to reflect the new state.
Revision 1.43.4.2 / (download) - annotate - [select for diffs], Thu Jul 1 23:43:20 1999 UTC (12 years, 10 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.43.4.1: +9 -1
lines
Diff to previous 1.43.4.1 (colored) to branchpoint 1.43 (colored)
Sync w/ -current.
Revision 1.47 / (download) - annotate - [select for diffs], Thu Jun 24 14:18:11 1999 UTC (12 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.46: +9 -1
lines
Diff to previous 1.46 (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.43.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:24:03 1999 UTC (12 years, 11 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.43: +30 -7
lines
Diff to previous 1.43 (colored)
Sync w/ -current.
Revision 1.46 / (download) - annotate - [select for diffs], Thu Jun 17 15:47:23 1999 UTC (12 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.45: +10 -2
lines
Diff to previous 1.45 (colored)
Make uvm_vslock() return the error code from uvm_fault_wire(). All places which use uvm_vslock() should now test the return value. If it's not KERN_SUCCESS, wiring the pages failed, so the operation which is using uvm_vslock() should error out. XXX We currently just EFAULT a failed uvm_vslock(). We may want to do more about translating error codes in the future.
Revision 1.45 / (download) - annotate - [select for diffs], Wed May 26 01:07:06 1999 UTC (13 years ago) by thorpej
Branch: MAIN
Changes since 1.44: +8 -3
lines
Diff to previous 1.44 (colored)
XXX Pass VM_PROT_NONE to uvm_vslock() as access_type. Why are we even vslocking here?! copyout() on its own seems to suffice just about everwhere else, and it's not like the process is going to exit; it's in a system call!
Revision 1.44 / (download) - annotate - [select for diffs], Mon Apr 26 21:56:23 1999 UTC (13 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.43: +15 -5
lines
Diff to previous 1.43 (colored)
Add support for the kern.mbuf sysctl node.
Revision 1.43 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:25 1999 UTC (13 years, 2 months ago) by mrg
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,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: chs-ubc2
Changes since 1.42: +1 -28
lines
Diff to previous 1.42 (colored)
completely remove Mach VM support. all that is left is the all the header files as UVM still uses (most of) these.
Revision 1.42.2.1 / (download) - annotate - [select for diffs], Mon Nov 9 06:06:32 1998 UTC (13 years, 6 months ago) by chs
Branch: chs-ubc
Changes since 1.42: +1 -5
lines
Diff to previous 1.42 (colored) next main 1.43 (colored)
initial snapshot. lots left to do.
Revision 1.42 / (download) - annotate - [select for diffs], Mon Oct 19 22:19:26 1998 UTC (13 years, 7 months ago) by tron
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base
Branch point for: chs-ubc
Changes since 1.41: +2 -1
lines
Diff to previous 1.41 (colored)
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
Revision 1.41 / (download) - annotate - [select for diffs], Tue Sep 8 23:50:14 1998 UTC (13 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.40: +9 -9
lines
Diff to previous 1.40 (colored)
- Use proclists[], rather than checking allproc and zombproc explicitly. - Add some comments about locking.
Revision 1.38.2.1 / (download) - annotate - [select for diffs], Sat Aug 8 03:06:56 1998 UTC (13 years, 9 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.38: +3 -3
lines
Diff to previous 1.38 (colored) next main 1.39 (colored)
Revert cdevsw mmap routines to return int.
Revision 1.40 / (download) - annotate - [select for diffs], Mon Aug 3 14:38:21 1998 UTC (13 years, 9 months ago) by kleink
Branch: MAIN
Changes since 1.39: +5 -1
lines
Diff to previous 1.39 (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.39 / (download) - annotate - [select for diffs], Fri Jul 31 22:50:51 1998 UTC (13 years, 9 months ago) by perry
Branch: MAIN
Changes since 1.38: +3 -3
lines
Diff to previous 1.38 (colored)
fix sizeofs so they comply with the KNF style guide. yes, it is pedantic.
Revision 1.38 / (download) - annotate - [select for diffs], Sat Jul 4 22:18:51 1998 UTC (13 years, 10 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.37: +6 -1
lines
Diff to previous 1.37 (colored)
defopt DDB.
Revision 1.37 / (download) - annotate - [select for diffs], Sun Jun 28 21:34:59 1998 UTC (13 years, 11 months ago) by nathanw
Branch: MAIN
Changes since 1.36: +18 -1
lines
Diff to previous 1.36 (colored)
Implement short corefile name support, controlled by options SHORTCORENAME and sysctl kern.shortcorename. Closes PR kern/5191.
Revision 1.36 / (download) - annotate - [select for diffs], Sun May 24 19:52:01 1998 UTC (14 years ago) by kleink
Branch: MAIN
Changes since 1.35: +21 -1
lines
Diff to previous 1.35 (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.35 / (download) - annotate - [select for diffs], Thu Apr 30 06:28:58 1998 UTC (14 years ago) by thorpej
Branch: MAIN
Changes since 1.34: +5 -5
lines
Diff to previous 1.34 (colored)
Pass vslock() and vsunlock() a proc *, rather than implicitly operating on curproc.
Revision 1.34 / (download) - annotate - [select for diffs], Sun Mar 1 02:22:30 1998 UTC (14 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.33: +6 -8
lines
Diff to previous 1.33 (colored)
Merge with Lite2 + local changes
Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:12:55 1998 UTC (14 years, 2 months ago) by fvdl
Branch: netbsd,
CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +73 -67
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:09:43 1998 UTC (14 years, 2 months ago) by fvdl
Branch: netbsd,
CSRG
CVS Tags: lite-1,
date-03-may-96
Changes since 1.1: +1 -10
lines
Diff to previous 1.1 (colored)
Import 4.4BSD-Lite for reference
Revision 1.33 / (download) - annotate - [select for diffs], Sat Feb 14 00:37:33 1998 UTC (14 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +2 -1
lines
Diff to previous 1.32 (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.32 / (download) - annotate - [select for diffs], Tue Feb 10 14:09:46 1998 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.31: +2 -1
lines
Diff to previous 1.31 (colored)
- add defopt's for UVM, UVMHIST and PMAP_NEW. - remove unnecessary UVMHIST_DECL's.
Revision 1.31 / (download) - annotate - [select for diffs], Thu Feb 5 07:59:56 1998 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.30: +30 -1
lines
Diff to previous 1.30 (colored)
initial import of the new virtual memory system, UVM, into -current. UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some minor portions derived from the old Mach code. i provided some help getting swap and paging working, and other bug fixes/ideas. chuck silvers <chuq@chuq.com> also provided some other fixes. this is the rest of the MI portion changes. this will be KNF'd shortly. :-)
Revision 1.30 / (download) - annotate - [select for diffs], Thu Jan 22 01:18:32 1998 UTC (14 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +3 -1
lines
Diff to previous 1.29 (colored)
Generate dependencies on the INSECURE option.
Revision 1.28.2.1 / (download) - annotate - [select for diffs], Wed Oct 22 01:30:01 1997 UTC (14 years, 7 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: 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
Changes since 1.28: +5 -3
lines
Diff to previous 1.28 (colored) next main 1.29 (colored)
pull up from main trunk
Revision 1.29 / (download) - annotate - [select for diffs], Tue Oct 21 18:51:06 1997 UTC (14 years, 7 months ago) by sommerfe
Branch: MAIN
Changes since 1.28: +5 -3
lines
Diff to previous 1.28 (colored)
Fix PR4313: kern.maxvnodes setting was a psychotic placebo
Revision 1.27.4.1 / (download) - annotate - [select for diffs], Mon Sep 22 06:33:44 1997 UTC (14 years, 8 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.27: +12 -1
lines
Diff to previous 1.27 (colored) next main 1.28 (colored)
Update marc-pcmcia branch from trunk.
Revision 1.28 / (download) - annotate - [select for diffs], Fri Sep 19 13:56:39 1997 UTC (14 years, 8 months ago) by leo
Branch: MAIN
CVS Tags: netbsd-1-3-base,
marc-pcmcia-base
Branch point for: netbsd-1-3
Changes since 1.27: +12 -1
lines
Diff to previous 1.27 (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.27 / (download) - annotate - [select for diffs], Fri Jun 6 23:14:36 1997 UTC (14 years, 11 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.26: +4 -2
lines
Diff to previous 1.26 (colored)
Add HW_MACHINE_ARCH for the new sysctl hw.machine_arch which contains the cpu class of a machine.
Revision 1.26 / (download) - annotate - [select for diffs], Fri May 16 21:39:57 1997 UTC (15 years ago) by gwr
Branch: MAIN
Changes since 1.25: +2 -7
lines
Diff to previous 1.25 (colored)
Eliminate vmspace.vm_pmap and all references to it unless __VM_PMAP_HACK is defined (for temporary compatibility). The __VM_PMAP_HACK code should be removed after all the ports that define it have removed all vm_pmap references.
Revision 1.25 / (download) - annotate - [select for diffs], Fri Mar 21 06:50:48 1997 UTC (15 years, 2 months ago) by mikel
Branch: MAIN
Changes since 1.24: +2 -2
lines
Diff to previous 1.24 (colored)
kern.osrevision now returns value of NetBSD symbol (from <sys/param.h>), not BSD symbol. fixes PR kern/2016.
Revision 1.24 / (download) - annotate - [select for diffs], Wed Mar 19 04:55:07 1997 UTC (15 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.23: +5 -4
lines
Diff to previous 1.23 (colored)
fill_eproc(): Fill in e_login. From PR 3351, by Geoff Wing.
Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 31 02:33:59 1997 UTC (15 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Changes since 1.22: +5 -1
lines
Diff to previous 1.22 (colored)
Add a sysctl node "kern.root_device", which contains the external name of the device that root was mounted on (e.g. "sd0").
Revision 1.22 / (download) - annotate - [select for diffs], Thu Jan 30 10:29:24 1997 UTC (15 years, 3 months ago) by tls
Branch: MAIN
Changes since 1.21: +7 -2
lines
Diff to previous 1.21 (colored)
remove ability to mangle namei cache
Revision 1.20.2.2 / (download) - annotate - [select for diffs], Sat Jan 18 04:31:42 1997 UTC (15 years, 4 months ago) by thorpej
Branch: thorpej-setroot
Changes since 1.20.2.1: +3 -1
lines
Diff to previous 1.20.2.1 (colored) next main 1.21 (colored)
Update from trunk.
Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 15 01:37:52 1997 UTC (15 years, 4 months ago) by perry
Branch: MAIN
Changes since 1.20: +3 -1
lines
Diff to previous 1.20 (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.20.2.1 / (download) - annotate - [select for diffs], Tue Jan 14 21:27:05 1997 UTC (15 years, 4 months ago) by thorpej
Branch: thorpej-setroot
Changes since 1.20: +5 -1
lines
Diff to previous 1.20 (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.20 / (download) - annotate - [select for diffs], Thu Jan 9 05:37:41 1997 UTC (15 years, 4 months ago) by thorpej
Branch: MAIN
Branch point for: thorpej-setroot
Changes since 1.19: +6 -1
lines
Diff to previous 1.19 (colored)
Grok CTL_DDB.
Revision 1.19 / (download) - annotate - [select for diffs], Thu Nov 14 04:47:45 1996 UTC (15 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +3 -1
lines
Diff to previous 1.18 (colored)
Only call sysctl_ntptime() if NTP is compiled into the kernel.
Revision 1.18 / (download) - annotate - [select for diffs], Wed Jul 17 21:54:04 1996 UTC (15 years, 10 months ago) by explorer
Branch: MAIN
Changes since 1.17: +15 -1
lines
Diff to previous 1.17 (colored)
Add compile-time and run-time control over automatic niceing
Revision 1.17 / (download) - annotate - [select for diffs], Mon May 20 17:49:05 1996 UTC (16 years ago) by mrg
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.16: +2 -2
lines
Diff to previous 1.16 (colored)
initialise securelevel to zero to allow it to be patchable. this is _not_ a security issue.
Revision 1.16 / (download) - annotate - [select for diffs], Fri Apr 12 23:21:37 1996 UTC (16 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.15: +2 -3
lines
Diff to previous 1.15 (colored)
Fix __sysctl() to return the proper value to the caller, to match documented behavior. sysctl(3) is documented to return 0 on success, -1 on failure. The previous behavior was to return -1 on failure and the number of bytes copied back down to user space. Fixes part of PR #1999, from Kevin M. Lahey <kml@nas.nasa.gov>
Revision 1.15 / (download) - annotate - [select for diffs], Tue Feb 27 04:20:40 1996 UTC (16 years, 3 months ago) by jonathan
Branch: MAIN
Changes since 1.14: +3 -1
lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Fri Feb 9 18:59:52 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.13: +1 -3
lines
Diff to previous 1.13 (colored)
More proto fixes
Revision 1.13 / (download) - annotate - [select for diffs], Sun Feb 4 02:16:22 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.12: +27 -20
lines
Diff to previous 1.12 (colored)
First pass at prototyping
Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 7 06:28:27 1995 UTC (16 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Changes since 1.11: +3 -3
lines
Diff to previous 1.11 (colored)
Prefix names of system call implementation functions with `sys_'.
Revision 1.11 / (download) - annotate - [select for diffs], Tue Sep 19 21:45:07 1995 UTC (16 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +6 -5
lines
Diff to previous 1.10 (colored)
Make system calls conform to a standard prototype and bring those prototypes into scope.
Revision 1.10 / (download) - annotate - [select for diffs], Fri Aug 4 18:36:11 1995 UTC (16 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +3 -1
lines
Diff to previous 1.9 (colored)
Add and document a `kern.rawpartition' sysctl.
Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 24 20:34:07 1995 UTC (16 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.8: +1 -90
lines
Diff to previous 1.8 (colored)
Extracted all of the compat_xxx routines, and created a library [libcompat] for them. There are a few #ifdef COMPAT_XX remaining, but they are not easy or worth eliminating (yet).
Revision 1.8 / (download) - annotate - [select for diffs], Sun Mar 26 00:01:08 1995 UTC (17 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.7: +5 -1
lines
Diff to previous 1.7 (colored)
add an 'INSECURE' option which makes securelevel default to -1
Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 25 06:08:06 1995 UTC (17 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.6: +4 -1
lines
Diff to previous 1.6 (colored)
implement sysctl variable kern.maxpartitions
Revision 1.6 / (download) - annotate - [select for diffs], Sun Oct 30 21:47:45 1994 UTC (17 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.5: +3 -3
lines
Diff to previous 1.5 (colored)
be more careful with types, also pull in headers where necessary.
Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 20 04:22:57 1994 UTC (17 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.4: +61 -53
lines
Diff to previous 1.4 (colored)
update for new syscall args description mechanism
Revision 1.4 / (download) - annotate - [select for diffs], Fri Sep 16 23:57:22 1994 UTC (17 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +1 -5
lines
Diff to previous 1.3 (colored)
sparc is not special anymore
Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 30 03:05:46 1994 UTC (17 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +5 -5
lines
Diff to previous 1.2 (colored)
Convert process, file, and namei lists and hash tables to use queue.h.
Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 29 06:32:47 1994 UTC (17 years, 11 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.1: +3 -2
lines
Diff to previous 1.1 (colored)
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.1 / (download) - annotate - [select for diffs], Fri May 6 22:43:23 1994 UTC (18 years ago) by cgd
Branch: MAIN
latent support for general sysctl-ish stuff