CVS commit: src/sys/miscfs

2019-08-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Aug 29 06:43:13 UTC 2019 Modified Files: src/sys/miscfs/kernfs: kernfs_vnops.c src/sys/miscfs/procfs: procfs_vnops.c Log Message: Add missing operation VOP_GETPAGES() returning EFAULT. Without this operation posix_fa

CVS commit: src/sys/miscfs

2019-08-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Aug 29 06:43:13 UTC 2019 Modified Files: src/sys/miscfs/kernfs: kernfs_vnops.c src/sys/miscfs/procfs: procfs_vnops.c Log Message: Add missing operation VOP_GETPAGES() returning EFAULT. Without this operation posix_fa

CVS commit: src/sys/miscfs/procfs

2022-01-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 10 22:26:14 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs_vnops.c Log Message: Fix locking in the error path (from RVP). Centralize unlock code. To generate a diff of this commit: cvs rdiff -u -r1.220 -r1.221

CVS commit: src/sys/miscfs/procfs

2022-01-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 10 22:26:14 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs_vnops.c Log Message: Fix locking in the error path (from RVP). Centralize unlock code. To generate a diff of this commit: cvs rdiff -u -r1.220 -r1.221

CVS commit: src/sys/miscfs/procfs

2022-01-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 10 23:16:05 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs_vnops.c Log Message: use a single nc variable. To generate a diff of this commit: cvs rdiff -u -r1.221 -r1.222 src/sys/miscfs/procfs/procfs_vnops.c Pl

CVS commit: src/sys/miscfs/procfs

2022-01-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 10 23:16:05 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs_vnops.c Log Message: use a single nc variable. To generate a diff of this commit: cvs rdiff -u -r1.221 -r1.222 src/sys/miscfs/procfs/procfs_vnops.c Pl

CVS commit: src/sys/miscfs/procfs

2022-01-11 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Jan 11 11:10:46 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs_vnops.c Log Message: Use a single "p" variable. Should fix PR kern/56614: kernel panic on tmux To generate a diff of this commit: cvs rdiff -u -r1.222

CVS commit: src/sys/miscfs/procfs

2022-01-11 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Jan 11 11:10:46 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs_vnops.c Log Message: Use a single "p" variable. Should fix PR kern/56614: kernel panic on tmux To generate a diff of this commit: cvs rdiff -u -r1.222

CVS commit: src/sys/miscfs/procfs

2022-01-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jan 11 22:55:55 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs_vnops.c Log Message: remove redundant error initialization and break earlier. (from rvp) To generate a diff of this commit: cvs rdiff -u -r1.223 -r1.22

CVS commit: src/sys/miscfs/procfs

2022-01-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jan 11 22:55:55 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs_vnops.c Log Message: remove redundant error initialization and break earlier. (from rvp) To generate a diff of this commit: cvs rdiff -u -r1.223 -r1.22

CVS commit: src/sys/miscfs/procfs

2022-01-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 14 18:28:28 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs_vnops.c Log Message: Put the appropriate DT_ constant in the dirent structure depending on the file type. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/miscfs/procfs

2022-01-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 14 18:28:28 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs_vnops.c Log Message: Put the appropriate DT_ constant in the dirent structure depending on the file type. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/miscfs/genfs

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 21:59:51 UTC 2022 Modified Files: src/sys/miscfs/genfs: genfs_io.c Log Message: genfs(9): Prune dead branch. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/sys/miscfs/genfs/genfs_io.c Please n

CVS commit: src/sys/miscfs/genfs

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 21:59:51 UTC 2022 Modified Files: src/sys/miscfs/genfs: genfs_io.c Log Message: genfs(9): Prune dead branch. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/sys/miscfs/genfs/genfs_io.c Please n

CVS commit: src/sys/miscfs/procfs

2022-01-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 14 23:46:56 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs_vnops.c Log Message: Fix emul and exe DT_ types (from RVP, as was the previous commit) To generate a diff of this commit: cvs rdiff -u -r1.225 -r1.226

CVS commit: src/sys/miscfs/procfs

2022-01-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 14 23:46:56 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs_vnops.c Log Message: Fix emul and exe DT_ types (from RVP, as was the previous commit) To generate a diff of this commit: cvs rdiff -u -r1.225 -r1.226

CVS commit: src/sys/miscfs/fdesc

2022-01-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jan 15 19:33:59 UTC 2022 Modified Files: src/sys/miscfs/fdesc: fdesc_vnops.c Log Message: sys/fs/fdesc: Delete silly vnop #define aliases. To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/sys/miscfs/fde

CVS commit: src/sys/miscfs/fdesc

2022-01-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jan 15 19:33:59 UTC 2022 Modified Files: src/sys/miscfs/fdesc: fdesc_vnops.c Log Message: sys/fs/fdesc: Delete silly vnop #define aliases. To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/sys/miscfs/fde

