index
:
wireguard-openbsd
jd/histogram
jd/queueboosts
jd/simplify-queueing
master
WireGuard implementation for the OpenBSD kernel
Matt Dunwoodie
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
sys
/
kern
/
subr_disk.c
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
kern/subr_disk.c: convert ifunit() to if_unit(9)
mvs
2021-01-19
1
-3
/
+5
*
dev/rndvar.h no longer has statistical interfaces (removed during various
deraadt
2020-05-29
1
-2
/
+1
*
Simplify logic, the "netboot" interface is always related to `bootdv'.
mpi
2020-03-13
1
-4
/
+2
*
tsleep -> tsleep_nsec(9) in setroot()
kn
2019-12-26
1
-2
/
+2
*
replace add_*_randomness with enqueue_randomness()
jasper
2018-04-28
1
-3
/
+3
*
fix a memory leak in readdoslabel()
jsg
2018-03-05
1
-8
/
+5
*
Turns out gcc complains about %02hhx. So simply use %02x instead. This is
kettenis
2017-08-07
1
-2
/
+2
*
Use %hhx instead of %hx to print u_char. Silences clang warning.
kettenis
2017-08-06
1
-2
/
+2
*
Also pass the blk offset to disk_unbusy(), so that it can pass it to
deraadt
2017-05-04
1
-3
/
+4
*
Tweak lock inits to make the system runnable with witness(4)
visa
2017-04-20
1
-2
/
+2
*
Don't bother with 'ghpartnum' in gpt_chk_hdr(); it's not used
tom
2016-09-02
1
-3
/
+2
*
Fix logic bug in DUID generation - we want to generate DUIDs until we have
jsing
2016-05-21
1
-2
/
+2
*
Cleanup some of the DUID code and refactor for readability.
jsing
2016-05-21
1
-28
/
+48
*
Remove dead assignment/unused variable.
jsing
2016-05-20
1
-4
/
+2
*
Let setroot() pick the boot disk based on the DUID provided in bootduid if
kettenis
2016-05-19
1
-2
/
+10
*
"exceeds past the end" -> "extends past the end" in comment.
krw
2016-02-08
1
-2
/
+2
*
Make gpt_chk_mbr() instances even more identicaller by always
krw
2015-12-24
1
-2
/
+2
*
Make all instances of gpt_chk_mbr() identical (bar static vs
krw
2015-12-24
1
-6
/
+4
*
Don't immediately try to checksum the GPT header using the size
krw
2015-09-25
1
-15
/
+10
*
Move declaration of readdisksector() to disklabel.h. This makes it
krw
2015-09-24
1
-3
/
+1
*
A couple of missing letoh32() conversions of GPT header fields in
krw
2015-09-24
1
-3
/
+4
*
Unbeak boot from GPT partition. Reported by Henrik Friedrichsen.
yasuoka
2015-09-15
1
-2
/
+2
*
Move prototype for spoofgptlabel() from disklabel.h to subr_disk.c.
krw
2015-09-13
1
-1
/
+2
*
Rename readgptlabel() to spoofgptlabel() because that's what we
krw
2015-09-13
1
-63
/
+39
*
Hoist all the GPT header checks into gpt_chk_header(). Tweak remaining
krw
2015-09-11
1
-60
/
+64
*
Move all prototypes of gpt helper functions to top of file. Rename
krw
2015-09-11
1
-7
/
+7
*
Shuffle some variables around, add a couple, and eliminate hordes
krw
2015-09-11
1
-16
/
+20
*
Move initialization of count of spoofed GPT partitions closer
krw
2015-09-11
1
-2
/
+3
*
GPT partitions cannot start at offset 0. Eliminate the variable
krw
2015-09-11
1
-11
/
+10
*
KNF shuffling of local declarations in readgptlabel().
krw
2015-09-11
1
-9
/
+6
*
readgptlabel() is called from readdoslabel() so there is no need
krw
2015-09-11
1
-6
/
+1
*
Spoof EFI SYSTEM GPT partitions as MSDOS partitions. As is done
krw
2015-09-11
1
-2
/
+6
*
Eliminate use-once variable in readgptlabel() and just use the
krw
2015-09-11
1
-4
/
+2
*
Don't spoof GPT OpenBSD partitions. Simply record and use the first one
krw
2015-09-11
1
-2
/
+4
*
Now that the GPT code tries really hard not to get in the way and
krw
2015-09-10
1
-11
/
+1
*
Call readgptlabel() from readdoslabel() instead of MD readdisklabel().
krw
2015-09-10
1
-1
/
+59
*
Don't stop spoofing GPT partitions when the OpenBSD partition is
krw
2015-09-10
1
-4
/
+3
*
No need to set d_npartitions in readdoslabel() or readgptlabel().
krw
2015-09-09
1
-9
/
+1
*
a white space krw could not see
deraadt
2015-09-01
1
-2
/
+2
*
'bogous' is bogus spelling of 'bogus' in debug message.
krw
2015-09-01
1
-2
/
+2
*
Missing letoh64() when checking value of gh_lba_alt.
krw
2015-09-01
1
-2
/
+2
*
Abstract 5 identical code blocks into a readdisksector() function.
krw
2015-08-31
1
-42
/
+31
*
Rejig the the expression calculating of the address of the disk
krw
2015-08-31
1
-5
/
+5
*
In readgptlabel() avoid pointless conversions from sector counts
krw
2015-08-30
1
-9
/
+7
*
Eliminate a couple of extraneous DL_SECTOBLK() calls.
krw
2015-08-30
1
-5
/
+3
*
In readgptlabel() the block offsets of the GPT header and GPT partition
krw
2015-08-29
1
-5
/
+3
*
Move label 'offset' calculation out of the buf setup logic and
krw
2015-08-28
1
-5
/
+5
*
Rename 'part_blkno' to 'sector' as it has not held DEV_BSIZE values in
krw
2015-08-28
1
-11
/
+11
*
Enhance setdisklabel() to ensure that the disk size and 'C'
krw
2015-08-26
1
-1
/
+7
*
Fix GPT code to work with non-DEV_BSIZE disks.
krw
2015-08-24
1
-21
/
+17
[next]