Re: [PATCH 2/2] libsepol: Remove assertion and comment from discard_tunables()

Stephen Smalley <[email protected]>
Newsgroups org.kernel.vger.selinux
Message-ID <CAEjxPJ74w9AbYe5DwwNcUuCZymi9Znw=1fVW=iampiv7Q0nzYg@mail.gmail.com>
On Thu, Aug 20, 2026 at 11:41 AM James Carter <[email protected]> wrote:
>
> Policy validation ensures that there is never a mixture of tunables
> and booleans in one expression, this means that the assertion in
> discard_tunables() is not needed.
>
> Remove the assertion and the comment (which is incorrect) above
> the assertion. Since the variable "tunables" was only used in the
> assertion, remove it as well.
>
> Signed-off-by: James Carter <[email protected]>

Acked-by: Stephen Smalley <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.