The Samba-Bugzilla – Attachment 9364 Details for
Bug 10247
vfs_streams_xattr fails to list streams on FreeBSD server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible bug fix
xattr.patch (text/plain), 722 bytes, created by
Stefan Rompf
on 2013-11-04 11:00:57 UTC
(
hide
)
Description:
Possible bug fix
Filename:
MIME Type:
Creator:
Stefan Rompf
Created:
2013-11-04 11:00:57 UTC
Size:
722 bytes
patch
obsolete
>--- lib/replace/xattr.c.orig 2013-06-13 11:21:02.000000000 +0200 >+++ lib/replace/xattr.c 2013-11-04 00:31:14.238191226 +0100 >@@ -215,8 +215,15 @@ static ssize_t bsd_attr_list (int type, > return -1; > } > /* Some error happend. Errno should be set by the previous call */ >- if(list_size < 0) >+ if(list_size < 0) { >+ /* FreeBSD allows only root user to list system namespace. >+ Ignore permission denied in this case. If error >+ happens on user namespace too, the file might be >+ unreadable for the caller and we return the error */ >+ if (extattr[t].space == EXTATTR_NAMESPACE_SYSTEM && errno == EPERM) >+ continue; > return -1; >+ } > /* No attributes */ > if(list_size == 0) > continue;
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 10247
: 9364 |
9410
|
9438