[PATCH openEuler-1.0-LTS 73/82] cap: fix conversions on getxattr