CVS commit: src/sys/miscfs/kernfs
Module Name:src Committed By: dholland Date: Mon Jul 19 01:33:53 UTC 2021 Modified Files: src/sys/miscfs/kernfs: kernfs_vnops.c Log Message: Abolish all the silly indirection macros for initializing vnode ops tables. These are things of the form #define foofs_op genfs_op, or #define foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides obfuscation, and have gotten cutpasted all over everywhere. Part 3; cvs randomly didn't commit all the files the first time, still hunting down the files it skipped. To generate a diff of this commit: cvs rdiff -u -r1.171 -r1.172 src/sys/miscfs/kernfs/kernfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/miscfs/kernfs
Module Name:src Committed By: dholland Date: Tue Jul 6 03:23:03 UTC 2021 Modified Files: src/sys/miscfs/kernfs: kernfs_vnops.c Log Message: Fix perms on /kern/{r,}rootdev. To generate a diff of this commit: cvs rdiff -u -r1.169 -r1.170 src/sys/miscfs/kernfs/kernfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/miscfs/kernfs
Module Name:src Committed By: dholland Date: Tue Jul 6 03:22:44 UTC 2021 Modified Files: src/sys/miscfs/kernfs: kernfs_vnops.c Log Message: Add missing VOP_KQFILTER to kernfs. Not sure if lack of it can be used for local DoS or not, but best to fix. To generate a diff of this commit: cvs rdiff -u -r1.168 -r1.169 src/sys/miscfs/kernfs/kernfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/miscfs/kernfs
Module Name:src Committed By: jdolecek Date: Tue Apr 7 08:35:49 UTC 2020 Modified Files: src/sys/miscfs/kernfs: kernfs_vfsops.c Log Message: switch to kmem_zalloc() instead of malloc() for struct kernfs_mount To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/sys/miscfs/kernfs/kernfs_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/miscfs/kernfs
Module Name:src Committed By: ad Date: Mon Feb 24 20:44:25 UTC 2020 Modified Files: src/sys/miscfs/kernfs: kernfs_vnops.c Log Message: v_interlock -> vmobjlock To generate a diff of this commit: cvs rdiff -u -r1.163 -r1.164 src/sys/miscfs/kernfs/kernfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/miscfs/kernfs
Module Name:src Committed By: riastradh Date: Tue Feb 4 04:19:24 UTC 2020 Modified Files: src/sys/miscfs/kernfs: kernfs.h kernfs_vfsops.c kernfs_vnops.c Log Message: Use specfs vnops for specnodes in kernfs. While here, don't filter out rootdev and rrootdev merely because they're not cached. Fixes the elusive /kern/rootdev and /kern/rrootdev nodes, which only appeared sometimes when they felt like it, and fixes operations on /kern/rootdev and /kern/rrootdev always returning EOPNOTSUPP. We didn't seem to have a single PR for these issues but the following PRs are all relevant: PR bin/13564 PR kern/38265 PR kern/38778 PR kern/45974 XXX pullup-9, pullup-8, pullup-7, pullup-6, pullup-5, pullup-4, pullup-3, pullup-2, pullup-1.4T... To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/miscfs/kernfs/kernfs.h cvs rdiff -u -r1.97 -r1.98 src/sys/miscfs/kernfs/kernfs_vfsops.c cvs rdiff -u -r1.162 -r1.163 src/sys/miscfs/kernfs/kernfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/miscfs/kernfs
Module Name:src Committed By: hannken Date: Sun Jul 20 13:17:37 UTC 2014 Modified Files: src/sys/miscfs/kernfs: kernfs.h Log Message: Remove another KAME IPSEC residue, "struct secasvar" and "struct secpolicy". To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/miscfs/kernfs/kernfs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/miscfs/kernfs
Module Name:src Committed By: hannken Date: Thu Jul 17 08:21:34 UTC 2014 Modified Files: src/sys/miscfs/kernfs: kernfs.h kernfs_subr.c kernfs_vfsops.c kernfs_vnops.c Log Message: Finish KAME IPSEC removal: - Remove field kfs_value, it is always zero. Compute the hash from kt_tag. - Remove stray definitions kernfs_revoke_sa and kernfs_revoke_sp. While here, remove kfs_type from allocvp(), it is always kt->kt_tag. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/miscfs/kernfs/kernfs.h cvs rdiff -u -r1.27 -r1.28 src/sys/miscfs/kernfs/kernfs_subr.c cvs rdiff -u -r1.93 -r1.94 src/sys/miscfs/kernfs/kernfs_vfsops.c cvs rdiff -u -r1.151 -r1.152 src/sys/miscfs/kernfs/kernfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/miscfs/kernfs
Module Name:src Committed By: christos Date: Tue Apr 8 17:56:10 UTC 2014 Modified Files: src/sys/miscfs/kernfs: kernfs_subr.c kernfs_vnops.c Log Message: >From Ilya Zykov: Unbreak kernfs which was broken by this commit |Make the spec_node table implementation private to spec_vnops.c. |To retrieve a spec_node, two new lookup functions (by device or by mount) |are implemented. Both return a referenced vnode, for an opened block device |the opened vnode is returned so further diagnostic checks "vp == ... sd_bdevvp" |will not fire. Otherwise any vnode matching the criteria gets returned. |No objections on tech-kern. The effect was that ls /kernfs appeared empty in most cases. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/miscfs/kernfs/kernfs_subr.c cvs rdiff -u -r1.150 -r1.151 src/sys/miscfs/kernfs/kernfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/miscfs/kernfs
Module Name:src Committed By: christos Date: Tue Sep 27 01:23:05 UTC 2011 Modified Files: src/sys/miscfs/kernfs: kernfs.h kernfs_vfsops.c Log Message: define KERNFS_MAXNAMLEN and use it.` To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/miscfs/kernfs/kernfs.h cvs rdiff -u -r1.90 -r1.91 src/sys/miscfs/kernfs/kernfs_vfsops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/miscfs/kernfs
Module Name:src Committed By: pooka Date: Wed Mar 31 01:27:05 UTC 2010 Modified Files: src/sys/miscfs/kernfs: kernfs_vnops.c Log Message: If msgbuf is not enabled, do not report the node in readdir. That way ls -l won't report funny errors because getattr for a readdir result fails. XXX: lookup for msgbuf still succeeds even if not enabled To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141 src/sys/miscfs/kernfs/kernfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.