Displaying 5 results from an estimated 5 matches for "3fdb1d4".
2015 Mar 18
2
[PATCH] fuse: resolve absolute links to relative ones
First it strips /sysroot and then finds common prefix aligned
on slashes. Next it produces ../ for each slash found in common
prefix and concatenates them with the rest of resolved link.
Fixes RHBZ#604041
Maros Zatko (1):
fuse: resolve absolute links to relative ones
src/fuse.c | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
--
1.9.3
2015 Mar 18
0
[PATCH] fuse: resolve absolute links to relative ones
...aligned
on slashes. Next it produces ../ for each slash found in common
prefix and concatenates them with the rest of resolved link.
Fixes RHBZ#604041
---
src/fuse.c | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/src/fuse.c b/src/fuse.c
index 3fdb1d4..6c7eee1 100644
--- a/src/fuse.c
+++ b/src/fuse.c
@@ -386,7 +386,38 @@ mount_local_readlink (const char *path, char *buf, size_t size)
if (len > size - 1)
len = size - 1;
- memcpy (buf, r, len);
+ buf[0] = '\0';
+ size_t offset = 0;
+ if (STRPREFIX (r, "/sysroot")...
2015 Jul 02
0
[PATCH] Fix various -Wformat problems.
...d appliance %s is not owned by UID %d"),
- cachedir, uid);
+ error (g, _("security: cached appliance %s is not owned by UID %ju"),
+ cachedir, (uintmax_t) uid);
return -1;
}
if (!S_ISDIR (statbuf.st_mode)) {
diff --git a/src/fuse.c b/src/fuse.c
index 3fdb1d4..332c1be 100644
--- a/src/fuse.c
+++ b/src/fuse.c
@@ -345,8 +345,8 @@ mount_local_access (const char *path, int mask)
debug (g, "%s: "
"testing access mask%s%s%s%s: "
- "caller UID:GID = %d:%d, "
- "file UID:GID = %d:%d, "
+...
2015 Jul 02
0
[PATCH v2] Fix various -Wformat problems.
...d appliance %s is not owned by UID %d"),
- cachedir, uid);
+ error (g, _("security: cached appliance %s is not owned by UID %ju"),
+ cachedir, (uintmax_t) uid);
return -1;
}
if (!S_ISDIR (statbuf.st_mode)) {
diff --git a/src/fuse.c b/src/fuse.c
index 3fdb1d4..332c1be 100644
--- a/src/fuse.c
+++ b/src/fuse.c
@@ -345,8 +345,8 @@ mount_local_access (const char *path, int mask)
debug (g, "%s: "
"testing access mask%s%s%s%s: "
- "caller UID:GID = %d:%d, "
- "file UID:GID = %d:%d, "
+...
2015 Feb 14
2
[PATCH 0/2] Change guestfs__*
libguestfs has used double and triple underscores in identifiers.
These aren't valid for global names in C++.
(http://stackoverflow.com/a/228797)
These large but completely mechanical patches change the illegal
identifiers to legal ones.
Rich.