Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-02-14 | make sure we do not pass shared M_EXT mbuf. will avoid | Jun-ichiro itojun Hagino | |
possible shared mbuf overwrite if we use bridge/multicast/loopback/whatever. sync with kame | |||
2001-02-13 | More sane spl handling. Don't just assume that we're called at spl0. | Artur Grabowski | |
2001-02-13 | No need to cast splx to (void). | Artur Grabowski | |
2001-02-13 | Use 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-13 | KNF | Theo de Raadt | |
2001-02-12 | Check if softdep is enabled for this fs before calling softdep's | Federico G. Schwindt | |
fsync; art@ ok. | |||
2001-02-10 | new symbol handling in ddb for ELF, there is still a problem with hangman on ↵ | Niklas Hallqvist | |
alpha though.. | |||
2001-02-09 | return error from soaccept() upwards. part of accept(2) fix against RST | Jun-ichiro itojun Hagino | |
right after handshake. | |||
2001-02-08 | do not print stuff when not verbose | Michael Shalayeff | |
2001-02-07 | return 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-06 | spelling and KNF. | Federico G. Schwindt | |
2001-02-05 | only attach pseudo-device if it's counter is above zero; deraadt@, maja@ ok | Michael Shalayeff | |
2001-02-05 | If kernel is compile with support for DDB add a ddb command to enter | Mats O Jansson | |
ddb from boot -c. -moj | |||
2001-02-04 | Add 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-03 | Do 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-31 | add kern.cp_time sysctl, to be used by various things | Theo de Raadt | |
2001-01-29 | Allow syscall aliasing to allow for multiple linux syscalls to be mapped | jasoni | |
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-25 | spelling | Todd T. Fries | |
2001-01-24 | KGDB for i386 from NetBSD via niklas, with tweaks and accommodations. | Hugh Graham | |
Tested by various, vetted by mickey & theo. | |||
2001-01-23 | when 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-22 | NATIVE_ELF -> NATIVE_EXEC_ELF (just some leftovers) | Artur Grabowski | |
2001-01-17 | do not call extent_print() unless DDB || DIAGNOSTIC | Theo de Raadt | |
2001-01-16 | Indentation nit. | Artur Grabowski | |
2001-01-16 | Add 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-15 | update from netbsd: | Jason Wright | |
several fixes with regards to boundary cases and other fixes | |||
2001-01-04 | Return a kmembuckets structure, rather than individual items, since they may be | Angelos D. Keromytis | |
out of sync between consecutive calls of sysctl(3). | |||
2001-01-04 | sysctl_quad/sysctl_rdquad, and "malloc" node in kern sysctl | Angelos D. Keromytis | |
2001-01-04 | sysctl_malloc() | Angelos D. Keromytis | |
2001-01-01 | 2001 | Aaron Campbell | |
2000-12-14 | NATIVE_ELF -> NATIVE_EXEC_ELF (this is what userland uses and | Artur Grabowski | |
what is defined in machine/exec.h | |||
2000-12-05 | Bring in fresh pool from NetBSD. Some improvements and fixes. | Artur Grabowski | |
2000-11-21 | support for kernel events on vnodes, from jlemon@freebsd.org, okay art@ | Niels Provos | |
2000-11-18 | better permission check; okay art@, millert@ | Niels Provos | |
2000-11-17 | calculate timeouts correctly, simpler. | Niels Provos | |
2000-11-17 | correct timersub | Niels Provos | |
2000-11-16 | rcsid; fix comment; lots of bad tabs and spaces | Michael Shalayeff | |
2000-11-16 | sync | Niels Provos | |
2000-11-16 | support kernel event queues, from FreeBSD by Jonathan Lemon, | Niels Provos | |
okay art@, millert@ | |||
2000-11-10 | Change the ktrace interface functions from taking the trace vnode to taking the | Artur Grabowski | |
traced proc. The vnode is in the proc and all functions need the proc. | |||
2000-11-10 | seperate -> separate, okay aaron@ | Niels Provos | |
2000-11-09 | PHOLD/PRELE instead manual fiddling with p_holdcnt | Artur Grabowski | |
2000-11-09 | Use PHOLD/PRELE instead of manually fiddling with p_holdcnt. | Artur Grabowski | |
2000-11-08 | Cleanup. | Artur Grabowski | |
Zap COMPAT_09. Don't duplicate creds unless necessary. | |||
2000-11-08 | If MD code has defined curproc, don't do it here. | Artur Grabowski | |
This is not a perfect solution. | |||
2000-11-07 | No need for extern struct proc *curproc. | Artur Grabowski | |
2000-11-06 | Don't bomb when the length of pagedvn vm_cmd is not page aligned. | Artur Grabowski | |
Other commands were checked and look safe. | |||
2000-10-12 | allow buflen > MLEN for !SO_NAME case (like ancillary data, necessary for | Jun-ichiro itojun Hagino | |
IPv6 advanced API). sync with netbsd. | |||
2000-10-10 | implement ppsratecheck(9). from netbsd. | Jun-ichiro itojun Hagino | |
refer mono_time only once in ratecheck(9). | |||
2000-09-28 | When allocating the unallocated file descriptors 0, 1 and 2 for suid execs, | Artur Grabowski | |
don't do it by doing namei on /dev/null. The vnode for the executed file is locked and we had a race where other processes could lock the parent directories up to the root. When the executing process did the lookup on /dev/null it could deadlock on the root vnode while still holding the lock on the executed vnode. Also, it's really bad idea to depend on certain filesystem layout inside the kernel. Now we get the null device vnode by cdevvp(getnulldev(), ... Thanks to Matrin Portmann <map@infinitum.ch> for providing the (large) ktrace that allowed me to track this down. Fixes 1369. | |||
2000-09-27 | replace MALLOC/FREE w/ malloc/free for non-constant-sized memory ↵ | Michael Shalayeff | |
allocations; art@ ok |