CVS commit: src/sys/miscfs/procfs

2022-01-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Jan 17 11:20:00 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs.h procfs_vfsops.c procfs_vnops.c Log Message: If the calling process is running under linux emulation, make /proc/xxx/fd/ return only symlinks pointing to

CVS commit: src/sys/miscfs/procfs

2022-01-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Jan 17 11:20:00 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs.h procfs_vfsops.c procfs_vnops.c Log Message: If the calling process is running under linux emulation, make /proc/xxx/fd/ return only symlinks pointing to

CVS commit: src/sys/miscfs/procfs

2022-01-19 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jan 19 10:23:00 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs.h Log Message: Now that an inline function dereferences it, make sure struct proc is declared by including sys/proc.h here. To generate a diff of this co

CVS commit: src/sys/miscfs/procfs

2022-01-19 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jan 19 10:23:00 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs.h Log Message: Now that an inline function dereferences it, make sure struct proc is declared by including sys/proc.h here. To generate a diff of this co

CVS commit: src/sys/miscfs/kernfs

2022-03-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 12 17:36:14 UTC 2022 Modified Files: src/sys/miscfs/kernfs: kernfs_vnops.c Log Message: kernfs: Just fail with EOPNOTSUPP, don't panic, on VOP_BMAP. Reported-by: syzbot+870d2eb4b4c8904ac...@syzkaller.appspotmail.com

CVS commit: src/sys/miscfs/kernfs

2022-03-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 12 17:36:14 UTC 2022 Modified Files: src/sys/miscfs/kernfs: kernfs_vnops.c Log Message: kernfs: Just fail with EOPNOTSUPP, don't panic, on VOP_BMAP. Reported-by: syzbot+870d2eb4b4c8904ac...@syzkaller.appspotmail.com

CVS commit: src/sys/miscfs/genfs

2022-03-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Mar 19 13:52:45 UTC 2022 Modified Files: src/sys/miscfs/genfs: genfs_vnops.c Log Message: Remove now unused genfs_nolock(), genfs_nounlock() and genfs_noislocked(). To generate a diff of this commit: cvs rdiff -u -r1.216 -r

CVS commit: src/sys/miscfs/genfs

2022-03-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Mar 19 13:52:45 UTC 2022 Modified Files: src/sys/miscfs/genfs: genfs_vnops.c Log Message: Remove now unused genfs_nolock(), genfs_nounlock() and genfs_noislocked(). To generate a diff of this commit: cvs rdiff -u -r1.216 -r

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:34:26 UTC 2022 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: specfs: Note lock order for vnode lock, device_lock, v_interlock. To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 s

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:34:26 UTC 2022 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: specfs: Note lock order for vnode lock, device_lock, v_interlock. To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 s

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 sd

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 sd

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 pani

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 pani

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 -

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 -

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 VV_ISTTY

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 VV_ISTTY

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 ti

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 ti

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 -u

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 -u

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 -u

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 -u

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 commi

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 commi

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 asserti

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 asserti

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 -

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 -

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 src/s

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 src/s

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 sr

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 sr

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 v_o

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 v_o

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 src/sys/miscfs

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 src/sys/miscfs

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:36:34 UTC 2022 Modified Files: src/sys/miscfs/specfs: specdev.h Log Message: specfs: Document sn_opencnt, sd_opencnt, sd_refcnt. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/miscfs/specf

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:36:34 UTC 2022 Modified Files: src/sys/miscfs/specfs: specdev.h Log Message: specfs: Document sn_opencnt, sd_opencnt, sd_refcnt. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/miscfs/specf

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:36:42 UTC 2022 Modified Files: src/sys/miscfs/specfs: spec_vnops.c specdev.h Log Message: specfs: Resolve a race between close and a failing reopen. To generate a diff of this commit: cvs rdiff -u -r1.200 -r1.20

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:36:42 UTC 2022 Modified Files: src/sys/miscfs/specfs: spec_vnops.c specdev.h Log Message: specfs: Resolve a race between close and a failing reopen. To generate a diff of this commit: cvs rdiff -u -r1.200 -r1.20

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:36:51 UTC 2022 Modified Files: src/sys/miscfs/specfs: spec_vnops.c specdev.h Log Message: specfs: Drain all I/O operations after last .d_close call. New kind of I/O reference on specdevs, sd_iocnt. This could be

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:36:51 UTC 2022 Modified Files: src/sys/miscfs/specfs: spec_vnops.c specdev.h Log Message: specfs: Drain all I/O operations after last .d_close call. New kind of I/O reference on specdevs, sd_iocnt. This could be

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:37:01 UTC 2022 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: specfs: Take an I/O reference in spec_node_setmountedfs. This is not quite correct. We _should_ require the caller to hold a vnode

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:37:01 UTC 2022 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: specfs: Take an I/O reference in spec_node_setmountedfs. This is not quite correct. We _should_ require the caller to hold a vnode

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:37:09 UTC 2022 Modified Files: src/sys/miscfs/specfs: spec_vnops.c specdev.h Log Message: specfs: Prevent new opens while close is waiting to drain. Otherwise, bdev/cdev_close could have cancelled all _existing_

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:37:09 UTC 2022 Modified Files: src/sys/miscfs/specfs: spec_vnops.c specdev.h Log Message: specfs: Prevent new opens while close is waiting to drain. Otherwise, bdev/cdev_close could have cancelled all _existing_

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:37:18 UTC 2022 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: specfs: Wait for last close in spec_node_revoke. Otherwise, revoke -- and vdevgone, in the detach path of removable devices -- may c

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 28 12:37:18 UTC 2022 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: specfs: Wait for last close in spec_node_revoke. Otherwise, revoke -- and vdevgone, in the detach path of removable devices -- may c

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 pe

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 pe

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 src/sys/misc

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 src/sys/misc

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 di

