index
:
src
cvs/HEAD
kms/intel
kms/radeon
master
OpenBSD base system
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
sys
/
kern
/
subr_disk.c
Age
Commit message (
Expand
)
Author
2018-04-28
replace add_*_randomness with enqueue_randomness()
Jasper Lievisse Adriaanse
2018-03-05
fix a memory leak in readdoslabel()
Jonathan Gray
2017-08-07
Turns out gcc complains about %02hhx. So simply use %02x instead. This is
Mark Kettenis
2017-08-06
Use %hhx instead of %hx to print u_char. Silences clang warning.
Mark Kettenis
2017-05-04
Also pass the blk offset to disk_unbusy(), so that it can pass it to
Theo de Raadt
2017-04-20
Tweak lock inits to make the system runnable with witness(4)
Visa Hankala
2016-09-02
Don't bother with 'ghpartnum' in gpt_chk_hdr(); it's not used
Tom Cosgrove
2016-05-21
Fix logic bug in DUID generation - we want to generate DUIDs until we have
Joel Sing
2016-05-21
Cleanup some of the DUID code and refactor for readability.
Joel Sing
2016-05-20
Remove dead assignment/unused variable.
Joel Sing
2016-05-19
Let setroot() pick the boot disk based on the DUID provided in bootduid if
Mark Kettenis
2016-02-08
"exceeds past the end" -> "extends past the end" in comment.
Kenneth R Westerback
2015-12-24
Make gpt_chk_mbr() instances even more identicaller by always
Kenneth R Westerback
2015-12-24
Make all instances of gpt_chk_mbr() identical (bar static vs
Kenneth R Westerback
2015-09-25
Don't immediately try to checksum the GPT header using the size
Kenneth R Westerback
2015-09-24
Move declaration of readdisksector() to disklabel.h. This makes it
Kenneth R Westerback
2015-09-24
A couple of missing letoh32() conversions of GPT header fields in
Kenneth R Westerback
2015-09-15
Unbeak boot from GPT partition. Reported by Henrik Friedrichsen.
YASUOKA Masahiko
2015-09-13
Move prototype for spoofgptlabel() from disklabel.h to subr_disk.c.
Kenneth R Westerback
2015-09-13
Rename readgptlabel() to spoofgptlabel() because that's what we
Kenneth R Westerback
2015-09-11
Hoist all the GPT header checks into gpt_chk_header(). Tweak remaining
Kenneth R Westerback
2015-09-11
Move all prototypes of gpt helper functions to top of file. Rename
Kenneth R Westerback
2015-09-11
Shuffle some variables around, add a couple, and eliminate hordes
Kenneth R Westerback
2015-09-11
Move initialization of count of spoofed GPT partitions closer
Kenneth R Westerback
2015-09-11
GPT partitions cannot start at offset 0. Eliminate the variable
Kenneth R Westerback
2015-09-11
KNF shuffling of local declarations in readgptlabel().
Kenneth R Westerback
2015-09-11
readgptlabel() is called from readdoslabel() so there is no need
Kenneth R Westerback
2015-09-11
Spoof EFI SYSTEM GPT partitions as MSDOS partitions. As is done
Kenneth R Westerback
2015-09-11
Eliminate use-once variable in readgptlabel() and just use the
Kenneth R Westerback
2015-09-11
Don't spoof GPT OpenBSD partitions. Simply record and use the first one
Kenneth R Westerback
2015-09-10
Now that the GPT code tries really hard not to get in the way and
Kenneth R Westerback
2015-09-10
Call readgptlabel() from readdoslabel() instead of MD readdisklabel().
Kenneth R Westerback
2015-09-10
Don't stop spoofing GPT partitions when the OpenBSD partition is
Kenneth R Westerback
2015-09-09
No need to set d_npartitions in readdoslabel() or readgptlabel().
Kenneth R Westerback
2015-09-01
a white space krw could not see
Theo de Raadt
2015-09-01
'bogous' is bogus spelling of 'bogus' in debug message.
Kenneth R Westerback
2015-09-01
Missing letoh64() when checking value of gh_lba_alt.
Kenneth R Westerback
2015-08-31
Abstract 5 identical code blocks into a readdisksector() function.
Kenneth R Westerback
2015-08-31
Rejig the the expression calculating of the address of the disk
Kenneth R Westerback
2015-08-30
In readgptlabel() avoid pointless conversions from sector counts
Kenneth R Westerback
2015-08-30
Eliminate a couple of extraneous DL_SECTOBLK() calls.
Kenneth R Westerback
2015-08-29
In readgptlabel() the block offsets of the GPT header and GPT partition
Kenneth R Westerback
2015-08-28
Move label 'offset' calculation out of the buf setup logic and
Kenneth R Westerback
2015-08-28
Rename 'part_blkno' to 'sector' as it has not held DEV_BSIZE values in
Kenneth R Westerback
2015-08-26
Enhance setdisklabel() to ensure that the disk size and 'C'
Kenneth R Westerback
2015-08-24
Fix GPT code to work with non-DEV_BSIZE disks.
Kenneth R Westerback
2015-08-12
Remove last two 'uses' of d_subtype in tree. No point in setting
Kenneth R Westerback
2015-07-29
Zap a couple of extra blank lines that keep showing up in diffs I'm
Kenneth R Westerback
2015-07-28
Convert sectors to DEV_BSIZE block values were necessary to find,
Kenneth R Westerback
2015-07-26
Always initialize the b_error field and B_ERROR flag before using
Kenneth R Westerback
[next]