aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mount.c
AgeCommit message (Collapse)AuthorLines
2016-03-29Whitespace cleanup.Nikolaus Rath-7/+7
Applied (whitespace-cleanup) to each file. Having whitespace changes in the VCS is ugly, but it ensures that in the future committers can run this function to *avoid* commiting any whitespace.
2015-08-12libfuse: fix warning mount.c:receive_fd()Miklos Szeredi-1/+1
Reported by Albert Berger
2014-07-15fusermount, libfuse: send value as unsigned in "user_id=" and "group_id="Miklos Szeredi-1/+1
...options. Uids/gids larger than 2147483647 would result in EINVAL when mounting the filesystem. This also needs a fix in the kernel.
2013-07-26Print help on stdout instead of stderrMiklos Szeredi-1/+1
2013-06-21libfuse: set FD_CLOEXEC also when receiving device fd from fusermountMiklos Szeredi-0/+3
2013-06-20libfuse: fix multiple close of device fdMiklos Szeredi-7/+8
- fuse_kern_unmount closes handle (e.g. 19) - a thread in my process opens a file - the OS assigns newly freed handle (i.e. 19) - fuse_kern_chan_destroy closes the same handle (i.e. 19) - a thread in my process opens another file - the OS assigns newly freed handle (i.e. 19) - * MAYHEM * Reported by Dan Greenfield
2013-02-20libfuse: use O_CLOEXEC flag when opening /dev/fuse deviceRichard W.M. Jones-1/+7
2013-02-08libfuse: pass security context options to kernelDalvik Khertel-0/+4
Mount can be used with an "-o context=" option in order to specify a mountpoint-wide SELinux security context different from the default context provided by the active SELinux policy. This is useful in order to enable users to mount multiple sshfs targets under distinct contexts, which is my main motivation for getting this patch mainlined.
2012-07-19Remove compat functionsMiklos Szeredi-15/+0
2012-07-19Remove old symbol versionsMiklos Szeredi-3/+0
2012-07-04libfuse: mark some data constantMiklos Szeredi-1/+1
2011-08-31Don't ignore --disable-mtabMiklos Szeredi-0/+2
If configured with --disable-mtab then don't call mount(8) from libfuse to update the mtab. Reported by: James Sierp
2011-04-15libfuse: Added support for auto_unmount optionMax Krasnyansky-8/+27
This change adds support for "auto_unmount" option to libfuse. auto_umount option unmounts the fs automatically on application termination, whether normal or not (segfault, etc). When auto_unmount option is specified libfuse will alway use fusermount for mounting the fs. This change is selfcontained but for complete functionaly it requires auto_unmount support in fusermount tool.
2011-03-30Initialize the variable properly before passing to any functionLaszlo Papp-0/+1
2011-03-30Check the negative return value after an open syscallLaszlo Papp-2/+4
2010-09-28Fix option escaping for fusermount.Miklos Szeredi-1/+1
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
2010-08-27Add NetBSD supportMiklos Szeredi-0/+18
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
2010-01-26* Fix race if two "fusermount -u" instances are run in parallel.Miklos Szeredi-1/+1
Reported by Dan Rosenberg * Make sure that the path to be unmounted doesn't refer to a symlink
2008-06-09Fix mounting over symlinkMiklos Szeredi-1/+1
2008-04-08Update error message for missing mountpoint parameterMiklos Szeredi-2/+2
2008-03-25Fix memory leaks on mountMiklos Szeredi-0/+2
2008-02-08Add support for atomic open(O_TRUNC)Miklos Szeredi-43/+43
2007-12-12change indentingMiklos Szeredi-481/+485
2007-12-12Disable old symbol versions if __UCLIBC__ is definedMiklos Szeredi-2/+7
2007-10-16Clarify licence version to be "LGPLv2" for the libraryMiklos Szeredi-1/+1
2007-06-22lib: fix locking when loading a filesystem moduleMiklos Szeredi-5/+5
2007-06-20Add fs subtype support to libfuse and fusermountMiklos Szeredi-11/+90
2007-04-27libfuse: call umount(8) directly...Miklos Szeredi-0/+5
2007-04-25update copyright datesMiklos Szeredi-1/+1
2007-04-25*** empty log message ***Miklos Szeredi-53/+51
2007-04-05*** empty log message ***Miklos Szeredi-1/+5
2007-03-30Add support for direct mounting by libfuseMiklos Szeredi-27/+216
2007-01-19merge up to fuse_2_6_merge1Miklos Szeredi-1/+1
2006-12-04build fixesMiklos Szeredi-0/+1
2006-09-30bmap supportMiklos Szeredi-0/+2
2006-07-14fixMiklos Szeredi-2/+1
2006-05-08fixMiklos Szeredi-26/+25
2006-03-17fixMiklos Szeredi-25/+20
2006-03-16fixMiklos Szeredi-2/+11
2006-03-01pass device file descriptor to fuse_unmountCsaba Henk-1/+9
2006-02-20merge 2_5_bugfix branchMiklos Szeredi-1/+1
2006-01-20fixMiklos Szeredi-0/+1
2006-01-09fixMiklos Szeredi-0/+1
2006-01-07fixMiklos Szeredi-0/+41
2006-01-07fixMiklos Szeredi-0/+1
2006-01-06fixMiklos Szeredi-3/+87
2005-11-18fixMiklos Szeredi-5/+24
2005-11-10fixMiklos Szeredi-0/+5
2005-09-28fixMiklos Szeredi-1/+1
2005-08-03fixMiklos Szeredi-1/+1