CVS commit: src/sys/miscfs/specfs

2022-03-28 Thread Taylor R Campbell
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 di

CVS commit: src/sys/miscfs/procfs

2024-01-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Jan 17 10:19:21 UTC 2024 Modified Files: src/sys/miscfs/procfs: procfs.h procfs_vfsops.c procfs_vnops.c Log Message: Add a hashmap to access all procfs nodes by pid. To generate a diff of this commit: cvs rdiff -u -r1.82 -r

CVS commit: src/sys/miscfs/procfs

2024-01-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Jan 17 10:19:21 UTC 2024 Modified Files: src/sys/miscfs/procfs: procfs.h procfs_vfsops.c procfs_vnops.c Log Message: Add a hashmap to access all procfs nodes by pid. To generate a diff of this commit: cvs rdiff -u -r1.82 -r

CVS commit: src/sys/miscfs/procfs

2024-01-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Jan 17 10:20:12 UTC 2024 Modified Files: src/sys/miscfs/procfs: procfs.h procfs_subr.c procfs_vfsops.c Log Message: Using the exechook to revoke procfs nodes is racy and may deadlock: one thread runs doexechooks() -> procfs_

CVS commit: src/sys/miscfs/procfs

2024-01-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Jan 17 10:20:12 UTC 2024 Modified Files: src/sys/miscfs/procfs: procfs.h procfs_subr.c procfs_vfsops.c Log Message: Using the exechook to revoke procfs nodes is racy and may deadlock: one thread runs doexechooks() -> procfs_

CVS commit: src/sys/miscfs/procfs

2024-01-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Jan 17 10:21:01 UTC 2024 Modified Files: src/sys/miscfs/procfs: procfs_vfsops.c Log Message: Remove all procfs nodes for this process on process exit. To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114 src/sys/

CVS commit: src/sys/miscfs/procfs

2024-01-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Jan 17 10:21:01 UTC 2024 Modified Files: src/sys/miscfs/procfs: procfs_vfsops.c Log Message: Remove all procfs nodes for this process on process exit. To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114 src/sys/

CVS commit: src/sys/miscfs/genfs

2023-04-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Apr 9 12:26:36 UTC 2023 Modified Files: src/sys/miscfs/genfs: genfs_io.c Log Message: genfs: KASSERT(A && B) -> KASSERT(A); KASSERT(B) To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/miscfs/genfs/

CVS commit: src/sys/miscfs/genfs

2023-04-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Apr 9 12:26:36 UTC 2023 Modified Files: src/sys/miscfs/genfs: genfs_io.c Log Message: genfs: KASSERT(A && B) -> KASSERT(A); KASSERT(B) To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/miscfs/genfs/

CVS commit: src/sys/miscfs/specfs

2023-04-22 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Apr 22 14:30:17 UTC 2023 Modified Files: src/sys/miscfs/specfs: spec_vnops.c specdev.h Log Message: Remove unused specdev member sd_rdev. Ride 10.99.4 To generate a diff of this commit: cvs rdiff -u -r1.216 -r1.217 src/sys

CVS commit: src/sys/miscfs/specfs

2023-04-22 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Apr 22 14:30:17 UTC 2023 Modified Files: src/sys/miscfs/specfs: spec_vnops.c specdev.h Log Message: Remove unused specdev member sd_rdev. Ride 10.99.4 To generate a diff of this commit: cvs rdiff -u -r1.216 -r1.217 src/sys

CVS commit: src/sys/miscfs/specfs

2023-04-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 22 15:32:49 UTC 2023 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: specfs: KNF. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218 src/sys/miscfs/specfs/

