Restricted listxattr() to environments with extended attributes

PERMISSION_HANDLING_BRANCH
Jean-Pierre André 2011-02-08 11:45:54 +01:00
parent 9efb8b60a4
commit e7daa6c72f
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,8 @@ const int nf_ns_trusted_prefix_len = sizeof(nf_ns_trusted_prefix) - 1;
static const char nf_ns_alt_xattr_efsinfo[] = "user.ntfs.efsinfo";
#ifdef HAVE_SETXATTR
int ntfs_fuse_listxattr_common(ntfs_inode *ni, ntfs_attr_search_ctx *actx,
char *list, size_t size, BOOL prefixing)
{
@ -157,3 +159,5 @@ int ntfs_fuse_listxattr_common(ntfs_inode *ni, ntfs_attr_search_ctx *actx,
exit :
return (ret);
}
#endif /* HAVE_SETXATTR */