Hide Forgot
Description of problem: a. Calling cap_get_flag with CAP_AUDIT_READ results in EINVAL. b. Calling cap_to_text with cap_t that includes CAP_AUDIT_READ returns "= 37+ep" instead of the name. c. Calling cap_to_name with CAP_AUDIT_READ returns "37" instead of the name. Version-Release number of selected component (if applicable): 2.24-9.fc24 How reproducible: Always Steps to Reproduce: 1. Call cap_get_flag with CAP_AUDIT_READ 2. Observe EINVAL in errno 3. Actual results: returned -1, errno = EINVAL Expected results: returned 0 Additional info:
CAP_AUDIT_READ is available since kernel 3.16. Fedora 24 is currently on kernel 4.7.9
Fixed in 2.25-2.fc25.