summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
2001-02-22avoid sign extension for %bMichael Shalayeff
2001-02-22ELF uses more than 5 vmcmds by default, so grow the default vmcmd set sizeArtur Grabowski
to 8. At the same time it seemed like a good idea to avoid to always malloc a new vmcmd array, so put the default sized array into struct exec_vmcmd_set. We might want to make a linked list of vmcmd arrays or exec_vmcmd_sets instead of reallocating them some time in the future, but right now this seems like a waste of time.
2001-02-21Latest soft updates from FreeBSD/Kirk McKusickConstantine Sapuntzakis
Snapshot-related code has been commented out.
2001-02-20Add M_ZERO option to malloc. Causes malloc to return a zero'ed buffer.Constantine Sapuntzakis
Used by the new soft updates code
2001-02-20use void * consistently in vfs_mount and sys_mount. ok @artassar
2001-02-19Indentation nit.Artur Grabowski
2001-02-19When doing an assertion for phz, just do it once when we set phz,Artur Grabowski
not once per process.
2001-02-19Fix LOCKDEBUG compile.Artur Grabowski
2001-02-19Clean up spl handling.Artur Grabowski
2001-02-16typo (incidentally, removed a bogus -k in the cvs file, the updateMarc Espie
will trigger $OpenBSD$ fill-in)
2001-02-14make sure we do not pass shared M_EXT mbuf. will avoidJun-ichiro itojun Hagino
possible shared mbuf overwrite if we use bridge/multicast/loopback/whatever. sync with kame
2001-02-13More sane spl handling. Don't just assume that we're called at spl0.Artur Grabowski
2001-02-13No need to cast splx to (void).Artur Grabowski
2001-02-13Use MIN, not min when counting the pages we steal.Artur Grabowski
min is a function taking u_int arguments and we are counting signed longs here.
2001-02-13KNFTheo de Raadt
2001-02-12Check if softdep is enabled for this fs before calling softdep'sFederico G. Schwindt
fsync; art@ ok.
2001-02-10new symbol handling in ddb for ELF, there is still a problem with hangman on ↵Niklas Hallqvist
alpha though..
2001-02-09return error from soaccept() upwards. part of accept(2) fix against RSTJun-ichiro itojun Hagino
right after handshake.
2001-02-08do not print stuff when not verboseMichael Shalayeff
2001-02-07return ECONNABORTED, if the socket (tcp connection for example)Jun-ichiro itojun Hagino
is disconnected by RST right before accept(2). fixes NetBSD PR 10698/12027. checked with SUSv2, XNET 5.2, and Stevens (unix network programming vol 1 2nd ed) section 5.11.
2001-02-06spelling and KNF.Federico G. Schwindt
2001-02-05only attach pseudo-device if it's counter is above zero; deraadt@, maja@ okMichael Shalayeff
2001-02-05If kernel is compile with support for DDB add a ddb command to enterMats O Jansson
ddb from boot -c. -moj
2001-02-04Add support for pseudo devices. Based on the new code in config.Mats O Jansson
N.B. this change requires the kernel to be configured with a new config since it need new information from ioconf.c. -moj ok @deraadt
2001-02-03Do a check for the OpenBSD note before doing any emulation probes.Artur Grabowski
This way OpenBSD will be explicitly treated first and not handled as a fallback. This should speed archs with many emulations.
2001-01-31add kern.cp_time sysctl, to be used by various thingsTheo de Raadt
2001-01-29Allow syscall aliasing to allow for multiple linux syscalls to be mappedjasoni
to the same native syscall. To quote Jaromir's NetBSD commit if the third argument in syscall.conf matches [a-z0-9_], use it as a function alias instead of the function name in { ... } - from NetBSD, deraadt@ ok.
2001-01-25spellingTodd T. Fries
2001-01-24KGDB for i386 from NetBSD via niklas, with tweaks and accommodations.Hugh Graham
Tested by various, vetted by mickey & theo.
2001-01-23when the peer is disconnected before accept(2) is issued,Jun-ichiro itojun Hagino
do not return junk data in mbuf (= sockaddr on accept(2)'s 2nd arg). set the length to zero. behavior checked with bsdi and freebsd. partial solution to NetBSD PR 12027 and 10698 (need more investigation).
2001-01-22NATIVE_ELF -> NATIVE_EXEC_ELF (just some leftovers)Artur Grabowski
2001-01-17do not call extent_print() unless DDB || DIAGNOSTICTheo de Raadt
2001-01-16Indentation nit.Artur Grabowski
2001-01-16Add a check for MNT_NOEXEC that was in exec_elf.c but not here.Artur Grabowski
I am not sure if it is necessary, but it will not hurt either.
2001-01-15update from netbsd:Jason Wright
several fixes with regards to boundary cases and other fixes
2001-01-04Return a kmembuckets structure, rather than individual items, since they may beAngelos D. Keromytis
out of sync between consecutive calls of sysctl(3).
2001-01-04sysctl_quad/sysctl_rdquad, and "malloc" node in kern sysctlAngelos D. Keromytis
2001-01-04sysctl_malloc()Angelos D. Keromytis
2001-01-012001Aaron Campbell
2000-12-14NATIVE_ELF -> NATIVE_EXEC_ELF (this is what userland uses andArtur Grabowski
what is defined in machine/exec.h
2000-12-05Bring in fresh pool from NetBSD. Some improvements and fixes.Artur Grabowski
2000-11-21support for kernel events on vnodes, from jlemon@freebsd.org, okay art@Niels Provos
2000-11-18better permission check; okay art@, millert@Niels Provos
2000-11-17calculate timeouts correctly, simpler.Niels Provos
2000-11-17correct timersubNiels Provos
2000-11-16rcsid; fix comment; lots of bad tabs and spacesMichael Shalayeff
2000-11-16syncNiels Provos
2000-11-16support kernel event queues, from FreeBSD by Jonathan Lemon,Niels Provos
okay art@, millert@
2000-11-10Change the ktrace interface functions from taking the trace vnode to taking theArtur Grabowski
traced proc. The vnode is in the proc and all functions need the proc.
2000-11-10seperate -> separate, okay aaron@Niels Provos