Esempio n. 1
0
static ssize_t vxfs_listxattr(vfs_handle_struct *handle, const char *path,
                              char *list, size_t size)
{
	ssize_t result;

	result = SMB_VFS_NEXT_LISTXATTR(handle, path, list, size);

	if (result <= 0) {
		return result;
	}

	/* Remove any XATTR_USER_NTACL elements from the returned list. */
	result = vxfs_filter_list(list, result);

        return result;
}
Esempio n. 2
0
static ssize_t skel_listxattr(vfs_handle_struct *handle, const char *path, char *list, size_t size)
{
        return SMB_VFS_NEXT_LISTXATTR(handle, path, list, size);
}
Esempio n. 3
0
static ssize_t cap_listxattr(vfs_handle_struct *handle, struct connection_struct *conn,const char *path, char *list, size_t size)
{
        pstring cappath;
	capencode(cappath, path);
        return SMB_VFS_NEXT_LISTXATTR(handle, conn, cappath, list, size);
}