#
80ecd573 |
| 16-Apr-2003 |
christos <christos@NetBSD.org> |
PR/1796: John Kohl: statfs misbehaves under chrooted environments.
- Under chroot it displays only the visible filesystems with appropriate paths. - The statfs f_mntonname gets adjusted to contain t
PR/1796: John Kohl: statfs misbehaves under chrooted environments.
- Under chroot it displays only the visible filesystems with appropriate paths. - The statfs f_mntonname gets adjusted to contain the real path from root. - While was there, fixed a bug in ext2fs, locking problems with vfs_getfsstat(), and factored out some of the vfsop statfs() code to copy_statfs_info(). This fixes the problem where some filesystems forgot to set fsid. - Made coda look more like a normal fs.
show more ...
|
#
dbe6c38b |
| 03-Jan-2003 |
christos <christos@NetBSD.org> |
Implement /proc/<pid>/fd/<n>. This is work in progress. Questionable things: - Is it ok to convert DTYPE_PIPE to VFIFO and DTYPE_SOCKET to VSOCK? - XXX: Avoid locking issue in ls -Rl /proc by
Implement /proc/<pid>/fd/<n>. This is work in progress. Questionable things: - Is it ok to convert DTYPE_PIPE to VFIFO and DTYPE_SOCKET to VSOCK? - XXX: Avoid locking issue in ls -Rl /proc by avoiding curproc - Does I/O to pipes work? - XXX: Are there security implications?
show more ...
|
#
6868d0a7 |
| 21-Sep-2002 |
christos <christos@NetBSD.org> |
MNT_GETARGS support
|
#
178d83d5 |
| 30-Jul-2002 |
soren <soren@NetBSD.org> |
Die, qaddr_t, die! - mnt_data in struct mount is already effectively a void *, so stop pretending otherwise.
|
#
e4b00f43 |
| 10-Nov-2001 |
lukem <lukem@NetBSD.org> |
add RCSIDs
|
#
adf5d360 |
| 15-Sep-2001 |
chs <chs@NetBSD.org> |
add a new VFS op, vfs_reinit, which is called when desiredvnodes is adjusted via sysctl. file systems that have hash tables which are sized based on the value of this variable now resize those hash
add a new VFS op, vfs_reinit, which is called when desiredvnodes is adjusted via sysctl. file systems that have hash tables which are sized based on the value of this variable now resize those hash tables using the new value. the max number of FFS softdeps is also recalculated.
convert various file systems to use the <sys/queue.h> macros for their hash tables.
show more ...
|
#
67afbd62 |
| 30-May-2001 |
mrg <mrg@NetBSD.org> |
use _KERNEL_OPT
|
#
555bbcc0 |
| 25-Jan-2001 |
jdolecek <jdolecek@NetBSD.org> |
g/c pmnt_mp in struct procfs_args
|
#
d9466585 |
| 22-Jan-2001 |
jdolecek <jdolecek@NetBSD.org> |
make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const
|
#
4e000b75 |
| 17-Jan-2001 |
fvdl <fvdl@NetBSD.org> |
Add a few linux-style files, only enabled when -o linux is specified for the mount. Currently these are /proc/cpuinfo and /proc/meminfo. The former only does something on i386 right now.
|
#
20515f28 |
| 28-Jun-2000 |
mrg <mrg@NetBSD.org> |
<vm/vm.h> -> <uvm/uvm_extern.h>
|
#
6c734cd2 |
| 10-Jun-2000 |
assar <assar@NetBSD.org> |
make vfs_getnewfsid only take one argument and fetch the name of the filesystem from the supplied mount argument. also make makefstype take a const parameter. update all the callers.
|
#
89015c46 |
| 16-Mar-2000 |
jdolecek <jdolecek@NetBSD.org> |
Add new VFS op routine - vfs_done and call it on filesystem detach in vfs_detach(). vfs_done may free global filesystem's resources, typically those allocated in respective filesystem's init function
Add new VFS op routine - vfs_done and call it on filesystem detach in vfs_detach(). vfs_done may free global filesystem's resources, typically those allocated in respective filesystem's init function. Needed so those filesystems which went in via LKM have a chance to clean after themselves before unloading. This fixes random panics when LKM for filesystem using pools was loaded and unloaded several times.
For each leaf filesystem, add appropriate vfs_done routine.
show more ...
|
#
15bb1bd1 |
| 25-Jan-2000 |
fvdl <fvdl@NetBSD.org> |
At mount/unmount time, add an exec hook to revoke all vnodes iff the process is about to exec a sugid binary.
To speed up things, use hashing for vnode allocation, like other filesystems do. This av
At mount/unmount time, add an exec hook to revoke all vnodes iff the process is about to exec a sugid binary.
To speed up things, use hashing for vnode allocation, like other filesystems do. This avoids walking the whole procfs node list in the revoke case too.
show more ...
|
#
862a56e8 |
| 26-Feb-1999 |
wrstuden <wrstuden@NetBSD.org> |
Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now only handles the file handle to vnode conversion, and a new call, vfs_checkexp(), performs the export verification.
|
#
4522c799 |
| 09-Aug-1998 |
perry <perry@NetBSD.org> |
bzero->memset, bcopy->memcpy, bcmp->memcmp
|
#
d275e56d |
| 05-Jul-1998 |
jonathan <jonathan@NetBSD.org> |
* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID. TODO: revisit interaction between native compat and emul compat usage.
|
#
e5bc90f4 |
| 01-Mar-1998 |
fvdl <fvdl@NetBSD.org> |
Merge with Lite2 + local changes
|
#
b5bf2ed6 |
| 18-Feb-1998 |
thorpej <thorpej@NetBSD.org> |
Place a pointer to an array of our vnodeopv_desc *'s in our vfsops structure, for use by vfs_attach().
|
#
90688fce |
| 22-Dec-1996 |
cgd <cgd@NetBSD.org> |
Change the second and third args to struct vfsops' (*vfs_mount)() to 'const char *', and 'void *', respectively. The second arg is taken directly from user arguments, and is const there, so must be
Change the second and third args to struct vfsops' (*vfs_mount)() to 'const char *', and 'void *', respectively. The second arg is taken directly from user arguments, and is const there, so must be const in the prototypes and functions. The third arg is also taken directly from user arguments. It doesn't have to be changed, but since it's cleaner to keep the type the same as the user arg's type, and I'm already making the 'const char *' change...
show more ...
|
#
631ccba6 |
| 09-Feb-1996 |
christos <christos@NetBSD.org> |
miscfs prototype changes
|
#
8f62c773 |
| 18-Jun-1995 |
cgd <cgd@NetBSD.org> |
don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN
|
#
2f805fa5 |
| 09-Mar-1995 |
mycroft <mycroft@NetBSD.org> |
copy*str() should use size_t.
|
#
e9017fd1 |
| 18-Jan-1995 |
mycroft <mycroft@NetBSD.org> |
Clean up the code to frob mnt_stat a (tiny) bit.
|
#
814ba0fc |
| 15-Dec-1994 |
mycroft <mycroft@NetBSD.org> |
Call foo_statfs() from a common place when mounting.
|