Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:34:59 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Split spec_open switch into three sections.
The sections are now:
1. Acquire open reference.
1a (intermezzo). Set
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:35:08 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Delete bogus comment about .d_open/.d_close at same time.
Annoying as it is that .d_open and .d_close can run at the same
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:34:51 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Factor common kauth check out of switch in spec_open.
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:34:51 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Factor common kauth check out of switch in spec_open.
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:35:26 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Factor VOP_UNLOCK/vn_lock out of switch for clarity.
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:35:26 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Factor VOP_UNLOCK/vn_lock out of switch for clarity.
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:34:34 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Call bdev_open without the vnode lock.
There is no need for it to serialize opens, because they are already
serialized by
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:34:34 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Call bdev_open without the vnode lock.
There is no need for it to serialize opens, because they are already
serialized by
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:35:17 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Factor common device_lock out of switch for clarity.
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:35:17 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Factor common device_lock out of switch for clarity.
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:34:59 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Split spec_open switch into three sections.
The sections are now:
1. Acquire open reference.
1a (intermezzo). Set
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:35:08 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Delete bogus comment about .d_open/.d_close at same time.
Annoying as it is that .d_open and .d_close can run at the same
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:34:42 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Assert v_type is VBLK or VCHR in spec_open.
Nothing else makes sense. Prune dead branches (and replace default
case by
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:34:42 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Assert v_type is VBLK or VCHR in spec_open.
Nothing else makes sense. Prune dead branches (and replace default
case by
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:38:15 UTC 2022
Modified Files:
src/sys/kern: subr_autoconf.c
src/sys/sys: device.h
Log Message:
autoconf(9): New function config_detach_commit.
When a driver's .ca_detach function has committed to
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:38:15 UTC 2022
Modified Files:
src/sys/kern: subr_autoconf.c
src/sys/sys: device.h
Log Message:
autoconf(9): New function config_detach_commit.
When a driver's .ca_detach function has committed to
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:37:56 UTC 2022
Modified Files:
src/sys/kern: vfs_vnode.c
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Remove specnode from hash table in spec_node_revoke.
Previously, it was possible for
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:37:56 UTC 2022
Modified Files:
src/sys/kern: vfs_vnode.c
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Remove specnode from hash table in spec_node_revoke.
Previously, it was possible for
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:37:46 UTC 2022
Modified Files:
src/sys/coda: coda_vfsops.c
src/sys/kern: vfs_mount.c vfs_subr.c vfs_vnode.c
src/sys/miscfs/specfs: spec_vnops.c specdev.h
Log Message:
specfs: Let
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:37:46 UTC 2022
Modified Files:
src/sys/coda: coda_vfsops.c
src/sys/kern: vfs_mount.c vfs_subr.c vfs_vnode.c
src/sys/miscfs/specfs: spec_vnops.c specdev.h
Log Message:
specfs: Let
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:37:35 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Assert opencnt is nonzero before decrementing.
To generate a diff of this commit:
cvs rdiff -u -r1.206 -r1.207
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:37:35 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Assert opencnt is nonzero before decrementing.
To generate a diff of this commit:
cvs rdiff -u -r1.206 -r1.207
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:37:27 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Take an I/O reference across bdev/cdev_open.
- Revoke is used to invalidate all prior access control checks when
device
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:38:04 UTC 2022
Modified Files:
src/sys/miscfs/specfs: specdev.h
Log Message:
specfs: Reorder struct specnode members to save padding.
Shrinks from 40 bytes to 32 bytes on LP64 systems this way.
To generate a
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:38:04 UTC 2022
Modified Files:
src/sys/miscfs/specfs: specdev.h
Log Message:
specfs: Reorder struct specnode members to save padding.
Shrinks from 40 bytes to 32 bytes on LP64 systems this way.
To generate a
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:42:37 UTC 2022
Modified Files:
src/sys/dev/usb: ucom.c
Log Message:
ucom(4): Rework open/close/attach/detach logic.
- Defer sleep after hangup until open.
No need to make close hang; we just need to make sure
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:42:37 UTC 2022
Modified Files:
src/sys/dev/usb: ucom.c
Log Message:
ucom(4): Rework open/close/attach/detach logic.
- Defer sleep after hangup until open.
No need to make close hang; we just need to make sure
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:44:17 UTC 2022
Modified Files:
src/sys/dev/usb: uatp.c ucycom.c uhid.c uhidev.c uhidev.h ukbd.c ums.c
uthum.c uts.c
Log Message:
uhidev(9): Make uhidev state opaque.
This makes the API simpler and
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:44:28 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c
Log Message:
uhidev(9): Omit needless sc_dying.
To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/dev/usb/uhidev.c
Please note that
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:44:37 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c uhidev.h
Log Message:
uhidev(9): Define UHIDEV_MAXREPID = 255.
Report ids are limited by the HID spec to a single byte.
- Clamp max report id in report
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:44:37 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c uhidev.h
Log Message:
uhidev(9): Define UHIDEV_MAXREPID = 255.
Report ids are limited by the HID spec to a single byte.
- Clamp max report id in report
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:44:28 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c
Log Message:
uhidev(9): Omit needless sc_dying.
To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/dev/usb/uhidev.c
Please note that
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:44:45 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c
Log Message:
uhidev(9): Assert uhidev is open when writing.
(Maybe we could have uhidevs that are output-only, in which case a
driver could, in principle,
Module Name:src
Committed By: martin
Date: Mon Mar 28 12:48:44 UTC 2022
Modified Files:
src/sys/arch/sandpoint/conf: INSTALL
Log Message:
Provide a bit more space for the ramdisk image (which recently did grow)
To generate a diff of this commit:
cvs rdiff -u -r1.9
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:44:45 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c
Log Message:
uhidev(9): Assert uhidev is open when writing.
(Maybe we could have uhidevs that are output-only, in which case a
driver could, in principle,
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:44:55 UTC 2022
Modified Files:
src/sys/dev/usb: uatp.c
Log Message:
uatp(4): Fix detach logic.
Let wsmouse child decide whether it's in use or close if mandatory.
If config_detach_children succeeds, this must no
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:44:55 UTC 2022
Modified Files:
src/sys/dev/usb: uatp.c
Log Message:
uatp(4): Fix detach logic.
Let wsmouse child decide whether it's in use or close if mandatory.
If config_detach_children succeeds, this must no
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:45:04 UTC 2022
Modified Files:
src/sys/dev/usb: uatp.c
Log Message:
uatp(4): Use usbd_get/set_report for Geyser 3/4 reset.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/usb/uatp.c
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:45:04 UTC 2022
Modified Files:
src/sys/dev/usb: uatp.c
Log Message:
uatp(4): Use usbd_get/set_report for Geyser 3/4 reset.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/usb/uatp.c
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:48:35 UTC 2022
Modified Files:
src/sys/dev: ccd.c
Log Message:
sys/dev/ccd.c: Restore historic RCS id.
This got munged accidentally by `git cvsexportcommit -k' -- taking
that option out of my commitbomb script!
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:48:35 UTC 2022
Modified Files:
src/sys/dev: ccd.c
Log Message:
sys/dev/ccd.c: Restore historic RCS id.
This got munged accidentally by `git cvsexportcommit -k' -- taking
that option out of my commitbomb script!
Module Name:src
Committed By: martin
Date: Mon Mar 28 12:48:44 UTC 2022
Modified Files:
src/sys/arch/sandpoint/conf: INSTALL
Log Message:
Provide a bit more space for the ramdisk image (which recently did grow)
To generate a diff of this commit:
cvs rdiff -u -r1.9
Module Name:src
Committed By: mlelstv
Date: Mon Mar 28 11:21:40 UTC 2022
Modified Files:
src/sys/dev/wsfb: genfb.c genfbvar.h
Log Message:
Add helper to detach genfb console.
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/wsfb/genfb.c
cvs
Module Name:src
Committed By: mlelstv
Date: Mon Mar 28 11:21:40 UTC 2022
Modified Files:
src/sys/dev/wsfb: genfb.c genfbvar.h
Log Message:
Add helper to detach genfb console.
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/wsfb/genfb.c
cvs
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:42:54 UTC 2022
Modified Files:
src/sys/dev/usb: ucycom.c uhid.c uhidev.c uhidev.h
Log Message:
uhidev(9): Partially fix uhidev_write aborting.
In my previous change, I intended to make uhidev_stop abort any
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:43:03 UTC 2022
Modified Files:
src/sys/dev/usb: ucycom.c uhidev.c uhidev.h
Log Message:
uhidev(9): New uhidev_write_async.
Like uhidev_write but issues the transfer asynchronously with a
callback.
Use it in
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:43:03 UTC 2022
Modified Files:
src/sys/dev/usb: ucycom.c uhidev.c uhidev.h
Log Message:
uhidev(9): New uhidev_write_async.
Like uhidev_write but issues the transfer asynchronously with a
callback.
Use it in
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:42:45 UTC 2022
Modified Files:
src/sys/dev/usb: uhid.c
Log Message:
uhid(4): Use d_cfdriver/devtounit/cancel to avoid open/detach races.
- Split uhidclose into separate uhidcancel and uhidclose parts.
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:42:45 UTC 2022
Modified Files:
src/sys/dev/usb: uhid.c
Log Message:
uhid(4): Use d_cfdriver/devtounit/cancel to avoid open/detach races.
- Split uhidclose into separate uhidcancel and uhidclose parts.
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:42:54 UTC 2022
Modified Files:
src/sys/dev/usb: ucycom.c uhid.c uhidev.c uhidev.h
Log Message:
uhidev(9): Partially fix uhidev_write aborting.
In my previous change, I intended to make uhidev_stop abort any
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:43:12 UTC 2022
Modified Files:
src/sys/arch/macppc/dev: pbms.c
src/sys/dev/usb: uatp.c uhid.c ukbd.c ums.c uthum.c
Log Message:
uhidev(9): Get the device and interface through attach args.
This way
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:43:12 UTC 2022
Modified Files:
src/sys/arch/macppc/dev: pbms.c
src/sys/dev/usb: uatp.c uhid.c ukbd.c ums.c uthum.c
Log Message:
uhidev(9): Get the device and interface through attach args.
This way
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:44:06 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c
Log Message:
uhidev(9): Fix race between uhidev_close and uhidev_intr.
uhidev_intr currently relies on the kernel lock to serialize access
to struct
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:44:17 UTC 2022
Modified Files:
src/sys/dev/usb: uatp.c ucycom.c uhid.c uhidev.c uhidev.h ukbd.c ums.c
uthum.c uts.c
Log Message:
uhidev(9): Make uhidev state opaque.
This makes the API simpler and
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:43:22 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c uhidev.h
Log Message:
uhidev(9): Move struct uhidev_softc into uhidev.c.
No longer part of any ABI for uhidev modules.
To generate a diff of this
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:43:22 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c uhidev.h
Log Message:
uhidev(9): Move struct uhidev_softc into uhidev.c.
No longer part of any ABI for uhidev modules.
To generate a diff of this
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:43:39 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c uhidev.h
Log Message:
uhidev(9): Make uhidev_stop work reliably.
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/usb/uhidev.c
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:43:39 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c uhidev.h
Log Message:
uhidev(9): Make uhidev_stop work reliably.
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/usb/uhidev.c
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:43:48 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c
Log Message:
uhidev(9): Make some private functions static and fix comment.
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.86
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:43:48 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c
Log Message:
uhidev(9): Make some private functions static and fix comment.
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.86
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:43:58 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c
Log Message:
uhidev(9): Refactor error branch to use one label.
No functional change intended.
To generate a diff of this commit:
cvs rdiff -u -r1.87
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:43:58 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c
Log Message:
uhidev(9): Refactor error branch to use one label.
No functional change intended.
To generate a diff of this commit:
cvs rdiff -u -r1.87
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:44:06 UTC 2022
Modified Files:
src/sys/dev/usb: uhidev.c
Log Message:
uhidev(9): Fix race between uhidev_close and uhidev_intr.
uhidev_intr currently relies on the kernel lock to serialize access
to struct
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:43:30 UTC 2022
Modified Files:
src/sys/dev/usb: ucycom.c
Log Message:
ucycom(4): Defer uhidev_write_async to taskq.
Can't submit USB transfers while holding tty_lock, a spin lock.
To generate a diff of this
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:43:30 UTC 2022
Modified Files:
src/sys/dev/usb: ucycom.c
Log Message:
ucycom(4): Defer uhidev_write_async to taskq.
Can't submit USB transfers while holding tty_lock, a spin lock.
To generate a diff of this
Module Name:src
Committed By: wiz
Date: Mon Mar 28 13:07:14 UTC 2022
Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c
Log Message:
Restore another historic RCS Id.
To generate a diff of this commit:
cvs rdiff -u -r1.404 -r1.405
Module Name:src
Committed By: wiz
Date: Mon Mar 28 13:07:14 UTC 2022
Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c
Log Message:
Restore another historic RCS Id.
To generate a diff of this commit:
cvs rdiff -u -r1.404 -r1.405
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:33:22 UTC 2022
Modified Files:
src/external/cddl/osnet/dev/dtrace: dtrace_modevent.c
src/external/cddl/osnet/dev/fbt: fbt.c
src/external/cddl/osnet/dev/sdt: sdt.c
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:33:22 UTC 2022
Modified Files:
src/external/cddl/osnet/dev/dtrace: dtrace_modevent.c
src/external/cddl/osnet/dev/fbt: fbt.c
src/external/cddl/osnet/dev/sdt: sdt.c
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:33:32 UTC 2022
Modified Files:
src/sys/kern: subr_devsw.c
Log Message:
driver(9): Fix synchronization of devsw_attach/lookup/detach.
(`dev' means either `bdev' or `cdev' for brevity here, e.g. in
`devsw_lookup'
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:39:57 UTC 2022
Modified Files:
src/sys/dev/audio: audio.c
Log Message:
audio(4): Use d_cfdriver/devtounit to avoid open/detach races.
To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:39:57 UTC 2022
Modified Files:
src/sys/dev/audio: audio.c
Log Message:
audio(4): Use d_cfdriver/devtounit to avoid open/detach races.
To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:39:47 UTC 2022
Modified Files:
src/sys/dev/scsipi: sd.c
Log Message:
sd(4): Use d_cfdriver/devtounit to avoid open/detach races.
To generate a diff of this commit:
cvs rdiff -u -r1.333 -r1.334
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:39:29 UTC 2022
Modified Files:
src/sys/kern: tty.c
src/sys/sys: tty.h
Log Message:
tty(9): New ttycancel function.
This causes any current and future ttyopens to fail until ttyclose.
This is necessary
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:39:29 UTC 2022
Modified Files:
src/sys/kern: tty.c
src/sys/sys: tty.h
Log Message:
tty(9): New ttycancel function.
This causes any current and future ttyopens to fail until ttyclose.
This is necessary
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:39:37 UTC 2022
Modified Files:
src/sys/dev/ata: wd.c
Log Message:
wd(4): Use d_cfdriver/devtounit to avoid open/detach races.
To generate a diff of this commit:
cvs rdiff -u -r1.466 -r1.467 src/sys/dev/ata/wd.c
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:39:37 UTC 2022
Modified Files:
src/sys/dev/ata: wd.c
Log Message:
wd(4): Use d_cfdriver/devtounit to avoid open/detach races.
To generate a diff of this commit:
cvs rdiff -u -r1.466 -r1.467 src/sys/dev/ata/wd.c
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:39:47 UTC 2022
Modified Files:
src/sys/dev/scsipi: sd.c
Log Message:
sd(4): Use d_cfdriver/devtounit to avoid open/detach races.
To generate a diff of this commit:
cvs rdiff -u -r1.333 -r1.334
Module Name:src
Committed By: mlelstv
Date: Mon Mar 28 11:16:59 UTC 2022
Modified Files:
src/sys/dev: vnd.c
Log Message:
Check INITED state by default for all ioctls but VNDIOCSET. Avoids crashes
with disk_ioctls on default unit, which is not INITED.
Fixes PR 56700.
To
Module Name:src
Committed By: mlelstv
Date: Mon Mar 28 11:16:59 UTC 2022
Modified Files:
src/sys/dev: vnd.c
Log Message:
Check INITED state by default for all ioctls but VNDIOCSET. Avoids crashes
with disk_ioctls on default unit, which is not INITED.
Fixes PR 56700.
To
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:35:52 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Factor KASSERT out of switch in spec_open.
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.195
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:35:52 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Factor KASSERT out of switch in spec_open.
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.195
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:36:27 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Paranoia: Assert opencnt is zero on reclaim.
To generate a diff of this commit:
cvs rdiff -u -r1.199 -r1.200
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:36:09 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Add a comment and assertion to spec_close about refcnts.
To generate a diff of this commit:
cvs rdiff -u -r1.197 -r1.198
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:36:09 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Add a comment and assertion to spec_close about refcnts.
To generate a diff of this commit:
cvs rdiff -u -r1.197 -r1.198
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:36:01 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: If sd_opencnt is zero, sn_opencnt had better be zero.
To generate a diff of this commit:
cvs rdiff -u -r1.196 -r1.197
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:35:35 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Reorganize D_DISK tail of spec_open and explain what's up.
No functional change intended.
To generate a diff of this
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:35:44 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: sn_gone cannot be set while we hold the vnode lock.
Revoke runs with the vnode lock too, which is exclusive. Add an
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:35:44 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: sn_gone cannot be set while we hold the vnode lock.
Revoke runs with the vnode lock too, which is exclusive. Add an
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:35:35 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Reorganize D_DISK tail of spec_open and explain what's up.
No functional change intended.
To generate a diff of this
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:36:18 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Omit needless vdead_check in spec_fdiscard.
The vnode lock is held, so the vnode cannot be revoked without also
changing
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:36:18 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: Omit needless vdead_check in spec_fdiscard.
The vnode lock is held, so the vnode cannot be revoked without also
changing
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:36:01 UTC 2022
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
specfs: If sd_opencnt is zero, sn_opencnt had better be zero.
To generate a diff of this commit:
cvs rdiff -u -r1.196 -r1.197
Module Name:src
Committed By: mlelstv
Date: Mon Mar 28 11:09:24 UTC 2022
Modified Files:
src/sys/dev/spi: spi.c
Log Message:
Fix sanity check for zero sized buffer.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/spi/spi.c
Please note that
Module Name:src
Committed By: mlelstv
Date: Mon Mar 28 11:09:24 UTC 2022
Modified Files:
src/sys/dev/spi: spi.c
Log Message:
Fix sanity check for zero sized buffer.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/spi/spi.c
Please note that
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:33:32 UTC 2022
Modified Files:
src/sys/kern: subr_devsw.c
Log Message:
driver(9): Fix synchronization of devsw_attach/lookup/detach.
(`dev' means either `bdev' or `cdev' for brevity here, e.g. in
`devsw_lookup'
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:33:41 UTC 2022
Modified Files:
src/sys/kern: subr_autoconf.c
src/sys/sys: device.h
Log Message:
autoconf(9): New localcount-based device instance references.
device_lookup_acquire looks up an autoconf
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:33:41 UTC 2022
Modified Files:
src/sys/kern: subr_autoconf.c
src/sys/sys: device.h
Log Message:
autoconf(9): New localcount-based device instance references.
device_lookup_acquire looks up an autoconf
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:33:59 UTC 2022
Modified Files:
src/sys/kern: subr_disk.c
src/sys/sys: disklabel.h
Log Message:
disk(9): New function disklabel_dev_unit.
Maps a dev_t like wd3e to an autoconf instance number like 3, with
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:33:50 UTC 2022
Modified Files:
src/sys/kern: subr_devsw.c
src/sys/sys: conf.h
Log Message:
driver(9): New devsw members d_cfdriver, d_devtounit.
If set, then bdev_open/cdev_open will use d_devtounit to
1 - 100 of 155 matches
Mail list logo