Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-02-01 | remove superflous declaration of vnops, it's now in <sys/file.h> | assar | |
2000-01-31 | re-add fixed vfork code from art | Theo de Raadt | |
2000-01-31 | undo vfork changes, since non-UVM was not considered | Theo de Raadt | |
2000-01-28 | Change fork1() from taking forktype and rforkflags, into a single flags | Artur Grabowski | |
argument. Let sys_rfork build the arguments to fork1() and do the sanity checks itself. | |||
2000-01-27 | No need to include sys/vmmeter.h | Artur Grabowski | |
2000-01-24 | fix setregs call for bawkward stacks; does not affect straight case | Michael Shalayeff | |
2000-01-22 | Don't allow the time to be set forward so far it will wrap and become negative, | Todd C. Miller | |
thus allowing an attacker to bypass the next check below. The cutoff is 1 year before rollover occurs, so even if the attacker uses adjtime(2) to move the time past the cutoff, it will take a very long time to get to the wrap point. The actual check is tv_sec > INT_MAX - 365*24*60*60 because on 64 bit platforms tv_sec is 64 bits but time_t is 32 bits. This will need to be changed some time in the future when the size of time_t changes. Add a printf when a user tries to turn the clock backwards and securelevel > 1 | |||
2000-01-20 | set[ug]id, not just setuid | Theo de Raadt | |
2000-01-20 | when procfs is compiled in, if a setuid process has any of descriptors 0-2 | Theo de Raadt | |
open for write on procfs, close it (and, thus, open a /dev/null instead); problem reported by nergal@idea.avet.com.pl, fix by me, thanks for help from millert | |||
2000-01-19 | do not NULL dereference if fd_nfiles < 3 | Theo de Raadt | |
2000-01-17 | oops, another syscall pipe() botch; karls@inet.no | Theo de Raadt | |
2000-01-14 | Drop SYNCER_MAXDELAY to 32. The delay is never bigger than 30 anyway. | Artur Grabowski | |
2000-01-08 | Allow UKC to change tz with 'timezone' command. | David Leonard | |
2000-01-04 | Remove unused file. If we end up using m_pulldown() in the future, it | Angelos D. Keromytis | |
should be added to uipc_mbuf.c | |||
2000-01-02 | (lkmalloc): initialize `sym_id' | assar | |
(lkmunreserve): check that the DDB symbols were actually loaded before unloading them PR 1031 | |||
2000-01-01 | grammar in comment | Michael Shalayeff | |
2000-01-01 | 2000 | Theo de Raadt | |
1999-12-31 | copy pkthdr correctly in m_split, okay angelos@ | Niels Provos | |
1999-12-08 | bring in KAME IPv6 code, dated 19991208. | Jun-ichiro itojun Hagino | |
replaces NRL IPv6 layer. reuses NRL pcb layer. no IPsec-on-v6 support. see sys/netinet6/{TODO,IMPLEMENTATION} for more details. GENERIC configuration should work fine as before. GENERIC.v6 works fine as well, but you'll need KAME userland tools to play with IPv6 (will be bringed into soon). | |||
1999-12-06 | Implement compatibility for Linux stime() syscall. | Aaron Campbell | |
1999-12-06 | Yet another solution to the mfs unmount/kill race (not ugly this time). | Artur Grabowski | |
Require that the mount point is vfs_busy on entry to dounmount. | |||
1999-12-05 | Collect statistics on sync and async writes. | Artur Grabowski | |
From NetBSD. | |||
1999-12-05 | With soft updates, some buffers will be remarked as dirty after being written. | Artur Grabowski | |
Handle this when syncing filesystems when unmounting. From NetBSD. | |||
1999-12-05 | Use VONSYNCLIST to see if we should remove a vnode from the sync list instead | Artur Grabowski | |
of looking at v_dirtyblkhd. | |||
1999-12-05 | Add an m_inject() | Angelos D. Keromytis | |
1999-12-05 | Add a new vnode flag "VONSYNCLIST" that indicates if the vnode is on the | Artur Grabowski | |
syncers work list. From NetBSD. | |||
1999-12-05 | Add a new function "speedup_syncer()" that pushes the syncer to work harder. | Artur Grabowski | |
Used by the new soft updates code. | |||
1999-12-05 | Unlock the vnode in inactive even when v_usecount == 0. | Artur Grabowski | |
1999-12-05 | Release mountlist_slock if vfs_busy fails. | Artur Grabowski | |
1999-12-05 | Indentation fixes. | Artur Grabowski | |
1999-12-02 | Indentation to make the code more readable. | Artur Grabowski | |
1999-12-02 | Init the buffer dependency list. | Artur Grabowski | |
1999-12-02 | snprintf in kernel; assar@stacken.kth.se | Theo de Raadt | |
1999-11-29 | revents already cleared; d | Theo de Raadt | |
1999-11-29 | handle invalid file descriptors in poll more carefully; d | Theo de Raadt | |
1999-11-25 | Use PAGE_SIZE instead of NBPG. | Artur Grabowski | |
1999-11-25 | Annoying unnecessary space. | Artur Grabowski | |
1999-11-21 | if select returns writable on a pipe, the write should not return | Theo de Raadt | |
EWOULDBLOCK. turns out the two checking conditions were not the same, and a certain use of rsync uncovered the bug by chewing all available cpu time; fix from art | |||
1999-11-17 | allow to compile without -DFFS. okay deraadt@ | David Leonard | |
1999-11-13 | FIBMAP ioctl from Linux, only usable on ISO 9660 FS. Note that the lba | Angelos D. Keromytis | |
returned is in 512-byte sectors, so if you're going to use it for things like DVD, you need to divide the result by 4 (for 2048-byte sectors). OK deraadt@ | |||
1999-11-11 | Pool will not work with old vm and is only used by uvm. Remove non-uvm code. | Artur Grabowski | |
1999-11-07 | add APM powerhooks. | Niels Provos | |
from NetBSD, Sat Jun 26 08:25:25 1999 UTC by augustss: Add powerhooks, i.e., the ability to register a function that will be called when the machine does a suspend or resume. XXX Will go away when Jason's kevents come to life. | |||
1999-11-05 | s/memset/bzero/; art@ ok | Michael Shalayeff | |
1999-11-05 | more stack direction fixes; art@ ok | Michael Shalayeff | |
1999-10-29 | Use M_PIPE instead of M_TEMP. | Artur Grabowski | |
1999-10-29 | Remove the "Direct write" code. | Artur Grabowski | |
We never used it and some parts of it slowed the code down. Generally clean up the pipe code. | |||
1999-10-27 | Actually make ASYNC pipes generate SIGIO. | Niklas Hallqvist | |
1999-10-18 | force FDSCRIPTS after include files are pulled in | Theo de Raadt | |
1999-10-14 | Fix for PR 871. | cmetz | |
This fix is taken from BSD/OS (the file in question being BSD licensed). It continues to remove a datagram from a socket receive buffer even if there is an error on the copy-out, so as to leave the buffer in a reasonable state. Before, the kernel would stop in mid-receive if the copy-out failed, and the buffer's structural requirements would be violated (since the start of a datagram must be an address iff ). Note that if the user provides any invalid addresses as arguments to a recvmsg(), the datagram at the front of the buffer will be discarded. The more correct behavior would be not to remove this datagram if the arguments are invalid. Implementing this behavior requires a lot of significant changes, and socket receives are a critical path. Also included are two simple and fairly obvious fixes from the same source. If non-blocking I/O is set, it makes sure the receieve is non-blocking. It also fixes a slightly over-aggressive optimization. | |||
1999-10-11 | for AF_UNIX, do not follow symlinks when creating sockets, terminate | Theo de Raadt | |
names more carefully; art |