All of lore.kernel.org
 help / color / mirror / Atom feed
* Minimum kernel version for SELinux userspace
@ 2026-05-21 19:33 Stephen Smalley
  2026-05-26 13:34 ` Stephen Smalley
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Smalley @ 2026-05-21 19:33 UTC (permalink / raw)
  To: SElinux list
  Cc: Paul Moore, Ondrej Mosnacek, Petr Lautrbach, James Carter,
	Jason Zaman, Jeffrey Vander Stoep

There are newer kernel APIs we could leverage to further improve the
SELinux userspace, but doing so would require setting a minimum kernel
version for new SELinux userspace releases. Not sure we've done that
previously.

In particular, I'd like to be able to use some or all of the following:
open_tree() + move_mount(): v5.2
openat2(RESOLVE_*): v5.6
mount_setattr(): v5.12

The question is what if any of these can we assume to be the minimum
kernel version going forward?
- kernel.org LTS kernels span 5.10 through 6.18 currently.
- Android common kernels track LTS kernels.
- RHEL 9 kernel was 5.14-based.
- Ubuntu 22.04 kernel was 5.15-based.
- Debian 12 kernel was 6.1-based.

I would guess we could set the minimum kernel version to v5.12 and use
all of these interfaces, at least in code not used by Android.
Thoughts?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-05-28  6:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-21 19:33 Minimum kernel version for SELinux userspace Stephen Smalley
2026-05-26 13:34 ` Stephen Smalley
2026-05-26 14:52   ` Petr Lautrbach
2026-05-26 23:31     ` Thiébaud Weksteen
2026-05-27 19:47     ` Stephen Smalley
2026-05-28  1:28       ` Thiébaud Weksteen
2026-05-28  6:23       ` Petr Lautrbach

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.