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
2022-01-02
Stop writing big-endian checksums into the little-endian GPT
Kenneth R Westerback
2021-12-22
While malloc sleeps, the disk list could change during sysctl. Then
Alexander Bluhm
2021-10-24
use NULL not 0 for pointer values in kern
Jonathan Gray
2021-06-13
Back off a couple of the more paranoid checks while spoofing GPT
Kenneth R Westerback
2021-06-02
Use the same logic in all copies of gpt_chk_mbr(), relaxing the
Kenneth R Westerback
2021-06-01
Make spoofed disklabel boundstart and boundend default to the bounds
Kenneth R Westerback
2021-05-27
Relax criteria for recognizing GPT formatted media by allowing the
Kenneth R Westerback
2021-05-14
Whitespace tweaks and a couple of stray u_int* in gpt_chk_mbr().
Kenneth R Westerback
2021-05-14
Tweak the two copies of gpt_chk_mbr() to return the index of the MBR
Kenneth R Westerback
2021-05-08
Spoof GPT partitions of type 21686148-6449-6e6f-744e-656564454649 (a.k.a.
Kenneth R Westerback
2021-01-19
kern/subr_disk.c: convert ifunit() to if_unit(9)
mvs
2020-05-29
dev/rndvar.h no longer has statistical interfaces (removed during various
Theo de Raadt
2020-03-13
Simplify logic, the "netboot" interface is always related to `bootdv'.
Martin Pieuchot
2019-12-26
tsleep -> tsleep_nsec(9) in setroot()
kn
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
[next]