| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
Make sure sector zero is protected if it contains metadata.
Lower WARNS for gbde to 3 on non-i386 archs. rijndael-fst is evil
but appearntly does the right thing and passes the test-vectors.
MFC Candidate.
|
|
|
|
|
|
|
|
| |
for request sizes larger than the sectorsize or for multi-key setups.
See warning mailed to current@ for details of recovery.
Found by: Marcus Reid <marcus@blazingdot.com>
|
|
|
|
| |
MFC candidate.
|
| |
|
| |
|
|
|
|
| |
Spotted by: kuriyama
|
| |
|
|
|
|
| |
Tested with: i386 + src/tools/regression/geom
|
| |
|
| |
|
|
|
|
| |
relative to the parent device.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This mostly consists of functionality to serialize accesses to
the two ATA channels (which can also be used to "fix" certain
PCI based controllers).
Add support for Acard controllers.
Enable the ATA driver in PC98 GENERIC, and add device hints.
Update man page with latest support.
The PC98 core team has kindly provided me with a PC98
machine that made this all possible, thanks to all that
contributed to that effort, without that this would
probably newer have been possible..
Approved by: re@
|
|
|
|
|
|
| |
with stuff which would ruin the day for any open parititons.
Approved by: re
|
|
|
|
|
|
| |
in-band disklabels from in-band vandalism.
Approve by: re
|
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs
Approved by: re (blanket)
|
|
|
|
|
| |
Spotted by: yar
Approved by: re (blanket)
|
|
|
|
|
|
|
|
| |
are the output of AES/128/CBC or ARC4RANDOM. Encrypt the random data with which
we wipe when we get a BIO_DELETE to make such an algorithm useful.
Sponsored by: DARPA & NAI Labs
Approved by: re (blanket)
|
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
Approved by: re (blanket).
|
|
|
|
|
|
| |
a slice child.
Approved by: re
|
|
|
|
|
|
|
| |
Compare pointers with NULL.
Partially submitted by: Christian Carstensen <cc@gate5.de>
Approved by: re
|
| |
|
| |
|
|
|
|
| |
Tested by: jhb
|
|
|
|
|
|
| |
It is mostly merged from MBR specific part.
Reviewed by: phk
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs
|
|
|
|
|
|
| |
Reenable the geom.ctl device so people can play with gbde.
Sponsored by: DARPA & NAI Labs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace ARC4 with SHA2-512.
Change lock-structure encoding to use random ordering rather for obscurity.
Encrypt lock-structure with AES/256 instead of AES/128.
Change kkey derivation to be MD5 hash based.
Watch for malloc(M_NOWAIT) failures and ditch our cache when they happen.
Remove clause 3 of the license with NAI Labs consent.
Many thanks to "Lucky Green" <shamrock@cypherpunks.to> and "David
Wagner" <daw@cs.berkeley.edu>, for code reading, inputs and
suggestions.
This code has still not been stared at for 10 years by a gang of
hard-core cryptographers. Discretion advised.
NB: These changes result in the on-disk format changing: dump/restore needed.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
| |
Remove clause 3 from the license with NAI Labs consent.
Sponsored by: DARPA & NAI Labs
|
|
|
|
|
|
|
| |
Reject slices with type==0.
Diddle the bootverbose printfs.
Sponsored by: DARPA & NAI Labs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
skip those. This handles the Protective MBR (PMBR) which consists
of a single partition of type 0xEE that covers the whole disk and
as such protects the GPT partitioning. We allow other partitions to
be present besides partitions of type 0xEE and as such interpret
partition type 0xEE as a "hands-off" partition only.
While here, fix g_mbrext_dumpconf to test if indent is NULL and
dump the data in a form that libdisk can grok. Change the logic
in g_mbr_dumpconf to match that of g_mbrext_dumpconf. This does
not change the output, but prevents a NULL-pointer dereference
when indent == NULL && pp == NULL.
|
|
|
|
| |
if indent was NULL. Consequently we always emitted the XML format.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
expected under -current. This is a problem for GEOM because the up/down
threads cannot sleep waiting for memory to become free. The reason they
cannot sleep is that paging things out to disk may be the only way we can
clear up some RAM. Nice catch-22 there.
Implement a rudimentary ENOMEM recovery strategy: If an I/O request
fails with an error code of ENOMEM, schedule it for a retry, and
tell the down-thread to sleep hz/10 to get other parts of the system
a chance to free up some memory, in particular the up-path in GEOM.
All caches should probably start to monitor malloc(9) failures using the new
malloc_last_fail() function, and release when it indicates congestion.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs
|
|
|
|
| |
bypass specfs.
|
|
|
|
| |
Allow extended partitions to have flag=0x80
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs
|
|
|
|
|
|
|
| |
WARNING: This is not a published interface, it is a stopgap measure for
WARNING: libdisk so we can get 5.0-R out of the door.
Sponsored by: DARPA & NAI Labs
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
| |
WARNING: You need to backup and restore the _unencrypted_ contents
WARNING: of your GBDE disks when you take this update!
Sponsored by: DARPA & NAI Labs.
|
| |
|
| |
|
|
|
|
|
| |
Disable check for supposedly magic "IPL1" string for PC98 labels, its
thaumaturgical power is in doubt.
|
|
|
|
|
|
|
| |
This is not quite the set of information I would want, but the tree where
I have the "correct" version is messed up with conflicts.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
know about.
|
| |
|
|
|
|
| |
regression tests.
|
|
|
|
| |
to taste like anything we like anyway.
|
| |
|