[PATCH] security: new security_file_ioctl_compat() hook

Eric Biggers ebiggers at kernel.org
Sat Dec 23 15:34:11 UTC 2023


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



More information about the Linux-security-module-archive mailing list