aboutsummaryrefslogtreecommitdiff
path: root/lib/mount_util.c
Commit message (Collapse)AuthorAge
* Set IGNORE_MTAB when running under NetBSDGravatar Nikolaus Rath2016-12-23
| | | | | | | Apparently, NetBSD does not have /etc/mtab. Setting IGNORE_MTAB in this case makes the code a little nicer. See also https://github.com/libfuse/libfuse/pull/123
* Removed -o nonempty optionGravatar Nikolaus Rath2016-10-15
| | | | | This brings the default behavior in-line with that of the regular `mount` command.
* Extended per-file comments.Gravatar Nikolaus Rath2016-10-02
| | | | | This should make more clear what file contains code for what purpose.
* add error checking to setuid calls (#66)Gravatar Alex Richman2016-07-21
|
* libfuse: fix exec environment for mount and umountGravatar Miklos Szeredi2015-05-22
| | | | Found by Tavis Ormandy (CVE-2015-3202).
* Merge remote-tracking branch 'origin/fuse_2_9_bugfix'Gravatar Miklos Szeredi2013-08-26
|\
| * Add missing includesGravatar Daniel Thau2013-08-26
| | | | | | | | This allows compiling fuse with musl.
* | libfuse: remove "-D_FILE_OFFSET_BITS=64" from fuse.pcGravatar Miklos Szeredi2013-07-24
|/ | | | add AC_SYS_LARGEFILE to your configure.ac instead.
* Don't hide output of /bin/mountGravatar Miklos Szeredi2011-05-19
|
* Check the return value after an open syscallGravatar Laszlo Papp2011-03-30
|
* fusermount: only allow mount and umount if util-linux suppports ↵Gravatar Miklos Szeredi2011-01-31
| | | | | | | --no-canonicalize Remove "legacy" util-linux support as missing --no-canonicalize cannot be worked around in fuse.
* update umount procedureGravatar Miklos Szeredi2010-11-08
| | | | | | | | | | | | | If umount(8) supports --fake and --no-canonicalize (util-linux-ng version 2.18 or later), and umount(2) supports the UMOUNT_NOFOLLOW flag (linux kernel version 2.6.35 or later) then, "fusermount -u" will call the umount(2) system call and use "umount --fake ..." to update /etc/mtab Added --disable-legacy-umount option to configure. This disables the runtime checking of umount(8) version. When built with this option then "fusermount -u" will fail if umount(8) doesn't support the --fake and --no-canonicalize options.
* Open /dev/null for writeGravatar Miklos Szeredi2010-11-08
| | | | | Open /dev/null for write instead of read for redirecting stdout and stderr
* Fix check for read-only fs in mtab updateGravatar Miklos Szeredi2010-11-08
|
* Add NetBSD supportGravatar Miklos Szeredi2010-08-27
| | | | | | | | | | | | | | | | The bulk of it is just about adding ifdef __NetBSD__ where there is already an ifdef __FreeBSD__ Add a arch=netbsd to deal with NetBSD specifics. I suggests that arch=bsd could be renamed to arch=freebsd NetBSD specific linking with -lperfuse NetBSD patches to lib/mount.c. It turned to be less itrusive to patch mount;c than mount_bsd.c. I suggest mount_bsd.c could be renamed to mount_freebsd.c Patch from Emmanuel Dreyfus
* * Released 2.8.3Gravatar Miklos Szeredi2010-02-01
| | | | | | * 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
* * Fix race if two "fusermount -u" instances are run in parallel.Gravatar Miklos Szeredi2010-01-26
| | | | | | | Reported by Dan Rosenberg * Make sure that the path to be unmounted doesn't refer to a symlink
* * Use '--no-canonicalize' option of mount(8) (available inGravatar Miklos Szeredi2009-12-23
| | | | | | | | 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.
* Skip calling mount(8) if /etc/mtab doesn't exist...Gravatar Miklos Szeredi2008-07-10
|
* Fix missing <sys/param.h> include for PATH_MAXGravatar Miklos Szeredi2008-06-10
|
* Block SIGCHLD when executing mount and umountGravatar Miklos Szeredi2008-02-08
|
* change indentingGravatar Miklos Szeredi2007-12-12
|
* 'fusermount -u' did not umount the filesystem if /etc/mtab was a symlinkGravatar Miklos Szeredi2007-11-12
|
* Clarify licence version to be "LGPLv2" for the libraryGravatar Miklos Szeredi2007-10-16
|
* fixesGravatar Miklos Szeredi2007-08-08
|
* Don't call /bin/[u]mount if /etc/mtab is a symlinkGravatar Miklos Szeredi2007-07-25
|
* Add fs subtype support to libfuse and fusermountGravatar Miklos Szeredi2007-06-20
|
* fixGravatar Miklos Szeredi2007-05-03
|
* libfuse: call umount(8) directly...Gravatar Miklos Szeredi2007-04-27
|
* update copyright datesGravatar Miklos Szeredi2007-04-25
|
* *** empty log message ***Gravatar Miklos Szeredi2007-04-25