Message ID | 20220421081720.744534-2-omosnace@redhat.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Ondrej Mosnáček |
Headers | show |
Series | FIOQSIZE followup fixes | expand |
diff --git a/policy/test_ioctl_xperms.te b/policy/test_ioctl_xperms.te index 5f570c3..1071bb9 100644 --- a/policy/test_ioctl_xperms.te +++ b/policy/test_ioctl_xperms.te @@ -1,4 +1,5 @@ -define(`FIOQSIZE', `{ 0x00005460 }') +# include FIOQSIZE ioctl numbers through all arches +define(`FIOQSIZE', `{ 0x545E 0x5460 0x667f 0x6680 }') # Domain for process that is allowed the required ioctl xperms. type test_ioctl_xperm_t;
The FIOQSIZE ioctl numbers differ across arches. Add missing numbers to cover all arches currently supported by the Linux kernel. Fixes: b11701a55614 ("tests/ioctl: switch to FIOQSIZE") Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> --- policy/test_ioctl_xperms.te | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)