Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Better and simpler check for negative offset; from Christer Oberg | 2004-11-18 | 1 | -3/+3 | |
| | |||||
* | Make sure we don't call kernfs_xread() with a negative offset. | 2004-09-01 | 1 | -3/+7 | |
| | | | | Problem found by Christer Oberg. OK henning@, deraadt@ | ||||
* | This moves access to wall and uptime variables in MI code, | 2004-06-24 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | encapsulating all such access into wall-defined functions that makes sure locking is done as needed. It also cleans up some uses of wall time vs. uptime some places, but there is sure to be more of these needed as well, particularily in MD code. Also, many current calls to microtime() should probably be changed to getmicrotime(), or to the {,get}microuptime() versions. ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others "Oh, that is not your problem!" from miod@ | ||||
* | fix ncpu vs ncpus glitch, spotted by Sven Dehmlow | 2004-06-12 | 1 | -3/+3 | |
| | |||||
* | remove more caddr_t | 2004-05-20 | 1 | -4/+4 | |
| | |||||
* | missing ar; form Alf Schlichting <leopold-bloom@foni.net> | 2003-12-09 | 1 | -2/+2 | |
| | |||||
* | set boottime's time to boottime, handy for find. requested by markus. | 2003-11-15 | 1 | -4/+8 | |
| | | | | | don't bother with microtime. time should be more than enough precision. from netbsd. | ||||
* | Replace select backends with poll backends. selscan() and pollscan() | 2003-09-23 | 1 | -3/+16 | |
| | | | | | | | now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK | ||||
* | constify constant targets | 2003-08-11 | 1 | -15/+15 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | use LK_EXCLUSIVE like all other file systems. | 2003-05-11 | 1 | -2/+2 | |
| | | | | use LK_RETRY in kernfs_root(). "just in case" stuff. | ||||
* | some snprintf usage from rohee. | 2003-04-07 | 1 | -10/+10 | |
| | |||||
* | Ensure that all files in /kern end with a newline (machine, model, | 2003-03-30 | 1 | -2/+8 | |
| | | | | | | osrelease and ostype were not). ok tedu@ | ||||
* | File system locking fixups, mostly from NetBSD: | 2003-01-31 | 1 | -8/+16 | |
| | | | | | | | | | | | | | | | - cache_lookup move common code from various fs's here always return with vnode and parent locked adjust return codes - PDIRUNLOCK - new flag set if lookup couldn't lock parent vnode - kernfs and procfs lock vnode in get_root don't unlock (again) in kernfs_freevp fix memory leak in procfs From tedu@stanford.edu deraadt@ and various other ok | ||||
* | Remove more '\n's from panic() statements. Both trailing and leading. | 2002-10-12 | 1 | -2/+2 | |
| | | | | Last bits of diff generated by Chris Kuethe. | ||||
* | remove ambiguity in version,ostype,osversion,osrelease and their constanity, they are and declarre 'em accordingly also removing private externies of those | 2002-03-14 | 1 | -7/+6 | |
| | |||||
* | First round of __P removal in sys | 2002-03-14 | 1 | -23/+23 | |
| | |||||
* | Cache vnodes, don't hold on to the root vnode, some cleanups, handle | 2002-02-17 | 1 | -73/+173 | |
| | | | | | | physmem and usermem correctly. kernel/2404 from peterw@ifost.org.au with some small fixups from me. | ||||
* | Fix typo, noticed by Richard Lowe | 2001-12-11 | 1 | -2/+2 | |
| | |||||
* | Readd VOP_MMAP, will be used soon. Right now it's just a question to | 2001-12-04 | 1 | -2/+2 | |
| | | | | the filesystem if we're allowed to mmap the file. | ||||
* | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | 2001-11-06 | 1 | -2/+1 | |
| | | | | (Look ma, I might have broken the tree) | ||||
* | Remove old vm. | 2001-06-27 | 1 | -13/+1 | |
| | |||||
* | Get rid of several unused vnode operations | 2001-06-23 | 1 | -8/+1 | |
| | |||||
* | Get rid of leading NULs in /kern/msgbuf. If the msgbuf modified in between | 2000-03-13 | 1 | -7/+14 | |
| | | | | | reads at just the right time is is possible to get duplicate output but in practice this is extremely rare. Joint effort with Theo. | ||||
* | enlarge msgbuf, somewhat line netbsd did | 2000-02-22 | 1 | -7/+19 | |
| | |||||
* | Fix to use enoioctl | 1999-11-10 | 1 | -2/+2 | |
| | |||||
* | cnt is called uvmexp in uvm and the members have different names | 1999-02-26 | 1 | -2/+16 | |
| | |||||
* | Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlock | 1998-08-06 | 1 | -21/+6 | |
| | | | | | | | | | | | | to be vop_generic_revoke, vop_generic_bwrite, vop_generic_islocked, vop_generic_lock and vop_generic_unlock. Create vop_generic_abortop and propogate change to all file systems. Fix PR/371. Get rid of locking in NULLFS (should be mostly unnecessary now except for forced unmounts). | ||||
* | return EOPNOTSUPP for chflags() changes; peter@freebsd | 1998-06-11 | 1 | -1/+11 | |
| | |||||
* | Updates for VFS Lite 2 + soft update. | 1997-11-06 | 1 | -43/+34 | |
| | |||||
* | back out vfs lite2 till after 2.2 | 1997-10-06 | 1 | -34/+43 | |
| | |||||
* | VFS Lite2 Changes | 1997-10-06 | 1 | -43/+34 | |
| | |||||
* | Fix {KERNFS,NULLFS,UMAPFS,UNION}_DIAGNOSTIC kernel compilation errors. | 1997-09-11 | 1 | -6/+6 | |
| | | | | From Alan Barrett <apb@iafrica.com> with some changes. | ||||
* | struct definitions in .h files and instances in .c file please. | 1997-04-26 | 1 | -23/+2 | |
| | | | | | | | | | | | | Vic Able: > While <miscfs/kernfs/kernfs.h> has a kernfs_node, it depends > on a structure that's defined in <miscfs/kernfs/kernfs_vnops.c>. > Oops! That's not very social. :-) [I built a new kernel fine, but don't have time to run "make build" it is my intuition that this will not have any bad effects, but I didn't test. Just back it out if it hurts you and I'll try again.] | ||||
* | Make kern.osrevision (sysctl) and /kern/osrev report value of | 1997-03-27 | 1 | -2/+2 | |
| | | | | OpenBSD define, not BSD which is a bit more useful. | ||||
* | IPSEC package by John Ioannidis and Angelos D. Keromytis. Written in | 1997-02-20 | 1 | -2/+15 | |
| | | | | Greece. From ftp.funet.fi:/pub/unix/security/net/ip/BSDipsec.tar.gz | ||||
* | fixed warning: | 1997-01-15 | 1 | -2/+2 | |
| | | | | kernfs_vnops.c:305: warning: long unsigned int format, u_int arg (arg 3) | ||||
* | and the same for the trunk | 1996-10-27 | 1 | -2/+2 | |
| | |||||
* | add more kernel variables. calculate used/free physmem and vnodes. | 1996-06-20 | 1 | -2/+46 | |
| | |||||
* | partial sync with netbsd 960418, more to come | 1996-04-21 | 1 | -4/+4 | |
| | |||||
* | From NetBSD: update to 960217 sources | 1996-02-27 | 1 | -155/+214 | |
| | |||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+747 | |