aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fuse3/fix-realpath.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-09-04 14:44:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-09-04 15:28:09 +0000
commit3b0dc1771fa0307544da6a6804e63676cb4dc0f1 (patch)
tree5f16f561f5adc9ebb4a4f76d5969295022e145f0 /testing/fuse3/fix-realpath.patch
parente41e95a329ad2722fbb056aa2a0d00c7b3f31555 (diff)
downloadaports-3b0dc1771fa0307544da6a6804e63676cb4dc0f1.tar.bz2
aports-3b0dc1771fa0307544da6a6804e63676cb4dc0f1.tar.xz
main/fuse3: move from testing
Diffstat (limited to 'testing/fuse3/fix-realpath.patch')
-rw-r--r--testing/fuse3/fix-realpath.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/testing/fuse3/fix-realpath.patch b/testing/fuse3/fix-realpath.patch
deleted file mode 100644
index 375bedc961..0000000000
--- a/testing/fuse3/fix-realpath.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- fuse-3.1.0.orig/util/fusermount.c
-+++ fuse-3.1.0/util/fusermount.c
-@@ -1200,19 +1200,16 @@
-
- origmnt = argv[optind];
-
-- drop_privs();
- mnt = fuse_mnt_resolve_path(progname, origmnt);
-- if (mnt != NULL) {
-- res = chdir("/");
-- if (res == -1) {
-- fprintf(stderr, "%s: failed to chdir to '/'\n", progname);
-- goto err_out;
-- }
-- }
-- restore_privs();
- if (mnt == NULL)
- exit(1);
-
-+ res = chdir("/");
-+ if (res == -1) {
-+ fprintf(stderr, "%s: failed to chdir to '/'\n", progname);
-+ exit(1);
-+ }
-+
- umask(033);
- if (unmount)
- goto do_unmount;