> + const char *full_name = name - XATTR_SECURITY_PREFIX_LEN; Please add something like an xattr_full_name() helper to xattr.h that does this in one place and with proper documentation. Otherwise looks fine.