Use helper for getxattr
Share lisxattr() implementation
Factor out argument processing
Use offsets for high-level readdir
Use offsets for low-level readdir