/* No special permissions are needed to list attributes except for trusted.*  */
static int can_list(struct jfs_ea *ea)
/* No special permissions are needed to list attributes except for trusted.*  */
static int can_list(struct jfs_ea *ea)
{
	return (strncmp(ea->name, XATTR_TRUSTED_PREFIX,
			    XATTR_TRUSTED_PREFIX_LEN) ||
		capable(CAP_SYS_ADMIN));
}