CVS commit: src/sys/miscfs/specfs

2023-04-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 22 15:32:49 UTC 2023 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log Message: specfs: KNF. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218 src/sys/miscfs/specfs/

CVS commit: src/sys/miscfs/nullfs

2023-02-06 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Feb 6 10:32:58 UTC 2023 Modified Files: src/sys/miscfs/nullfs: null_vfsops.c Log Message: Set IMNT_MPSAFE only if the lower layer has it set. To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 src/sys/miscfs/n

CVS commit: src/sys/miscfs/nullfs

2023-02-06 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Feb 6 10:32:58 UTC 2023 Modified Files: src/sys/miscfs/nullfs: null_vfsops.c Log Message: Set IMNT_MPSAFE only if the lower layer has it set. To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 src/sys/miscfs/n

CVS commit: src/sys/miscfs/genfs

2023-03-03 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Mar 3 10:02:51 UTC 2023 Modified Files: src/sys/miscfs/genfs: genfs_vnops.c Log Message: Fix genfs_can_chtimes() to also handle the condition: If the time pointer is null, then write permission on the file is also suffi

CVS commit: src/sys/miscfs/genfs

2023-03-03 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Mar 3 10:02:51 UTC 2023 Modified Files: src/sys/miscfs/genfs: genfs_vnops.c Log Message: Fix genfs_can_chtimes() to also handle the condition: If the time pointer is null, then write permission on the file is also suffi

CVS commit: src/sys/miscfs/procfs

2024-05-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun May 12 17:22:29 UTC 2024 Modified Files: src/sys/miscfs/procfs: procfs.h procfs_limit.c procfs_subr.c procfs_vfsops.c procfs_vnops.c Log Message: PR/58240: Ricardo Branco: Add support for proc/self/limits as used

CVS commit: src/sys/miscfs/procfs

2024-05-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun May 12 17:22:29 UTC 2024 Modified Files: src/sys/miscfs/procfs: procfs.h procfs_limit.c procfs_subr.c procfs_vfsops.c procfs_vnops.c Log Message: PR/58240: Ricardo Branco: Add support for proc/self/limits as used

CVS commit: src/sys/miscfs/procfs

2024-05-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun May 12 17:26:51 UTC 2024 Modified Files: src/sys/miscfs/procfs: procfs.h procfs_linux.c procfs_subr.c procfs_vfsops.c procfs_vnops.c Log Message: PR/58227: Ricardo Branco: Add support for proc/sysvipc in Linux em

CVS commit: src/sys/miscfs/procfs

2024-05-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun May 12 17:26:51 UTC 2024 Modified Files: src/sys/miscfs/procfs: procfs.h procfs_linux.c procfs_subr.c procfs_vfsops.c procfs_vnops.c Log Message: PR/58227: Ricardo Branco: Add support for proc/sysvipc in Linux em

CVS commit: src/sys/miscfs/procfs

2024-05-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 18 00:05:50 UTC 2024 Modified Files: src/sys/miscfs/procfs: procfs_cmdline.c Log Message: Remove unnecessary include of . To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/miscfs/procfs/procfs_cmdlin

CVS commit: src/sys/miscfs/procfs

2024-05-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 18 00:05:50 UTC 2024 Modified Files: src/sys/miscfs/procfs: procfs_cmdline.c Log Message: Remove unnecessary include of . To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/miscfs/procfs/procfs_cmdlin

CVS commit: src/sys/miscfs/procfs

2022-06-17 Thread Mateusz Kocielski
Module Name:src Committed By: shm Date: Fri Jun 17 14:30:37 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs_vnops.c Log Message: Add missing permission check To generate a diff of this commit: cvs rdiff -u -r1.228 -r1.229 src/sys/miscfs/procfs/procfs_vnops.c Plea

CVS commit: src/sys/miscfs/procfs

2022-06-17 Thread Mateusz Kocielski
Module Name:src Committed By: shm Date: Fri Jun 17 14:30:37 UTC 2022 Modified Files: src/sys/miscfs/procfs: procfs_vnops.c Log Message: Add missing permission check To generate a diff of this commit: cvs rdiff -u -r1.228 -r1.229 src/sys/miscfs/procfs/procfs_vnops.c Plea

CVS commit: src/sys/miscfs/overlay

2022-07-08 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Jul 8 07:43:48 UTC 2022 Modified Files: src/sys/miscfs/overlay: overlay_vfsops.c Log Message: Don't use LK_RETRY as we need an active vnode here. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/sys/miscfs

CVS commit: src/sys/miscfs/overlay

2022-07-08 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Jul 8 07:43:48 UTC 2022 Modified Files: src/sys/miscfs/overlay: overlay_vfsops.c Log Message: Don't use LK_RETRY as we need an active vnode here. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/sys/miscfs

  1   2   >