[RFC PATCH v2] selinux: security: Move selinux_state to a separate page
miguel.ojeda.sandonis at gmail.com
Fri Jan 8 15:25:41 UTC 2021
On Fri, Jan 8, 2021 at 10:52 AM Preeti Nagar <pnagar at codeaurora.org> wrote:
> We want to seek your suggestions and comments on the idea and the changes
> in the patch.
Not sure why I was Cc'd, but I have a quick comment nevertheless.
> +#ifdef CONFIG_SECURITY_RTIC
> +struct selinux_state selinux_state __rticdata;
> struct selinux_state selinux_state;
If you define an empty __rticdata for the !CONFIG case, then we don't
need #ifdefs for uses like this.
More information about the Linux-security-module-archive