Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 47393 Details for
Bug 76438
sys-fs/fuse-1.4 needs unknown symbol vfs_permission with kernel 2.6.10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
fuse-1.4-kernel-2.6.10.patch
fuse-1.4-kernel-2.6.10.patch (text/plain), 1.03 KB, created by
Stefan Schweizer (RETIRED)
on 2005-01-02 12:12:23 UTC
(
hide
)
Description:
fuse-1.4-kernel-2.6.10.patch
Filename:
MIME Type:
Creator:
Stefan Schweizer (RETIRED)
Created:
2005-01-02 12:12:23 UTC
Size:
1.03 KB
patch
obsolete
>diff -pur fuse-1.4.orig/kernel/dir.c fuse-1.4/kernel/dir.c >--- fuse-1.4.orig/kernel/dir.c 2005-01-02 21:09:09.908015392 +0100 >+++ fuse-1.4/kernel/dir.c 2005-01-02 21:10:21.430142376 +0100 >@@ -417,7 +417,12 @@ static int _fuse_permission(struct inode > if(!(fc->flags & FUSE_ALLOW_OTHER) && current->fsuid != fc->uid) > return -EACCES; > else if(fc->flags & FUSE_DEFAULT_PERMISSIONS) { >- int err = vfs_permission(inode, mask); >+ int err; >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) >+ err = vfs_permission(inode, mask); >+#else >+ err = generic_permission(inode, mask, NULL); >+#endif > > /* If permission is denied, try to refresh file > attributes. This is also needed, because the root >@@ -426,7 +431,11 @@ static int _fuse_permission(struct inode > if(err == -EACCES) { > err = fuse_do_getattr(inode); > if(!err) >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) > err = vfs_permission(inode, mask); >+#else >+ err = generic_permission(inode, mask, NULL); >+#endif > } > > /* FIXME: Need some mechanism to revoke permissions:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 76438
: 47393