Miklos Szeredi [Wed, 31 Aug 2011 10:55:06 +0000 (12:55 +0200)]
Don't ignore --disable-mtab
If configured with --disable-mtab then don't call mount(8) from
libfuse to update the mtab.
Reported by: James Sierp
Miklos Szeredi [Mon, 31 Jan 2011 17:06:25 +0000 (18:06 +0100)]
Released 2.8.6
Miklos Szeredi [Mon, 31 Jan 2011 15:32:46 +0000 (16:32 +0100)]
Fix cleanup in case of failed mount
In case of failure to add to /etc/mtab use same mountpoint for cleanup
as for mounting. Reported by Marc Deslauriers
Miklos Szeredi [Mon, 31 Jan 2011 16:40:49 +0000 (17:40 +0100)]
Always call mount with --no-canonicalize option
Always call mount with --no-canonicalize option to prevent symlink
attacks on mount.
Miklos Szeredi [Mon, 31 Jan 2011 16:40:49 +0000 (17:40 +0100)]
Always call umount with --no-canonicalize --fake options
Always call umount with --no-canonicalize --fake options to prevent
symlink attacks at umount. util-linux >= 2.18 or a suitably patched
version is required.
Miklos Szeredi [Mon, 8 Nov 2010 14:47:36 +0000 (15:47 +0100)]
Open /dev/null for write
Open /dev/null for write instead of read for redirecting stdout and
stderr
Natanael Copa [Thu, 14 Oct 2010 08:36:26 +0000 (08:36 +0000)]
Use LTLIBICONV when linking libfuse
This fixes building against uclibc + libiconv.
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
mkmm@gmx-topmail.de [Tue, 5 Oct 2010 11:00:06 +0000 (13:00 +0200)]
add missing argument check in ulockmgr.c
Add missing argument check in ulockmgr.c to prevent calling
ulockmgr_server with illegal arguments. This would cause an ever growing
list of ulockmgr_server processes with an endless list of open files which
finally exceeds the open file handle limit.
It appears samba is sometimes calling flock with illegal / weired values.
Miklos Szeredi [Thu, 11 Nov 2010 15:18:01 +0000 (16:18 +0100)]
ChangeLog fix
Miklos Szeredi [Tue, 28 Sep 2010 18:04:02 +0000 (20:04 +0200)]
Fix ambiguous symbol version for fuse_chan_new
fuse_versionscript included fuse_chan_new in both FUSE_2.4 and
FUSE_2.6. Remove the FUSE_2.4, which is invalid.
Reported by Raymes Khoury, who discovered this with the gold linker
Miklos Szeredi [Tue, 28 Sep 2010 09:25:16 +0000 (11:25 +0200)]
actually change the versions
Miklos Szeredi [Tue, 28 Sep 2010 08:35:03 +0000 (10:35 +0200)]
Released 2.8.5
Released 2.8.5
Miklos Szeredi [Tue, 28 Sep 2010 08:13:24 +0000 (10:13 +0200)]
Fix option escaping for fusermount.
If the "fsname=" option contained a comma then the option parser in
fusermount was confused (Novell bugzilla #641480). Fix by escaping
commas when passing them over to fusermount.
Reported by Jan Engelhardt
Miklos Szeredi [Tue, 1 Jun 2010 09:45:52 +0000 (09:45 +0000)]
* Remove "chmod root" from install of fusermount
Miklos Szeredi [Mon, 26 Apr 2010 15:29:08 +0000 (15:29 +0000)]
* Fix checking for symlinks in umount from /tmp. Reported by Al
Viro
* Fix umounting if /tmp is a symlink. Reported by Franco Broi
Miklos Szeredi [Thu, 18 Feb 2010 14:13:10 +0000 (14:13 +0000)]
*** empty log message ***
Miklos Szeredi [Thu, 18 Feb 2010 14:07:09 +0000 (14:07 +0000)]
* Fix definition of FUSE_OPT_ENT for C++. Reported by Tim
Bruylants
Miklos Szeredi [Thu, 18 Feb 2010 11:05:13 +0000 (11:05 +0000)]
* Fix stack alignment for clone()
Miklos Szeredi [Mon, 1 Feb 2010 15:01:24 +0000 (15:01 +0000)]
add bug report credits
Miklos Szeredi [Mon, 1 Feb 2010 14:52:30 +0000 (14:52 +0000)]
* Released 2.8.3
* Using --no-canonicalize with umount(8) conflicts with the race
fix, sinceit assumes the supplied path is absolute, while the race
fix relies on the path being relative to the current directory
Miklos Szeredi [Tue, 26 Jan 2010 20:46:45 +0000 (20:46 +0000)]
* Released 2.8.2
Miklos Szeredi [Tue, 26 Jan 2010 18:20:13 +0000 (18:20 +0000)]
* Fix race if two "fusermount -u" instances are run in parallel.
Reported by Dan Rosenberg
* Make sure that the path to be unmounted doesn't refer to a
symlink
Miklos Szeredi [Thu, 14 Jan 2010 09:54:42 +0000 (09:54 +0000)]
* Fix compile error on FreeBSD. Patch by Jay Sullivan
Miklos Szeredi [Wed, 23 Dec 2009 12:51:40 +0000 (12:51 +0000)]
* Use '--no-canonicalize' option of mount(8) (available in
util-linux-ng version 2.17 or greater) to avoid calling
readling(2) on the newly mounted filesystem before the mount
procedure is finished. This has caused a deadlock if audit was
enabled in the kernel. Also use '--no-canonicalize' for umount to
avoid touching the mounted filesystem.
Miklos Szeredi [Mon, 2 Nov 2009 10:17:24 +0000 (10:17 +0000)]
Doc fix
Miklos Szeredi [Fri, 11 Sep 2009 10:48:52 +0000 (10:48 +0000)]
* Released 2.8.1
Miklos Szeredi [Tue, 25 Aug 2009 09:07:59 +0000 (09:07 +0000)]
Fix missing versioned symbol fuse_get_context@FUSE_2.2
Miklos Szeredi [Tue, 18 Aug 2009 16:13:33 +0000 (16:13 +0000)]
* Add missing fuse_session_data to versionscript
* Make sure all global symbols are prefixed with "fuse_" or "cuse_"
* Released 2.8.0
Miklos Szeredi [Thu, 16 Jul 2009 17:14:51 +0000 (17:14 +0000)]
* Add missing pthread link for libulockmgr. Patch by Petr Salinger
Miklos Szeredi [Thu, 16 Jul 2009 11:07:31 +0000 (11:07 +0000)]
* Clarify how the protocol version should be negotiated between
kernel and userspace. Notably libfuse didn't correctly handle the
case when the supported major versions didn't match
Miklos Szeredi [Mon, 6 Jul 2009 11:48:34 +0000 (11:48 +0000)]
* Released 2.8.0-pre3
Miklos Szeredi [Thu, 2 Jul 2009 12:52:27 +0000 (12:52 +0000)]
* fusermount: Do not silently ignore command line arguments.
Patch by Sebastian Harl
Miklos Szeredi [Thu, 2 Jul 2009 12:26:36 +0000 (12:26 +0000)]
* The context is extended with a 'umask' field. The umask is sent
for mknod, mkdir and create requests by linux kernel version
2.6.31 or later, otherwise the umask is set to zero. Also
introduce a new feature flag: FUSE_CAP_DONT_MASK. If the kernel
supports this feature, then this flag will be set in conn->capable
in the ->init() method. If the filesystem sets this flag in in
conn->want, then the create modes will not be masked.
* Add low level interfaces for lookup cache and attribute
invalidation. This feature is available in linux kernels 2.6.31
or later. Patch by John Muir
* Kernel interface version is now 7.12
Csaba Henk [Wed, 1 Jul 2009 21:57:33 +0000 (21:57 +0000)]
fix compiler warning
Miklos Szeredi [Fri, 19 Jun 2009 10:27:38 +0000 (10:27 +0000)]
Add fuse_getgroups (high level lib) and fuse_req_getgroups (low
level lib) functions to query the supplementary group IDs for the
current request. Currently this is implemented on Linux by
reading from the /proc filesystem.
Miklos Szeredi [Thu, 18 Jun 2009 11:29:14 +0000 (11:29 +0000)]
Add "noforget" option to high level lib.
Add "no_remote_lock" option to disable remote file locking
Miklos Szeredi [Thu, 18 Jun 2009 11:20:07 +0000 (11:20 +0000)]
*** empty log message ***
Miklos Szeredi [Thu, 18 Jun 2009 11:19:14 +0000 (11:19 +0000)]
CUSE patches from Tejun Heo (add new files)
Miklos Szeredi [Thu, 18 Jun 2009 11:11:54 +0000 (11:11 +0000)]
CUSE patches from Tejun Heo
Miklos Szeredi [Thu, 18 Jun 2009 09:26:22 +0000 (09:26 +0000)]
Add missing fuse_reply_bmap to versionscript. Debian Bug#531329. Reported by Goswin Brederlow
Miklos Szeredi [Wed, 27 May 2009 10:17:24 +0000 (10:17 +0000)]
Don't call forget_node() if the lookup was negative and write()
for the reply returned ENOENT. Reported by John Haxby
Miklos Szeredi [Mon, 25 May 2009 15:02:52 +0000 (15:02 +0000)]
Add FUSE_CAP_EXPORT_SUPPORT to fuse_common.h
Miklos Szeredi [Fri, 8 May 2009 12:04:50 +0000 (12:04 +0000)]
Fix 'make install-strip'. Reported by Dominick Layfield
Miklos Szeredi [Fri, 8 May 2009 11:49:38 +0000 (11:49 +0000)]
Fix missing newlines in some printfs
Miklos Szeredi [Fri, 6 Feb 2009 14:04:10 +0000 (14:04 +0000)]
documentation update
Miklos Szeredi [Mon, 5 Jan 2009 15:43:58 +0000 (15:43 +0000)]
Released 2.8.0-pre2
Miklos Szeredi [Mon, 8 Dec 2008 21:53:35 +0000 (21:53 +0000)]
* Add missing setattr flags to <fuse_lowlevel.h>.
* Only pass valid flags to ->setattr().
Miklos Szeredi [Mon, 8 Dec 2008 19:26:53 +0000 (19:26 +0000)]
* Implement poll support. Patch by Tejun Heo
Miklos Szeredi [Fri, 5 Dec 2008 10:55:36 +0000 (10:55 +0000)]
* Implement ioctl support. On high level interface only
"restricted" ioctls are supported (which are defined with the
_IO(), _IOR(), _IOW() or _IOWR() macros). Unrestricted ioctls
will only be allwed to CUSE (Character Device in Userspace)
servers. Patch by Tejun Heo
Miklos Szeredi [Fri, 28 Nov 2008 15:12:48 +0000 (15:12 +0000)]
If open sets fi->nonseekable, libfuse will tell the kernel that the file is not seekable. Patch by Tejun Heo
Miklos Szeredi [Thu, 27 Nov 2008 18:31:18 +0000 (18:31 +0000)]
lowlevel lib: fix deadlock if fuse_reply_* is called from theinterrupt handling function. Reported by Tero Marttila
Miklos Szeredi [Thu, 16 Oct 2008 19:11:28 +0000 (19:11 +0000)]
* Allow commas in options to be escaped with a backslash * Add new function: fuse_opt_add_opt_escaped() * Add missing fuse_reply_bmap() to the version script
Miklos Szeredi [Tue, 14 Oct 2008 14:37:48 +0000 (14:37 +0000)]
Pass current file flags to read and write operations
Miklos Szeredi [Thu, 21 Aug 2008 17:38:33 +0000 (17:38 +0000)]
API documentation update by Daniel Benamy
Miklos Szeredi [Thu, 24 Jul 2008 20:20:24 +0000 (20:20 +0000)]
Clean up debug output in highlevel lib
Miklos Szeredi [Fri, 18 Jul 2008 11:19:57 +0000 (11:19 +0000)]
doc updates from Nikolaus Rath
Miklos Szeredi [Thu, 10 Jul 2008 19:44:00 +0000 (19:44 +0000)]
Released 2.8.0-pre1
Miklos Szeredi [Thu, 10 Jul 2008 19:35:21 +0000 (19:35 +0000)]
Skip calling mount(8) if /etc/mtab doesn't exist...
Miklos Szeredi [Thu, 10 Jul 2008 19:30:43 +0000 (19:30 +0000)]
Fix handling of (no)suid and (no)dev options...
Miklos Szeredi [Wed, 9 Jul 2008 17:05:01 +0000 (17:05 +0000)]
API doc update by Nikolaus Rath
Miklos Szeredi [Mon, 16 Jun 2008 14:16:02 +0000 (14:16 +0000)]
Remove fuse kernel module sources
Miklos Szeredi [Tue, 10 Jun 2008 18:34:11 +0000 (18:34 +0000)]
Fix missing <sys/param.h> include for PATH_MAX
Miklos Szeredi [Tue, 10 Jun 2008 18:31:55 +0000 (18:31 +0000)]
Fix theoretical infinite loops in libfuse
Miklos Szeredi [Mon, 9 Jun 2008 10:52:50 +0000 (10:52 +0000)]
Don't allow bigger than 4kB writes by default...
Miklos Szeredi [Mon, 9 Jun 2008 10:21:28 +0000 (10:21 +0000)]
Fix mounting over symlink
Miklos Szeredi [Wed, 9 Apr 2008 13:23:36 +0000 (13:23 +0000)]
Update warning message for missing newline at end of fuse.conf
Miklos Szeredi [Tue, 8 Apr 2008 13:44:52 +0000 (13:44 +0000)]
Update error message for missing mountpoint parameter
Miklos Szeredi [Sun, 6 Apr 2008 19:17:23 +0000 (19:17 +0000)]
Highlevel lib: don't limit paths to 4095 characters
Miklos Szeredi [Tue, 25 Mar 2008 21:20:40 +0000 (21:20 +0000)]
Fix memory leaks on mount
Miklos Szeredi [Wed, 19 Mar 2008 10:26:00 +0000 (10:26 +0000)]
Fix missing pthread_mutex_destroy...
Miklos Szeredi [Fri, 7 Mar 2008 11:22:11 +0000 (11:22 +0000)]
Add queuing on contention to per-node lock algorithm...
Miklos Szeredi [Wed, 5 Mar 2008 13:03:59 +0000 (13:03 +0000)]
Make example/null work with -odirect_io
Miklos Szeredi [Wed, 20 Feb 2008 12:06:12 +0000 (12:06 +0000)]
update versions to 2.8.0-pre0
Miklos Szeredi [Fri, 8 Feb 2008 19:51:26 +0000 (19:51 +0000)]
Add per-node locking, instead of a global tree lock to protect the path from changing during operations
Miklos Szeredi [Fri, 8 Feb 2008 18:35:04 +0000 (18:35 +0000)]
If the "FUSE_THREAD_STACK" environment is set, initialize the stack size of threads by this value
Miklos Szeredi [Fri, 8 Feb 2008 18:25:19 +0000 (18:25 +0000)]
Support the st_blksize field in struct stat
Miklos Szeredi [Fri, 8 Feb 2008 17:46:57 +0000 (17:46 +0000)]
Add support for atomic open(O_TRUNC)
Miklos Szeredi [Fri, 8 Feb 2008 17:22:15 +0000 (17:22 +0000)]
Support receiving file handle from kernel in GETATTR request; Allow operations with a NULL path argument, if the filesystem supports it
Miklos Szeredi [Fri, 8 Feb 2008 11:41:41 +0000 (11:41 +0000)]
Update kernel interface to 7.9
Miklos Szeredi [Fri, 8 Feb 2008 11:26:15 +0000 (11:26 +0000)]
fusexmp_fh: avoid unnecessary seeking in readdir
Miklos Szeredi [Fri, 8 Feb 2008 10:45:06 +0000 (10:45 +0000)]
Block SIGCHLD when executing mount and umount
Csaba Henk [Tue, 5 Feb 2008 03:47:26 +0000 (03:47 +0000)]
lib/mount_bsd.c: fix typo
Csaba Henk [Tue, 5 Feb 2008 03:07:47 +0000 (03:07 +0000)]
lib/mount_bsd.c: add "-onosync_unmount" kernel option
Csaba Henk [Sun, 3 Feb 2008 22:29:09 +0000 (22:29 +0000)]
lib/mount_bsd.c: prettify option specifications
Csaba Henk [Sun, 3 Feb 2008 20:13:32 +0000 (20:13 +0000)]
lib/mount_bsd.c: get rid of all the hacks, we really need nothing just a forced unmount
Csaba Henk [Sun, 3 Feb 2008 15:00:22 +0000 (15:00 +0000)]
lib/mount_bsd.c: ditch the kvm(8) stuff and fix unmounting in a simple and sensible way
Csaba Henk [Sun, 3 Feb 2008 12:07:56 +0000 (12:07 +0000)]
lib/mount_bsd.c: string formatting fixes, exit if mounting has failed
Csaba Henk [Mon, 7 Jan 2008 11:18:33 +0000 (11:18 +0000)]
make makeconf.sh work under FreeBSD
Csaba Henk [Mon, 7 Jan 2008 10:54:24 +0000 (10:54 +0000)]
lib/mount_bsd.c: add support for the subtype option
Csaba Henk [Sun, 6 Jan 2008 15:34:10 +0000 (15:34 +0000)]
lib/mount_bsd.c: fix up/refine device closing vs. unmount
Csaba Henk [Thu, 3 Jan 2008 12:13:54 +0000 (12:13 +0000)]
lib/mount_bsd.c: Close device before unmount.
Cf. lib/mount.c rev. 1.43.
Csaba Henk [Thu, 3 Jan 2008 11:08:44 +0000 (11:08 +0000)]
lib/mount_bsd.c: fix some warnings
Miklos Szeredi [Sun, 23 Dec 2007 18:13:08 +0000 (18:13 +0000)]
Fix './configure --disable-static'
Miklos Szeredi [Mon, 17 Dec 2007 13:27:44 +0000 (13:27 +0000)]
Released 2.7.2
Miklos Szeredi [Wed, 12 Dec 2007 19:01:23 +0000 (19:01 +0000)]
fix
Miklos Szeredi [Wed, 12 Dec 2007 18:59:44 +0000 (18:59 +0000)]
Fix kernel module compile for 2.6.24
Miklos Szeredi [Wed, 12 Dec 2007 14:33:17 +0000 (14:33 +0000)]
Released 2.7.2
Miklos Szeredi [Wed, 12 Dec 2007 14:25:40 +0000 (14:25 +0000)]
change indenting
Miklos Szeredi [Wed, 12 Dec 2007 11:53:38 +0000 (11:53 +0000)]
Disable old symbol versions if __UCLIBC__ is defined
Miklos Szeredi [Mon, 12 Nov 2007 13:57:12 +0000 (13:57 +0000)]
'fusermount -u' did not umount the filesystem if /etc/mtab was a symlink