Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-07-01 | Remove clauses 3 and 4 from BSD license owned by mickey, niklas, and NetBSD. | Ray Lai | |
OK niklas, mickey, deraadt. | |||
2008-06-15 | Don't bypass partition bounds check for RAW_PART. We now guarantee that | Kenneth R Westerback | |
RAW_PART will always be 0 -> disksize, so the bounds check will always pass for i/o's to valid addresses. Now the i/o will be properly truncated if it goes past the end of the device. This prevents various adverse impacts of issuing i/o's for data past the end of the device. Repeatedly requested by todd@. ok weingart@ deraadt@ | |||
2008-06-14 | A bunch of pool_get() + bzero() -> pool_get(..., .. | PR_ZERO) | Michael Knudsen | |
conversions that should shave a few bytes off the kernel. ok henning, krw, jsing, oga, miod, and thib (``even though i usually prefer FOO|BAR''; thanks for looking. | |||
2007-09-12 | There is no such word as `detatch'. | Michael Knudsen | |
ok mglocker | |||
2007-09-11 | KNF | Gilles Chehade | |
prompted and "much better" by marco@, ok pyr@ | |||
2007-09-08 | more M_ZERO changes | Gilles Chehade | |
ok pyr@ and krw@ | |||
2007-09-01 | fix a use after free case. | Thordur I. Bjornsson | |
From Bret Lambert via deraadt@; ok miod@ | |||
2007-06-20 | b_cylinder does not need to be set on the callpath down into drivers. | Theo de Raadt | |
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod | |||
2007-06-08 | all drivers should spoof version 1 labels | Theo de Raadt | |
2007-06-07 | in OpenBSD as all old BSD unix, RAW_PART always starts at 0, so no | Theo de Raadt | |
need for special case code; ok krw | |||
2007-06-06 | now that all partition size/offsets are potentially 64-bit, change the | Theo de Raadt | |
type of all variables to daddr64_t. this includes the APIs for XXsize() and XXdump(), all range checks inside bio drivers, internal variables for disklabel handling, and even uvm's swap offsets. re-read numerous times by otto, miod, krw, thib to look for errors | |||
2007-06-05 | use six new macros to access & store the 48-bit disklabel fields related | Theo de Raadt | |
to size. tested on almost all machines, double checked by miod and krw next comes the type handling surrounding these values | |||
2007-06-01 | Don't initialize d_partitions[RAW_DISK] just before calling | Kenneth R Westerback | |
readdisklabel(), since all readdisklabel()'s do that already. ok deraadt@ | |||
2007-04-28 | CCDLABELDEV/ect and RAIDLABELDEV/etc join other no-op defines in the | Kenneth R Westerback | |
trashbin of history, replaced by DISKLABELDEV/etc. No change to .o files except for __line__. ok jsg@ | |||
2007-04-18 | Remove the ``new i/o'' code. It has never worked well, noone has stepped up | Miod Vallat | |
to fix it, and it goes in the way of good changes pedro is brewing. No functional change, tested todd@ millert@ | |||
2007-04-06 | use rwlocks instead of hand-rolled. make the softc private parts private. | Ted Unangst | |
this means making ccdconfig "SMALL" to turn off the kvm groveling nonsense ok deraadt millert pedro todd | |||
2007-03-30 | accept interleave of 0; pr 5431, my patch matches the author's | Theo de Raadt | |
2006-11-29 | The historical reasons to spoof the 'c' partition of ccdN as being FFS | Kenneth R Westerback | |
are no longer operative. Spoof the label created for ccdN with an UNUSED 'c' partition like every other device's spoofed label. Problem pointed out by millert@ in relation to pending disklabel(8) changes. ok mickey@ deraadt@ | |||
2006-08-12 | Rather than using cs->sc_size to set d_secperunit and then RAW_PART's | Kenneth R Westerback | |
p_size, use d_secperunit to set RAW_PART's p_size. This is more consistant with other usage and makes the intent clearer. This should be a no-op. | |||
2006-07-20 | otto sez there is no need to check for upper bound for the ileave. indeed | Michael Shalayeff | |
2006-07-20 | do some range checking on ccio passed from user; pt out by ramrunner@gmail.com | Michael Shalayeff | |
2006-01-09 | Put vprint() under DIAGNOSTIC, as to save space in generated ramdisks. | Pedro Martelletto | |
Inspiration from miod@, okay deraadt@. Tested on i386, macppc and amd64. | |||
2005-09-13 | make a macro instead of #ifdef DEBUG if() printf() #endif; no functional change | Michael Shalayeff | |
2005-05-22 | remove "0x" in front of %p in printfs. | Artur Grabowski | |
eyeballed by krw@ | |||
2005-05-12 | ANSIfy, some KNF and zap a little bit of whitespace. | Niall O'Higgins | |
No binary changes. ok mickey@ | |||
2005-05-12 | Add a bzero() after malloc() when allocating component info in ccdinit(). | Niall O'Higgins | |
This fixes a panic in ccd(4) mirroring where the second component could be wrongly treated as failed, which leads to uvm_fault in write operation. ok mickey@ | |||
2005-03-30 | init pool after we allocate softc array in case malloc fails | Michael Shalayeff | |
2005-03-25 | calculate the rpm for a disklabel; implement new io discipline for mirror; ↵ | Michael Shalayeff | |
this also changes the mirror striping strategy a bit to achieve the scatter-gathering; of course it has been proven that new discipline still makes troubles thus not enabling it yet ); | |||
2005-03-12 | initialise min arg to uvm_km_suballoc; not currently enabled code path | Michael Shalayeff | |
2005-02-24 | fix a buffer-done race that makes mirroring work now; | Michael Shalayeff | |
use pool instead of malloc/free and this fixes new buffer mode; implement DIOCGPDINFO for disklabel -d; tested by henning@ millert@ fries@ | |||
2004-02-15 | new arg to disk_unbusy, to record separate read/write statistics. | Ted Unangst | |
looked at by various, testing henning@ mcbride@ dan weeks mostly from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br> | |||
2004-01-09 | remove uvm_extern.h | Brad Smith | |
tested on alpha, i386, powerpc, sparc64, m68k. ok miod@ | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-04-04 | sprintf -> snprintf, plus check for overflow in device name. | Kenneth R Westerback | |
ok deraadt@ millert@ | |||
2003-03-28 | In ccdsize(), check for CCDF_INITED before doing the ccdopen(). | Todd C. Miller | |
Adapted from NetBSD. | |||
2002-11-10 | Use appropriate VM_MAP constants rather than hardcoded values in | Miod Vallat | |
uvm_map_create() and uvm_km_suballoc(). | |||
2002-05-24 | Make sure that b_iodone handlers are called at splbio (and ↵ | Artur Grabowski | |
splassert(IPL_BIO) in all known callers, just to make sure). | |||
2002-05-23 | protect biodone with splbio. | Artur Grabowski | |
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2001-11-28 | zap some typedefs. | Artur Grabowski | |
vm_map_t -> struct vm_map * vm_map_entry_t -> struct vm_map_entry * simple_lock_data_t -> struct simplelock (uvm not done yet, coming in the next commit) | |||
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-09-19 | merge vm/vm_kern.h into uvm/uvm_extern.h; art@ ok | Michael Shalayeff | |
2001-06-27 | zap old vm | Artur Grabowski | |
2001-05-05 | Get rid of CLSIZE and all related stuff. | Artur Grabowski | |
CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time. | |||
1999-11-26 | vm_offset_t -> vaddr_t | Artur Grabowski | |
1999-09-11 | s/vm_offset_t/vaddr_t/g | Michael Shalayeff | |
1999-09-10 | roundup(foo, CLBYTES) -> clrnd(round_page(foo)) | Artur Grabowski | |
1999-02-26 | uvm compat | Artur Grabowski | |
1998-10-03 | Add a "spoofonly" argument to readdisklabel() which will be used to | Todd C. Miller | |
implement an ioctl to get a spoofed label even for disks that have a label on them. | |||
1998-08-04 | don't rely on b_resid being signed | Todd C. Miller | |