diff options
author | des <des@FreeBSD.org> | 2001-09-29 00:49:29 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-09-29 00:49:29 +0000 |
commit | cdfeaad3b9d9ff22a76f4bbdb0a100a49d3bf634 (patch) | |
tree | 068aa6c85b484499f71f97698d944600b9b9e7a2 /sys/fs/pseudofs/pseudofs.c | |
parent | 8ee76c0339260330346f9d720d3c9ef43ecf04de (diff) | |
download | FreeBSD-src-cdfeaad3b9d9ff22a76f4bbdb0a100a49d3bf634.zip FreeBSD-src-cdfeaad3b9d9ff22a76f4bbdb0a100a49d3bf634.tar.gz |
Pseudofs take 2:
- Remove hardcoded uid, gid, mode from struct pfs_node; make pfs_getattr()
smart enough to get it right most of the time, and allow for callbacks
to handle the remaining cases. Rework the definition macros to match.
- Add lots of (conditional) debugging output.
- Fix a long-standing bug inherited from procfs: don't pretend to be a
read-only file system. Instead, return EOPNOTSUPP for operations we
truly can't support and allow others to fail silently. In particular,
pfs_lookup() now treats CREATE as LOOKUP. This may need more work.
- In pfs_lookup(), if the parent node is process-dependent, check that
the process in question still exists.
- Implement pfs_open() - its only current function is to check that the
process opening the file can see the process it belongs to.
- Finish adding support for writeable nodes.
- Bump module version number.
- Introduce lots of new bugs.
Diffstat (limited to 'sys/fs/pseudofs/pseudofs.c')
-rw-r--r-- | sys/fs/pseudofs/pseudofs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/pseudofs/pseudofs.c b/sys/fs/pseudofs/pseudofs.c index 45117ac..97a269e 100644 --- a/sys/fs/pseudofs/pseudofs.c +++ b/sys/fs/pseudofs/pseudofs.c @@ -170,4 +170,4 @@ static moduledata_t pseudofs_data = { NULL }; DECLARE_MODULE(pseudofs, pseudofs_data, SI_SUB_EXEC, SI_ORDER_FIRST); -MODULE_VERSION(pseudofs, 1); +MODULE_VERSION(pseudofs, 2); |