created | 2022-12-25T08:59:33Z |
---|---|
begin | 2022-12-19T00:00:00Z |
end | 2022-12-20T00:00:00Z |
path | src/sys |
commits | 8 |
date | 2022-12-19T00:22:11Z | |||
---|---|---|---|---|
author | guenther | |||
files | src/sys/sys/wait.h | log | diff | annotate |
message |
Add WTRAPPED opiton for waitid(2) to control whether CMD_TRAPPED state changes are reported. That's the 6th bit, so switch to hex constants. Adjust #if tests for consistency ok kettenis@ |
date | 2022-12-19T00:22:12Z | |||
---|---|---|---|---|
author | guenther | |||
files | src/sys/kern/kern_exit.c | log | diff | annotate |
message |
Add WTRAPPED opiton for waitid(2) to control whether CMD_TRAPPED state changes are reported. That's the 6th bit, so switch to hex constants. Adjust #if tests for consistency ok kettenis@ |
date | 2022-12-19T04:35:33Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/pfvar.h | log | diff | annotate |
message |
move pf_state_item and pf_state_key structs from pfvar.h to pfvar_priv.h. both of these are kernel private data structures and do not need to be visible to userland. moving them to pfvar_priv.h makes this explicit, and makes it leass scary to tweak them in the future. ok deraadt@ kn@ sashan@ |
date | 2022-12-19T04:35:34Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/pfvar_priv.h | log | diff | annotate |
message |
move pf_state_item and pf_state_key structs from pfvar.h to pfvar_priv.h. both of these are kernel private data structures and do not need to be visible to userland. moving them to pfvar_priv.h makes this explicit, and makes it leass scary to tweak them in the future. ok deraadt@ kn@ sashan@ |
date | 2022-12-19T04:48:07Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/arch/amd64/amd64/vmm.c | log | diff | annotate |
message |
rework the synchronisation around suspend/resume. the idea is that access to vmm from userland is gated by the vmm_softc sc_status field, and then accounted for by the refcnt. you take a read lock to check the gate, and if it is open then you can take a reference and do your thing. once you've finished the work then you rele the refcnt on the way out of the ioctl handler. the suspend code takes a write lock to close the sc_status gate, and then uses refcnt_finalise to wait for things in the ioctl handler to get out. on resume, the code takes the write lock, sets the refcnt up again for userland to use, and then opens the gate. tested by and ok dv@ |
date | 2022-12-19T08:16:36Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/dev/softraidvar.h | log | diff | annotate |
message | Say "discipline" not "dis" in comment, latter looks like typoed "disk" |
date | 2022-12-19T15:10:40Z | |||
---|---|---|---|---|
author | visa | |||
files | src/sys/dev/usb/ugen.c | log | diff | annotate |
message |
Invalidate ugen(4) knote lists after device detach This prevents the kernel from crashing when a ugen(4) device is detached while kqueue still holds a reference to that device. Crash reported and fix tested by xavier.s on bugs@. OK mpi@ |
date | 2022-12-19T15:27:06Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/dev/softraidvar.h | log | diff | annotate |
message |
Remove unused *sd_scsibus_dev member from struct sr_discipline Under _KERNEL, dead since 2011 r1.100 Simplify softraid(4) to behave like other HBAs [...] OK krw |