📄 changelog
字号:
2005-11-27 Miklos Szeredi <miklos@szeredi.hu> * Block TERM, INT, HUP and QUIT signals in all but the main thread. According to POSIX it's not specified which thread will receive these signals. * Kernel changes: * Check for directory aliasing on mkdir, not just on lookup * Check for special node ID values in create+open operation * Sync with -mm: readv, writev, aio_read and aio_write methods added to file operations * Cleanups: lookup code, page offset calculation * ABI stepped to 7.4, changes: * frsize member added to fuse_kstatfs structure * added support for negative entry caching: on lowlevel API if fuse_entry_param::ino is set to zero in reply to a lookup request, the kernel will cache the dentry for the specified amount of time. * libfuse: added 'negative_timeout' option: specifies how much negative entries should be cached. Default is zero, to be compatible with prior versions2005-11-22 Miklos Szeredi <miklos@szeredi.hu> * Add detection of mainline FUSE code in running kernel2005-11-21 Miklos Szeredi <miklos@szeredi.hu> * Don't use async cancelation in multithreaded loop. This makes it more portable to systems where read() is not async cancel safe. Report from Andriy Gapon2005-11-20 Miklos Szeredi <miklos@szeredi.hu> * Warn if API version 11 compatibility is requested2005-11-17 Miklos Szeredi <miklos@szeredi.hu> * More FreeBSD merge * fusermount: don't allow mountpoints with '\n', '\t', or '\\' in them, because it corrupts /etc/mtab. Found by Thomas Biege CVE-2005-3531 * libfuse: don't use system() to invoke 'fusermount -u ...' because it breaks mountpoints with spaces in them into multiple arguments2005-11-16 Miklos Szeredi <miklos@szeredi.hu> * Merge library part of FreeBSD port. Patch by Csaba Henk2005-11-11 Miklos Szeredi <miklos@szeredi.hu> * Use 64bit type for file handle, so the full range supported by the kernel interface is available to applications2005-11-10 Miklos Szeredi <miklos@szeredi.hu> * Moved mountpoint argument checking from fuse_parse_cmdline() to fuse_mount() in preparation to FreeBSD merge.2005-11-08 Miklos Szeredi <miklos@szeredi.hu> * Remove unneeded close() from fuse_teardown(). Spotted by Csaba Henk.2005-11-07 Miklos Szeredi <miklos@szeredi.hu> * Make the statfs change backwards compatible.2005-11-06 Miklos Szeredi <miklos@szeredi.hu> * Change ->statfs() method to use 'struct statvfs' instead of 'struct statfs'. This makes the API more portable since statvfs() is defined by POSIX.2005-10-28 Miklos Szeredi <miklos@szeredi.hu> * Add fgetattr() method, which currently will only be called after a successful call to a create() method.2005-10-26 Miklos Szeredi <miklos@szeredi.hu> * Change kernel ABI version to 7.3 * Add ACCESS operation. This is called from the access() system call if 'default_permissions' mount option is not given, and is not called on kernels 2.4.* * Add atomic CREATE+OPEN operation. This will only work with 2.6.15 (presumably) or later Linux kernels. * Add ftruncate() method. This will only work with 2.6.15 (presumably) or later Linux kernels. * Fix kernel module compile if kernel source and build directories differ. Report and initial patch by John Eastman2005-10-18 Miklos Szeredi <miklos@szeredi.hu> * lib: optimize buffer reallocation in fill_dir.2005-10-17 Miklos Szeredi <miklos@szeredi.hu> * Released 2.4.12005-10-14 Miklos Szeredi <miklos@szeredi.hu> * libfuse: add debug for write result (by Shaun Jackman) and warnings for too large read/write result2005-10-11 Miklos Szeredi <miklos@szeredi.hu> * Spelling fixes, thanks to Ioannis Barkas2005-10-10 Miklos Szeredi <miklos@szeredi.hu> * fuse_common.h: use extern "C". Thanks to Valient Gough for the patch2005-10-07 Miklos Szeredi <miklos@szeredi.hu> * highlevel-lib: init() and destroy() methods didn't have an initialized fuse_context. Bug reported by Tim Stoakes2005-10-04 Miklos Szeredi <miklos@szeredi.hu> * Released 2.4.02005-10-03 Miklos Szeredi <miklos@szeredi.hu> * Add documentation to fuse_lowlevel.h * API cleanups: * Remove definitions of unused FATTR_CTIME / FUSE_SET_ATTR_CTIME * Move fuse_mount() and fuse_unmount() to fuse_common.h * Change the return type of fuse_reply_none() from int to void.2005-09-30 Miklos Szeredi <miklos@szeredi.hu> * kernel: NFS exporting leaked dentries. Bug found and fixed by Akshat Aranya.2005-09-29 Miklos Szeredi <miklos@szeredi.hu> * fusermount: fix error message, when unable to open /dev/fuse. Report by Balázs Pozsár2005-09-28 Miklos Szeredi <miklos@szeredi.hu> * UClibc fixes from Christian Magnusson2005-09-27 Miklos Szeredi <miklos@szeredi.hu> * Added NAME="%k" to util/udev.rules. Fix by Mattias Wadman.2005-09-26 Miklos Szeredi <miklos@szeredi.hu> * Released 2.4.0-rc12005-09-26 Miklos Szeredi <miklos@szeredi.hu> * fusermount: allow user umount in the case when /etc/mtab is a symlink to /proc/mounts. Reported by Balázs Pozsár.2005-09-23 Miklos Szeredi <miklos@szeredi.hu> * Check for special node ID values in lookup and creation2005-09-22 Miklos Szeredi <miklos@szeredi.hu> * Slight optimization in returning EINVAL error in case of an open with O_DIRECT flag.2005-09-20 Miklos Szeredi <miklos@szeredi.hu> * Remove '--enable-auto-modprobe' configure flag. Module auto-loading is now handled by the kernel.2005-09-15 Miklos Szeredi <miklos@szeredi.hu> * Install UDEV rule file, so /dev/fuse is created with mode 0666. Help from Jens M. Noedler.2005-09-14 Miklos Szeredi <miklos@szeredi.hu> * Add memory cleanup on thread exit2005-09-13 Miklos Szeredi <miklos@szeredi.hu> * Set umask to zero in fusexmp and fusexmp_fh, so that files/directories are created with the requested mode.2005-09-12 Miklos Szeredi <miklos@szeredi.hu> * Don't ignore read error in multithreaded loop2005-09-08 Miklos Szeredi <miklos@szeredi.hu> * Released 2.4.0-pre22005-09-08 Miklos Szeredi <miklos@szeredi.hu> * Revert lock and access operations. Postpone these until 2.5.2005-09-02 Miklos Szeredi <miklos@szeredi.hu> * Fix compile warning on 2.6.13 and later * Fix compilation on old kernels2005-08-19 Miklos Szeredi <miklos@szeredi.hu> * lib: always refresh directory contents after rewinddir() to conform to SUS. Bug found by John Muir.2005-08-15 Miklos Szeredi <miklos@szeredi.hu> * Released 2.4.0-pre12005-08-14 Miklos Szeredi <miklos@szeredi.hu> * lib: cleaned up (or messed up, depending on your POV) the low level library API. Hopefully this is close to the final form.2005-08-05 Miklos Szeredi <miklos@szeredi.hu> * fusermount: don't allow empty mountpoint argument, which defeats automatic umounting in fuse_main(). Bugreport by Václav Jůza2005-08-03 Miklos Szeredi <miklos@szeredi.hu> * fix warnings in fuse.h and fuse_lowlevel.h if -Wshadow compiler option is used (Paul Alfille).2005-08-02 Miklos Szeredi <miklos@szeredi.hu> * highlevel-lib: added mount options "attr_timeout" and "entry_timeout". These options control the length of time file attributes and entries (names) are cached. Both default to 1.0 second. * kernel: correctly handle zero timeout for attributes and entries2005-08-01 Miklos Szeredi <miklos@szeredi.hu> * Added missing symbols to versionscript (Joshua J. Berry) * kernel: implement two flags, open can set: 'direct_io' and 'keep_cache'. These correspond exactly to mount options 'direct_io' and 'kernel_cache', but allow a per-open setting. * Move 'direct_io' and 'kernel_cache' mount option handling to userspace. For both mount options, if the option is given, then the respective open flag is set, otherwise the open flag is left unmodified (so the filesystem can set it). * lib (highlevel): make open method optional2005-07-28 Miklos Szeredi <miklos@szeredi.hu> * kernel: invalidate attributes for read/readdir/readlink operations * kernel: detect newer UML kernels2005-07-26 Miklos Szeredi <miklos@szeredi.hu> * Make the installation path of fuse.ko and mount.fuse configurable through INSTALL_MOD_PATH and MOUNT_FUSE_PATH environment variables. Requirement and help from Csaba Henk.2005-07-22 Miklos Szeredi <miklos@szeredi.hu> * Fix bug, that causes filesystem requests to hang when unique request counter becomes negative. This happens after 2,147,483,648 operations, so most people won't care. Thanks to Franco Broi for the report and testing.2005-07-21 Miklos Szeredi <miklos@szeredi.hu> * Don't change mtime/ctime/atime to local time on read/write. Bug reported by Ben Grimm * Install fuse_common.h and fuse_lowlevel.h. Report by Christian Magnusson * fusermount: use getopt_long() for option parsing. It allows the use of '--' to stop argument scanning, so fusermount can now operate on directories whose names begin with a '-'. Patch by Adam Connell2005-07-15 Miklos Szeredi <miklos@szeredi.hu> * fusermount: add '-v', '--version' and '--help' options * add inode based API2005-07-12 Miklos Szeredi <miklos@szeredi.hu> * lib: don't block signals in worker threads. Problem noticed by Usarin Heininga2005-07-07 Miklos Szeredi <miklos@szeredi.hu> * lib: don't allow both 'allow_other' and 'allow_root' options to be given2005-07-06 Miklos Szeredi <miklos@szeredi.hu> * fusermount: check if mountpoint is empty (only '.' and '..' for directories, and size = 0 for regular files). If "nonempty" option is given, omit this check. This is useful, so users don't accidentally hide data (e.g. from backup programs). Thanks to Frank van Maarseveen for pointing this out. * kernel: check if mandatory mount options ('fd', 'rootmode', 'user_id', 'group_id') are all given * lib: simplify 'readdir_ino' handling * lib: add mount options 'umask=M', 'uid=N', 'gid=N'2005-07-03 Miklos Szeredi <miklos@szeredi.hu> * kernel: clean up 'direct_io' code2005-06-28 Miklos Szeredi <miklos@szeredi.hu> * Add 'mount.fuse' written by Petr Klima * '/dev/fuse' is created by 'make install' if does not yet exist2005-06-20 Miklos Szeredi <miklos@szeredi.hu> * Fix UCLIBC compile error. Patch by Christian Magnusson2005-06-08 Miklos Szeredi <miklos@szeredi.hu> * Enable the auto-loading of the module via access to the corresponding device file. Patch by Takashi Iwai. * Allow mounting a regular file (over a regular file) for unprivleged users. * Do not create temporary device file. Require "/dev/fuse" to exist, and be readable/writable by the mounting user.2005-06-02 Miklos Szeredi <miklos@szeredi.hu> * Released 2.3.02005-06-02 Miklos Szeredi <miklos@szeredi.hu> * Fix serious information leak: if the filesystem returns a short byte count to a read request, and there are non-zero number of pages which are not filled at all, these pages will not be zeroed. Hence the user can read out previous memory contents. Found by Sven Tantau.2005-05-27 Miklos Szeredi <miklos@szeredi.hu> * Add "readdir_ino" mount option, which tries to fill in the d_ino field in struct dirent. This mount option is ignored if "use_ino" is used. It helps some programs (e.g. 'pwd' used over NFS from a non-Linux OS). Patch by David Shaw.2005-05-12 Miklos Szeredi <miklos@szeredi.hu> * Released 2.3-rc12005-05-12 Miklos Szeredi <miklos@szeredi.hu> * File save in krusader and other editors doesn't work with sshfs, because open() is interrupted by a periodic signal, and open() restarts forever, without any progress. This could just be fixed in open(), but the problem is more generic: if signals are received more often than the filesystem can get the request to userspace, it will never finish. This is probably only a theoretical problem, nevertheless I'm removing the possibility to interrupt requests with anything other than SIGKILL, even before being sent to userspace. Bugreport by Eduard Czimbalmos.2005-05-09 Miklos Szeredi <miklos@szeredi.hu> * libfuse: add "tree_lock" rwlock, that is locked for write in rename, unlink and rmdir, and locked for read in all other operations. This should fix the rename/release race reported by Valient Gough and others. The solution is very coarse, a finer grained locking scheme could be implemented, but it would be much more complex. Let's see whether this is good enough.2005-05-09 Miklos Szeredi <miklos@szeredi.hu> * Released 2.3-pre72005-05-08 Miklos Szeredi <miklos@szeredi.hu> * Better fix for out of order FORGET messages. Now the LOOKUP/FORGET messages are balanced exactly (one FORGET can balance many lookups), so the order no longer matters. This changes the kernel ABI slightly, but the library remains backward compatible.2005-05-06 Miklos Szeredi <miklos@szeredi.hu> * Fix abort for out of order FORGET messages. Again. Spotted by Franco Broi again. Sorry :)2005-04-29 Miklos Szeredi <miklos@szeredi.hu> * Released 2.3-pre62005-04-29 Miklos Szeredi <miklos@szeredi.hu> * Make fusermount work with fuse kernel modules not yet supporting the "group_id" option (added for the purpose of stricter permission checking).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -