Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   riastradh
Date:           Tue May  9 12:04:04 UTC 2023

Modified Files:
        src/sys/dev/dkwedge: dk.c
        src/sys/kern: subr_disk.c
        src/sys/sys: disk.h

Log Message:
ioctl(DIOCRMWEDGES): Delete only idle wedges.

Don't forcibly delete busy wedges.

Reported-by: syzbot+e46f31fe56e04f567d88%syzkaller.appspotmail.com@localhost
https://syzkaller.appspot.com/bug?id=8a00fd7f2e7459748d7a274098180a4708ff0f61

Fixes accidental destruction of the busy wedge that the root file
system is mounted on, triggered by syzbot's ioctl(DIOCRMWEDGES).


To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.154 src/sys/dev/dkwedge/dk.c
cvs rdiff -u -r1.136 -r1.137 src/sys/kern/subr_disk.c
cvs rdiff -u -r1.77 -r1.78 src/sys/sys/disk.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index