Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-04-06 | Random cleanup. | Artur Grabowski | |
2000-04-01 | fdup could fail when want for fdalloc > than the free fd in the block. | Niels Provos | |
slightly different fix than in the bug report by Rob Pickering <rob@syntonet.co.uk> | |||
2000-03-23 | Iiieeek! This kludge was almost funny. | Artur Grabowski | |
Probably something from the stone age. Kill it. | |||
2000-03-23 | Don't reinitialize the tsleep and ITIMER_REAL timers all the time. | Artur Grabowski | |
The function and the argument never change. | |||
2000-03-23 | No need for our own declaration of lbolt. | Artur Grabowski | |
2000-03-23 | Use the new timeout facilities for ITIMER_REAL. | Artur Grabowski | |
2000-03-23 | use the new timeout interface for tsleep. | Artur Grabowski | |
2000-03-23 | convert to new timeouts. | Artur Grabowski | |
2000-03-23 | Update a comment to reflect reality. | Artur Grabowski | |
2000-03-23 | Provide methods to check if a timeout was initalized and if it is scheduled. | Artur Grabowski | |
2000-03-23 | Use new timeouts for pfslowtimo and pffasttimo. | Artur Grabowski | |
2000-03-23 | Preserve the FIFO order of issued timeouts. | Artur Grabowski | |
2000-03-23 | Adapt roundrobin and schedcpu to the new timeout API. | Artur Grabowski | |
2000-03-23 | New API for timeouts. Replaces the old timeout()/untimeout() API and | Artur Grabowski | |
makes it the callers responsibility to allocate resources for the timeouts. This is a KISS implementation and does _not_ solve the problems of slow handling of a large number of pending timeouts (this will be solved in future work) (although hardclock is now guarateed to take constant time for handling of timeouts). Old timeout() and untimeout() are implemented as wrappers around the new API and kept for compatibility. They will be removed as soon as all subsystems are converted to use the new API. | |||
2000-03-22 | some more machine_stack_grows_up | Michael Shalayeff | |
2000-03-20 | bring proto into scope | Theo de Raadt | |
2000-03-17 | ratecheck - function to help implement rate-limited actions (from NetBSD) | Jakob Schlyter | |
ok art@ | |||
2000-03-17 | Cryptographic services framework, and software "device driver". The | Angelos D. Keromytis | |
idea is to support various cryptographic hardware accelerators (which may be (detachable) cards, secondary/tertiary/etc processors, software crypto, etc). Supports session migration between crypto devices. What it doesn't (yet) support: - multiple instances of the same algorithm used in the same session - use of multiple crypto drivers in the same session - asymmetric crypto No support for a userland device yet. IPsec code path modified to allow for asynchronous cryptography (callbacks used in both input and output processing). Some unrelated code simplification done in the process (especially for AH). Development of this code kindly supported by Network Security Technologies (NSTI). The code was writen mostly in Greece, and is being committed from Montreal. | |||
2000-03-16 | Bring in some new UVM code from NetBSD (not current). | Artur Grabowski | |
- Introduce a new type of map that are interrupt safe and never allow faults in them. mb_map and kmem_map are made intrsafe. - Add "access protection" to uvm_vslock (to be passed down to uvm_fault and later to pmap_enter). - madvise(2) now works. - various cleanups. | |||
2000-03-15 | prevent overflow in a diagnostic check; art@ ok | Michael Shalayeff | |
2000-03-13 | Get rid of leading NULs in /kern/msgbuf. If the msgbuf modified in between | Todd C. Miller | |
reads at just the right time is is possible to get duplicate output but in practice this is extremely rare. Joint effort with Theo. | |||
2000-03-03 | If we attempted reschedule two times without suceeding, uiomove will yield, | Artur Grabowski | |
giving other processes a chance to run. A process feeding a huge buffer to {read,write}{,v} on a file that doesn't need to wait for I/O, could have hogged a lot of cpu in the kernel, blocking all userland activity. Based on a similiar fix in FreeBSD. | |||
2000-03-03 | Keep track of the number of times we trigger a reschedule before the | Artur Grabowski | |
context switch actually happens. | |||
2000-03-03 | Use the LIST_FIRST macro to get the head of zombproc list. | Artur Grabowski | |
2000-03-03 | Use LIST_ macros instead of internal field names to walk the allproc list. | Artur Grabowski | |
2000-03-03 | Style. | Angelos D. Keromytis | |
2000-03-03 | Remove extraneous newline. | Angelos D. Keromytis | |
2000-03-02 | New function: m_getptr(), takes as argument an mbuf chain and an | Angelos D. Keromytis | |
offset, returns a pointer to them specific mbuf and the offset inside it that corresponds to the offset argument (so one can find where the n'th byte is in an mbuf). | |||
2000-03-02 | Add an option DDB_SAFE_CONSOLE that defaults db_console to 1. | Artur Grabowski | |
In many cases, setting db_console in /etc/rc is too late. | |||
2000-02-29 | more fix to ancillary data alignment. we need padding after | Jun-ichiro itojun Hagino | |
last cmsg_data item (see the figure on RFC2292 page 18). | |||
2000-02-28 | Optimized fdalloc as in Banga and Mogul paper: | Niels Provos | |
http://www.usenix.org/publications/library/proceedings/usenix98/banga.html | |||
2000-02-22 | enlarge msgbuf, somewhat line netbsd did | Theo de Raadt | |
2000-02-21 | dead code and symbol pollution. | Artur Grabowski | |
2000-02-18 | fix alignment problem in ancillary data (alpha). | Jun-ichiro itojun Hagino | |
only ipv6 tools (which touches ancillary data) are affected. From: =?iso-8859-1?Q?G=F6ran_Bengtson?= <goeran@cdg.chalmers.se> | |||
2000-02-15 | Add another argument to extent_alloc_subregion to allow specifing an offset | Artur Grabowski | |
to the alignment. rename the function to extent_alloc_subregion1 and add compatibility macros. From NetBSD. | |||
2000-02-07 | regen (with correct reference from syscalls.master) | assar | |
2000-02-07 | (sys_getfh): moved here from nfs_syscalls.c | assar | |
(sys_fhopen, sys_fhstat, sys_fhstatfs): new system calls that use file handles instead of file names. largely based on NetBSD | |||
2000-02-07 | at least make it compile with LFS defined | assar | |
2000-02-07 | regenerated | assar | |
2000-02-07 | always include sys_getfh. add fhopen, fhstat, and fhstatfs | assar | |
2000-02-04 | Fix misleading comment. | Angelos D. Keromytis | |
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 |