diff options
Diffstat (limited to 'meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/020-undefined-chmod-fix.patch')
-rw-r--r-- | meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/020-undefined-chmod-fix.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/020-undefined-chmod-fix.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/020-undefined-chmod-fix.patch deleted file mode 100644 index fb51300895..0000000000 --- a/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/020-undefined-chmod-fix.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [other] | ||
2 | Upstream is not making further releases of this software. | ||
3 | |||
4 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
5 | |||
6 | # Fix a problem with chmod attributes when using no_squash_all | ||
7 | # Patch origin: Wind River | ||
8 | |||
9 | --- | ||
10 | setattr.c | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | --- a/setattr.c | ||
14 | +++ b/setattr.c | ||
15 | @@ -115,7 +115,7 @@ nfsstat setattr(char *path, sattr *attr, | ||
16 | } | ||
17 | } | ||
18 | |||
19 | - if (flags & SATTR_CHMOD) { | ||
20 | + if (flags & SATTR_CHMOD && attr->mode != -1) { | ||
21 | unsigned int mode = attr->mode; | ||
22 | |||
23 | /* If setuid is not allowed, silently squash them */ | ||