From: "Kubaj, Piotr" <piotr.kubaj@intel.com>
To: "andrea.cervesato@suse.de" <andrea.cervesato@suse.de>,
"chrubis@suse.cz" <chrubis@suse.cz>
Cc: "ltp@lists.linux.it" <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH] lib: Check minimal supported kernel version
Date: Mon, 7 Sep 2026 08:32:49 +0000 [thread overview]
Message-ID: <1c65ce3e51948f19ff8eae28671d0961c0fcb0dd.camel@intel.com> (raw)
In-Reply-To: <apqNcb103ZVuzpIf@yuki.lan>
W dniu pią, 04.09.2026 o godzinie 11∶20 +0200, użytkownik Cyril Hrubis
napisał:
> Hi!
> > LTP does not support kernels older than 4.4, but this requirement
> > was
> > only documented in static text without automated runtime
> > validation.
> >
> > Define the minimal supported kernel version in tst_kvercmp.h so
> > that
> > the documentation fetches it dynamically and the core library
> > aborts
> > unsupported kernels with TCONF during test setup.
>
> Great idea, but I wouldn't tst_brk() on older kernels, I would just
> print a message that there may be failures becuase older kernels are
> not
> supported or tested.
>
> LTP has been historically used for many different purposes, e.g. for
> testing BSD compatibility layout for running Linux binaries and I
> fear
> that hard stop on older kernel versions would break these usecases.
>
> --
> Cyril Hrubis
> chrubis@suse.cz
Hi,
speaking with my pkubaj@FreeBSD.org hat on, see
https://cgit.freebsd.org/src/tree/sys/compat/linux/linux_mib.h
The current claimed compatibility level is Linux 5.15.0. Even if you
look at
https://cgit.freebsd.org/src/tree/sys/compat/linux/linux_mib.h?h=releng%2F14.4
(which is the oldest still-supported version), it's also 5.15.0.
I think NetBSD also has a Linux compatibility layer, but I'm not sure
how up-to-date it is.
---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.
Spolka oswiadcza, ze posiada status duzego przedsiebiorcy w rozumieniu ustawy z dnia 8 marca 2013 r. o przeciwdzialaniu nadmiernym opoznieniom w transakcjach handlowych.
Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2026-09-07 8:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-04 8:07 [LTP] [PATCH] lib: Check minimal supported kernel version Andrea Cervesato
2026-09-04 9:20 ` [LTP] " linuxtestproject.agent
2026-09-04 9:20 ` [LTP] [PATCH] " Cyril Hrubis
2026-09-04 9:25 ` Andrea Cervesato via ltp
2026-09-04 9:51 ` Petr Vorel
2026-09-07 8:32 ` Kubaj, Piotr [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=1c65ce3e51948f19ff8eae28671d0961c0fcb0dd.camel@intel.com \
--to=piotr.kubaj@intel.com \
--cc=andrea.cervesato@suse.de \
--cc=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/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.