Running newer userspace with older kernel makes the test fail:
libsepol.avtab_write_item: policy version 28 does not support ioctl
extendedpermissions rules and one was specified
Add a check for max supported kernel policy and skip ioctl_xperms
on older kernels.
Running newer userspace with older kernel makes the test fail: libsepol.avtab_write_item: policy version 28 does not support ioctl extendedpermissions rules and one was specified
Add a check for max supported kernel policy and skip ioctl_xperms on older kernels.
Signed-off-by: Jan Stancek jstancek@redhat.com