History log of /netbsd-src/sys/miscfs/procfs/procfs_vfsops.c (Results 26 – 50 of 120)
Revision Date Author Comments
# 15de9b60 03-Nov-2016 pgoyette <pgoyette@NetBSD.org>

Module procfs needs ptrace_common for process_do{,fp}regs


# fcc99ce6 10-Nov-2014 maxv <maxv@NetBSD.org>

Do not uselessly include <sys/malloc.h>.


# 82ef6ef7 05-Sep-2014 matt <matt@NetBSD.org>

Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get
a correctly typed pointer.


# 0ae0e6c5 27-Jul-2014 hannken <hannken@NetBSD.org>

Change procfs from hashlist to vcache.
- Key is (type, pid, fd)
- Remove argument "p" from procfs_allocvp(). It is only used
when "type == PFSfd". Lookup the proc with proc_find() when
procfs_l

Change procfs from hashlist to vcache.
- Key is (type, pid, fd)
- Remove argument "p" from procfs_allocvp(). It is only used
when "type == PFSfd". Lookup the proc with proc_find() when
procfs_loadvnode() needs it.
- Use a vfs_vnode_iterator for procfs_revoke_vnodes().

show more ...


# 23f76b6d 16-Apr-2014 maxv <maxv@NetBSD.org>

An (un)privileged user can easily make the kernel dereference a NULL
pointer.

The kernel allows 'data' to be NULL; it's the fs's responsibility to
ensure that it isn't NULL (if the fs actually needs

An (un)privileged user can easily make the kernel dereference a NULL
pointer.

The kernel allows 'data' to be NULL; it's the fs's responsibility to
ensure that it isn't NULL (if the fs actually needs data).

ok christos@

show more ...


# 6d285189 23-Mar-2014 hannken <hannken@NetBSD.org>

Change all vfsops to use C99 designated initializers.

No functional changes intended.


# 4f6fb3bf 25-Feb-2014 pooka <pooka@NetBSD.org>

Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicat

Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.

show more ...


# 97834f7b 07-Feb-2014 hannken <hannken@NetBSD.org>

Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31


# f1d428af 30-Apr-2012 rmind <rmind@NetBSD.org>

- Replace some malloc(9) uses with kmem(9).
- G/C M_IPMOPTS, M_IPMADDR and M_BWMETER.


# 44905f12 27-Sep-2011 christos <christos@NetBSD.org>

define PROCFS_MAXNAMLEN and use it.


# 1643f3a7 30-Nov-2009 pooka <pooka@NetBSD.org>

Introduce genfs_statvfs() as pretty much a no-info statvfs and
convert several pseudo file systems to use it.


# 51f0d6a0 02-Oct-2009 elad <elad@NetBSD.org>

Put procfs policy back in the subsystem.


# b8817e4a 15-Mar-2009 cegger <cegger@NetBSD.org>

ansify function definitions


# 454af1c0 14-Mar-2009 dsl <dsl@NetBSD.org>

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

show more ...


# 28f5ebd8 28-Jun-2008 rumble <rumble@NetBSD.org>

Create sysctl entries during module initialisation and destroy them
appropriately.

Many of these file systems are now ready for modularisation.


# 2fd51303 13-May-2008 simonb <simonb@NetBSD.org>

mnt_data is a pointer, set it to NULL not 0 when we're finished with it.


# a1221b6d 10-May-2008 rumble <rumble@NetBSD.org>

Convert file systems to dynamically attach with the new module interface.
Make VFS hooks dynamic while we're here and say farewell to VFS_ATTACH and
VFS_HOOKS_ATTACH linksets.

As a consequence, most

Convert file systems to dynamically attach with the new module interface.
Make VFS hooks dynamic while we're here and say farewell to VFS_ATTACH and
VFS_HOOKS_ATTACH linksets.

As a consequence, most of the file systems can now be loaded as new style
modules.

Quick sanity check by ad@.

show more ...


# baa3395f 29-Apr-2008 ad <ad@NetBSD.org>

PR kern/38057 ffs makes assuptions about devvp file system
PR kern/33406 softdeps get stuck in endless loop

Introduce VFS_FSYNC() and call it when syncing a block device, if it
has a mounted file sy

PR kern/38057 ffs makes assuptions about devvp file system
PR kern/33406 softdeps get stuck in endless loop

Introduce VFS_FSYNC() and call it when syncing a block device, if it
has a mounted file system.

show more ...


# 717e1785 28-Jan-2008 dholland <dholland@NetBSD.org>

Fix some race conditions in rename.
Introduce a per-FS rename lock and new vfsops to manipulate it.
Get this lock while renaming. Also add another relookup() in do_sys_rename,
which is a hack to klud

Fix some race conditions in rename.
Introduce a per-FS rename lock and new vfsops to manipulate it.
Get this lock while renaming. Also add another relookup() in do_sys_rename,
which is a hack to kludge around some of the worst deficiencies of
ufs_rename.
reviewed-by: pooka (and an earlier rev by ad)
posted on tech-kern with no objections.

show more ...


# ea3f10f7 26-Dec-2007 ad <ad@NetBSD.org>

Merge more changes from vmlocking2, mainly:

- Locking improvements.
- Use pool_cache for more items.


# 61e8303e 26-Nov-2007 pooka <pooka@NetBSD.org>

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start. In case the calling lwp is desired, curlwp shoul

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start. In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

show more ...


# 8d1f8992 31-Jul-2007 pooka <pooka@NetBSD.org>

* nuke the nameidata parameter from VFS_MOUNT(). Nobody on tech-kern
knew what it was supposed to be used for and wrstuden gave a go-ahead
* while rototilling, convert file systems which went easi

* nuke the nameidata parameter from VFS_MOUNT(). Nobody on tech-kern
knew what it was supposed to be used for and wrstuden gave a go-ahead
* while rototilling, convert file systems which went easily to
use VFS_PROTOS() instead of manually prototyping the methods

show more ...


# d9970c80 26-Jul-2007 pooka <pooka@NetBSD.org>

Use eopnotsupp() instead of vfs_stdsuspendctl() and retire the latter.


# e24b0872 17-Jul-2007 pooka <pooka@NetBSD.org>

Make set_statvfs_info() take a parameter for the vfs name instead
of always retrieving it from mp->mnt_op->vfs_name

christos ok


# 2721ab6c 12-Jul-2007 dsl <dsl@NetBSD.org>

Change the VFS_MOUNT() interface so that the 'data' buffer passed to the
fs code is a kernel buffer, pass though the length of the buffer as well.
Since the length of the userspace buffer isn'it (yet

Change the VFS_MOUNT() interface so that the 'data' buffer passed to the
fs code is a kernel buffer, pass though the length of the buffer as well.
Since the length of the userspace buffer isn'it (yet) passed through the mount
system call, add a field to the vfsops structure containing the default length.
Split sys_mount() for calls from compat code.
Ride one of the recent kernel version changes - old fs LKMs will load, but
sys_mount() will reject any attempt to use them.

show more ...


12345