summaryrefslogtreecommitdiff
path: root/recipes/linux-uml/linux-uml-2.4.26/13-hostfs_access.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux-uml/linux-uml-2.4.26/13-hostfs_access.patch')
-rw-r--r--recipes/linux-uml/linux-uml-2.4.26/13-hostfs_access.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/linux-uml/linux-uml-2.4.26/13-hostfs_access.patch b/recipes/linux-uml/linux-uml-2.4.26/13-hostfs_access.patch
new file mode 100644
index 0000000000..914c5468f0
--- /dev/null
+++ b/recipes/linux-uml/linux-uml-2.4.26/13-hostfs_access.patch
@@ -0,0 +1,11 @@
+--- linux-2.4.26-umlhipac/arch/um/fs/hostfs/externfs.c.orig Tue May 18 00:10:42 2004
++++ linux-2.4.26-umlhipac/arch/um/fs/hostfs/externfs.c Thu May 20 21:12:54 2004
+@@ -961,7 +961,7 @@
+ if(name == NULL)
+ return(-ENOMEM);
+
+- err = (*ops->access_file)(name, r, w, x, current->fsuid, current->fsgid,
++ err = (*ops->access_file)(name, current->fsuid, current->fsgid, r, w, x,
+ mount);
+ kfree(name);
+