[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72=y7gapKpVKFwu30jDpv4qswgo5K3+u5QMOY4dtacKX=Q@mail.gmail.com>
Date: Fri, 8 Jan 2021 16:25:41 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Preeti Nagar <pnagar@...eaurora.org>
Cc: Arnd Bergmann <arnd@...db.de>, jmorris@...ei.org, serge@...lyn.com,
paul@...l-moore.com, stephen.smalley.work@...il.com,
eparis@...isplace.org,
linux-security-module <linux-security-module@...r.kernel.org>,
selinux@...r.kernel.org, linux-arch <linux-arch@...r.kernel.org>,
psodagud@...eaurora.org, nmardana@...eaurora.org,
dsule@...eaurora.org, Joe Perches <joe@...ches.com>,
Miguel Ojeda <ojeda@...nel.org>,
Nick Desaulniers <ndesaulniers@...ogle.com>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [RFC PATCH v2] selinux: security: Move selinux_state to a
separate page
On Fri, Jan 8, 2021 at 10:52 AM Preeti Nagar <pnagar@...eaurora.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;
> +#else
> struct selinux_state selinux_state;
> +#endif
If you define an empty __rticdata for the !CONFIG case, then we don't
need #ifdefs for uses like this.
Cheers,
Miguel
Powered by blists - more mailing lists