From: Filippo Bonazzi <fbonazzi@suse.de>
To: Stephen Smalley <stephen.smalley.work@gmail.com>,
selinux@vger.kernel.org, selinux@suse.de
Subject: Re: Question about libselinux *_with_level functions
Date: Thu, 5 Nov 2026 15:45:15 +0100 [thread overview]
Message-ID: <auyV4UaYWjPiDZdD@suse.com> (raw)
In-Reply-To: <CAEjxPJ6ihzVO32+RAah_g9vo7vbFQTK5EGybgvJhow9u6tzMbg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1488 bytes --]
On 2026-11-05 09:25 (UTC -0500), Stephen Smalley wrote:
>On Thu, Nov 5, 2026 at 9:18 AM Stephen Smalley
><stephen.smalley.work@gmail.com> wrote:
>>
>> On Thu, Nov 5, 2026 at 6:03 AM Filippo Bonazzi <fbonazzi@suse.de> wrote:
>> >
>> > On 2026-05-27 13:46 (UTC -0400), Stephen Smalley wrote:
>> > >I believe this is a regression introduced by the deprecation/removal
>> > >of /sys/fs/selinux/user,
>> > >as used by security_compute_user(), which was formerly used by
>> > >get_ordered_context_list*().
>> >
>> > Hi,
>> >
>> > Just checking the state of this. Is this planned to be fixed at some point?
>>
>> Sorry I saw Petr's response in the GitHub issue and was then unclear
>> that there is anything to be fixed at the moment. Patches accepted if
>> there is in fact a real bug for a real user of this interface.
>
>Actually, on a re-read, I see that there is indeed a bug that likely
>has a relatively simple fix; is that something you want to create or
>should we?
Yes, I understood that the GH response was a red herring back then and I figured
this email thread was the right path. But then it kinda fell through the cracks.
I'd appreciate if you could come up with a fix, since I lack the historical
context to understand he regression and the deprecation of the previous
features you mentioned.
Thank you
Filippo
--
Filippo Bonazzi
Security Engineer suse.com
8257 4398 947A 2DBE F21D 76E6 937A 63F0 5B36 46D9
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 525 bytes --]
prev parent reply other threads:[~2026-11-05 14:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-12 18:10 Question about libselinux *_with_level functions Filippo Bonazzi
2026-05-27 17:46 ` Stephen Smalley
2026-11-05 11:03 ` Filippo Bonazzi
2026-11-05 14:18 ` Stephen Smalley
2026-11-05 14:25 ` Stephen Smalley
2026-11-05 14:45 ` Filippo Bonazzi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=auyV4UaYWjPiDZdD@suse.com \
--to=fbonazzi@suse.de \
--cc=selinux@suse.de \
--cc=selinux@vger.kernel.org \
--cc=stephen.smalley.work@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.