summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
2001-08-02Sysctl for finding out how many pages there are in kmem_map.Artur Grabowski
2001-08-02(vput): make panic strings actually say vput instead of vreleassar
2001-07-30Add a check for too big e_phnum that could cause us to malloc toArtur Grabowski
much and barf. This should have been merged into this file from exec_elf64.c a long time ago. Looking for volunteers to merge exec_elf.c and exec_elf64.c
2001-07-30Make the e_phnum check slightly cleaner.Artur Grabowski
2001-07-28Allow negative lock length in case of lockf(3). This makes lockf(3)Grigoriy Orlov
compliant to specification. costa@ ok.
2001-07-28Check for negative lock length.Grigoriy Orlov
costa@ ok.
2001-07-27Startup hooks. Can be used for providing root/swap devices from deviceNiklas Hallqvist
systems which want configuration to finish late, like I2O. Implemented via a general hooks mechanism which the shutdown hooks have been converted to use as well. It even has manpages!
2001-07-26Typo.Miod Vallat
2001-07-26Back out changes to symlink and mknod that were not well tested.Todd C. Miller
A simple mknod at causes a kernel panic (uvm_fault).
2001-07-26In extent_destroy, remove the extent from the list ofArtur Grabowski
all extents.
2001-07-26Print "data modified on freelist" sizes in hex.Artur Grabowski
I know at least of two cases where people got confused by this and used the wrong size to the malloc debugger.
2001-07-26Be more careful with ranges.Artur Grabowski
From Heikki Korpela <heko@iki.fi>
2001-07-26change vop_symlink and vop_mknod to return vpp (the created node)assar
refed, so that the caller can actually use it. update callers and file systems that implement these vnode operations ok'd by art
2001-07-25Random cleanups that generate noise in my cvs updates.Artur Grabowski
2001-07-19make number of ptys configurable; deraadt@ okMichael Shalayeff
2001-07-18Typo.Artur Grabowski
Noted by: Heikki Korpela <heko@iki.fi>
2001-07-18Get rid of the PMAP_NEW option by making it mandatory for all archs.Artur Grabowski
The archs that didn't have a proper PMAP_NEW now have a dummy implementation with wrappers around the old functions.
2001-07-17It takes a greek to put buffer overflow and unterminated stringTheo de Raadt
handling into the kernel. Stick with the complicated stuff dude, breaking this simple shit is killing us!
2001-07-17Since normal malloc reports "data modified on free list" withArtur Grabowski
the size we are trying to allocate and not the size of the bucket and malloc_debug is not capable of debugging a prticular bucket, only a size, add a possibility to specify a size range.
2001-07-17use pool allocator for knotes, adapted from lukem@netbsd, okay art@Niels Provos
2001-07-16Ignore O_TRUNC on open() if we are not opening a regular file.Todd C. Miller
csapuntz@ OK'd
2001-07-15(define simple_lock_only_held): add dummy nop macroassar
2001-07-13make kern_msgbuf work for sparc, i thought it worked for me before; from miodMichael Shalayeff
2001-07-09Make quad types on alpha be "long long" not "long". This means thatTodd C. Miller
printf's "%lld" can be used with a quad_t or int64_t without a bogus cast.
2001-07-05Get rid of REAL_CLISTS. It was never implemented and the tentacles areArtur Grabowski
everywhhere.
2001-07-05Get rid of the wrapper macros around extent_alloc*1Artur Grabowski
Pass the right amount of arguments and rename them back to their right names.
2001-07-05It feels a bit pointless to have:Artur Grabowski
#define sonewconn(head, connstatus) sonewconn1((head), (connstatus)) Just wastes preprocessor time.
2001-07-05kern_fthread is no longer needed.Artur Grabowski
2001-07-05Get rid of unnecessary includes.Artur Grabowski
2001-07-04match time definition with include file, volatile included.Marc Espie
Okay millert@
2001-06-27uvm_useracc is not necessary now that uvm_vslock knows how to fail.Artur Grabowski
2001-06-27no more cpu_set_init_frameArtur Grabowski
2001-06-27no more fork braindamageArtur Grabowski
2001-06-27vm_pageout.h bye bye.Artur Grabowski
2001-06-27mips_cachealias is no moreArtur Grabowski
2001-06-27remove old vmArtur Grabowski
2001-06-27Update comment.Angelos D. Keromytis
2001-06-27Get rid of M_COPY_* macros; either use M_MOVE_* or M_DUP_*, dependingAngelos D. Keromytis
on how macros should be treated. Code by fgsch@, ok by me and itojun@
2001-06-26regenDug Song
2001-06-26implement djb's getpeereid(2), to allow local-domain servers to determine ↵Dug Song
client credentials. mostly from superscript.com. deraadt@ ok
2001-06-26Appease gcc by not using void pointers in arithmetic operations; art@ okAaron Campbell
2001-06-25Remove NQNFSConstantine Sapuntzakis
2001-06-25Don't reset M_PKTHDR before we copy the mbuf flags (bad Federico!)Angelos D. Keromytis
2001-06-25Move common post M_COPY_HDR manipulation to the macro itself; angelos@ ok.Federico G. Schwindt
2001-06-24cold is in systm.h nowMichael Shalayeff
2001-06-24No need to define splvm() here anymore.Miod Vallat
art@ ok
2001-06-24Add a sysctl for getting pool information out of the kernel.Artur Grabowski
2001-06-23merge crypto/crypto{dev,}.h to crypto/cryptodev.h, to avoid name conflicts ↵Theo de Raadt
inside OpenSSL codebase
2001-06-23ooops. remove unfinished work in progress.Artur Grabowski
2001-06-23Bring in a bunch of improvements from NetBSD.Artur Grabowski
- pool_cache similar to the slab allocator in Solaris. - clean up locking a bit. - Don't pass __LINE__ and __FILE__ to pool_get and pool_put unless POOL_DIAGNOSTIC is defined.