Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-02-08 | - Rename FILE_{,UN}USE to FREF and FRELE. USE is a bad verb and we don't have | Artur Grabowski | |
the same semantics as NetBSD anyway, so it's good to avoid name collissions. - Always fdremove before freeing the file, not the other way around. - falloc FREFs the file. - have FILE_SET_MATURE FRELE the file (It feels like a good ortogonality to falloc FREFing the file). - Use closef as much as possible instead of ffree in error paths of falloc:ing functions. closef is much more careful with the fd and can deal with the fd being forcibly closed by dup2. Also try to avoid manually calling *fo_close when closef can do that for us (this makes some error paths mroe complicated (sys_socketpair and sys_pipe), but others become simpler (sys_open)). | |||
2002-01-29 | Remove the iov2pages/mbuf2pages API... All of the relevant arch's support | Jason Wright | |
bus_dma(9) which actually does this job correctly. | |||
2002-01-23 | It looks like there has been one crack smoking and a few cut and pastes. | Artur Grabowski | |
PR_FREEHEADER should not be set in pool_init by the caller. It shouldn't be set in pool_init at all. Besides, it's going away soon anyway. | |||
2002-01-23 | Pool deals fairly well with physical memory shortage, but it doesn't deal | Artur Grabowski | |
well (not at all) with shortages of the vm_map where the pages are mapped (usually kmem_map). Try to deal with it: - group all information the backend allocator for a pool in a separate struct. The pool will only have a pointer to that struct. - change the pool_init API to reflect that. - link all pools allocating from the same allocator on a linked list. - Since an allocator is responsible to wait for physical memory it will only fail (waitok) when it runs out of its backing vm_map, carefully drain pools using the same allocator so that va space is freed. (see comments in code for caveats and details). - change pool_reclaim to return if it actually succeeded to free some memory, use that information to make draining easier and more efficient. - get rid of PR_URGENT, noone uses it. | |||
2001-12-19 | sync KNF with src/usr.bin/ssh | Markus Friedl | |
2001-11-13 | and for the case where it allocates a bunch at a time, also make sure the | Theo de Raadt | |
software flag gets set. | |||
2001-11-13 | incorrect check | Theo de Raadt | |
2001-11-13 | garbage in my last commit | Theo de Raadt | |
2001-11-09 | be way more sure that software cannot be used | Theo de Raadt | |
2001-11-08 | indent | Theo de Raadt | |
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
2001-10-26 | - every new fd created by falloc() is marked as larval and should not be used | Artur Grabowski | |
any anyone. Every caller of falloc matures the fd when it's usable. - Since every lookup in the fd table must now check this flag and all of them do the same thing, move all the necessary checks into a function - fd_getfile. | |||
2001-09-26 | RIPEMD-160 implementation based on | Markus Friedl | |
ftp://ftp.rsasecurity.com/pub/cryptobytes/crypto3n2.pdf, ok deraadt@ | |||
2001-09-13 | missing $OpenBSD: | Markus Friedl | |
2001-09-03 | do not screw up the reference counts | Theo de Raadt | |
2001-08-28 | Getting closer to working userland MAC. | ben | |
2001-08-24 | KNF | Theo de Raadt | |
2001-08-24 | switch to the optimised AES reference code from | Markus Friedl | |
http://www.esat.kuleuven.ac.be/~rijmen/rijndael/rijndael-fst-3.0.zip the same code is used by ssh, so please make sure to update usr.sbin/ssh/rijndael.c if you change this code. tested on sparc (jason) and with swap encryption (me); ok deraadt@, provos@ | |||
2001-08-22 | add RC4 and SHA1 support | Theo de Raadt | |
2001-08-20 | Move param.h before systm.h so vax macros are picked up properly. | Hugh Graham | |
2001-08-17 | Add RC4 support. | ben | |
2001-08-12 | remove redundant vm includes | Michael Shalayeff | |
2001-08-09 | Force alignment of blocks so that we don't crash on strict alignment | Heikki Korpela | |
archs. This is a stopgap until we get a rijndael implementation that doesn't assume 4 byte alignment. ok deraadt@ | |||
2001-08-08 | remove IPCOMP. derradt@ ok. | Jean-Jacques Bernard-Gundol | |
2001-08-05 | put in tags for ARC4 to please ben, who now has no excuses | Theo de Raadt | |
2001-07-31 | new BSD-style license and whitespace sync with openssh | Kevin Steves | |
2001-07-16 | Make gcc 3.0 happy. From Heikki Korpela <heko@iki.fi> | Jean-Jacques Bernard-Gundol | |
2001-07-05 | #ifdef IPCOMP stuff properly | Theo de Raadt | |
2001-07-05 | KNF | Theo de Raadt | |
2001-07-05 | Support for compression. angelos@ ok. | Jean-Jacques Bernard-Gundol | |
2001-07-05 | deflate algo, used by IPComp. Currently it won't be compiled until IPComp | Jean-Jacques Bernard-Gundol | |
is completely imported into the tree. | |||
2001-07-05 | Stylistic changes. | Angelos D. Keromytis | |
2001-07-05 | Compression support for IPComp. Include files only. angelos@ ok. | Jean-Jacques Bernard-Gundol | |
2001-06-27 | KNF | Angelos D. Keromytis | |
2001-06-27 | Indentation. | Angelos D. Keromytis | |
2001-06-26 | Remove space. | Angelos D. Keromytis | |
2001-06-25 | Add crypto_check_alg(), from jgarfiel@seas.upenn.edu | Angelos D. Keromytis | |
2001-06-25 | Update comments. | Angelos D. Keromytis | |
2001-06-25 | Update copyright; you can use this with or without fee (unless your | Angelos D. Keromytis | |
name is Theo Deraadt) | |||
2001-06-24 | Fix RSA structure. | Angelos D. Keromytis | |
2001-06-24 | Remove whitespace. | Angelos D. Keromytis | |
2001-06-23 | Adjust length. | Angelos D. Keromytis | |
2001-06-23 | Use C-style comments... | Angelos D. Keromytis | |
2001-06-23 | Initialize crd_skip | Angelos D. Keromytis | |
2001-06-23 | Remove unneeded crp_iv field, set the right flags for IV handling in | Angelos D. Keromytis | |
the crypto device. | |||
2001-06-23 | New prototype for crypto_register(), to take into account maximum key | Angelos D. Keromytis | |
length (for PK operations) and various flags. Structures for public key operations (DH, RSA, DSA). A lot of this work was done by jgarfiel@seas.upenn.edu | |||
2001-06-23 | merge crypto/crypto{dev,}.h to crypto/cryptodev.h, to avoid name conflicts ↵ | Theo de Raadt | |
inside OpenSSL codebase | |||
2001-06-23 | hifn now supports up to 256K | Peter Valchev | |
2001-06-18 | keep track of the txform/thash, and make sure that non-blocksize | Theo de Raadt | |
requests do not get passed to device drivers, because some like the ubsec(4) will do really nasty things like DMA to completely random locations in memory when you do so | |||
2001-06-18 | oops, backwards check | Theo de Raadt | |