Re: [PATCH] security: new security_file_ioctl_compat() hook

From: Eric Biggers
Date: Sat Dec 23 2023 - 10:34:30 EST


On Fri, Dec 22, 2023 at 08:23:26PM -0500, Paul Moore wrote:
>
> Is it considered valid for a native 64-bit task to use 32-bit
> FS_IO32_XXX flags?

No, that's not valid.

> If not, do we want to remove the FS_IO32_XXX flag
> checks in selinux_file_ioctl()?

I don't see any such flag checks in selinux_file_ioctl().

Is there something else you have in mind?

- Eric