Re: [PATCH v2] libsepol: log an error if we hit the max depth for __evaluate_classperms_list()

Stephen Smalley <[email protected]>
Newsgroups org.kernel.vger.selinux
Message-ID <CAEjxPJ4ji5m7vZBUJMrV-kNX6NQZtiu2NXiXFkYW5SvYNxc56g@mail.gmail.com>
On Tue, Aug 4, 2026 at 10:36 AM James Carter <[email protected]> wrote:
>
> On Mon, Aug 3, 2026 at 4:10 PM Stephen Smalley
> <[email protected]> wrote:
> >
> > Add a cil_log() statement so that we do not fail silently if we hit
> > the max depth. While we are here, introduce a #define for the max
> > depth and use it, and fix the comparison so that we fail immediately
> > when the depth has already reached the limit.
> >
> > Signed-off-by: Stephen Smalley <[email protected]>
>
> Acked-by: James Carter <[email protected]>

Merged.
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.