Accepting request 62403 from filesystems
Accepted submit request 62403 from user mszeredi OBS-URL: https://build.opensuse.org/request/show/62403 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fuse?expand=0&rev=37
This commit is contained in:
commit
07443e8016
16
fuse-fix-cleanup-in-case-of-failed-mount.patch
Normal file
16
fuse-fix-cleanup-in-case-of-failed-mount.patch
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
util/fusermount.c | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
Index: fuse-2.7.2/util/fusermount.c
|
||||
===================================================================
|
||||
--- fuse-2.7.2.orig/util/fusermount.c 2011-02-21 17:30:34.000000000 +0100
|
||||
+++ fuse-2.7.2/util/fusermount.c 2011-02-21 17:31:11.682067022 +0100
|
||||
@@ -770,7 +770,6 @@ static int mount_fuse(const char *mnt, c
|
||||
if (geteuid() == 0) {
|
||||
res = add_mount(source, mnt, type, mnt_opts);
|
||||
if (res == -1) {
|
||||
- umount2(mnt, 2); /* lazy umount */
|
||||
close(fd);
|
||||
return -1;
|
||||
}
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 17 17:51:15 CET 2011 - mszeredi@suse.cz
|
||||
|
||||
- In case of failure to add to /etc/mtab don't umount. [bnc#668820]
|
||||
[CVE-2011-0541]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 16 16:16:04 CET 2010 - mszeredi@suse.cz
|
||||
|
||||
|
14
fuse.spec
14
fuse.spec
@ -31,15 +31,18 @@ Source3: baselibs.conf
|
||||
Patch: fuse-install-fix.diff
|
||||
Patch2: fuse-pc-remove-libdir-from-Libs.diff
|
||||
Patch3: fuse-umount-race-fix.patch
|
||||
Patch4: fuse-fix-cleanup-in-case-of-failed-mount.patch
|
||||
Url: http://fuse.sourceforge.net
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} > 1130
|
||||
Requires: util-linux >= 2.18
|
||||
Requires: licenses
|
||||
BuildRequires: licenses pkg-config
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?suse_version} >= 1000
|
||||
Supplements: filesystem(fuse)
|
||||
%else
|
||||
Requires: util-linux(fake+no-canonicalize)
|
||||
%endif
|
||||
Requires: licenses
|
||||
BuildRequires: licenses pkgconfig
|
||||
%if 0%{?suse_version} >= 0 && 0%{?suse_version} >= 1000
|
||||
Supplements: filesystem(fuse)
|
||||
%endif
|
||||
PreReq: permissions
|
||||
|
||||
@ -225,6 +228,7 @@ Authors:
|
||||
%patch2
|
||||
%endif
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing"
|
||||
|
Loading…
Reference in New Issue
Block a user