Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2024 12:09:35 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Dag-Erling =?utf-8?B?U23DuHJncmF2?= <des@freebsd.org>
Cc:        Mark Millard <marklmi@yahoo.com>, Current FreeBSD <freebsd-current@freebsd.org>, dev-commits-src-main@freebsd.org
Subject:   Re: git: 2c1963d46335 - main - procfs rlimit: handle pipebuf  [and related] :pipebuf . . . Invalid argument
Message-ID:  <ZwJTz6OhoCaEWnnV@kib.kiev.ua>
In-Reply-To: <86r08tvcb0.fsf@ltc.des.dev>
References:  <34434D36-A751-477A-8596-72A564113FB8.ref@yahoo.com> <34434D36-A751-477A-8596-72A564113FB8@yahoo.com> <ZwIuobzcUZxm-H0y@kib.kiev.ua> <86r08tvcb0.fsf@ltc.des.dev>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 06, 2024 at 10:57:23AM +0200, Dag-Erling Smørgrav wrote:
> Konstantin Belousov <kostikbel@gmail.com> writes:
> > We do not provide forward compatibility between kernel and userspace.
> > User binaries must be newer than kernel.
> 
> Uh, no.  The opposite, in fact.

Right, it is opposite.  It was a typo.

Anyway, __FreeBSD_version is not about compatibility between specific
snapshot of kernel and user sources.  It de-facto provides two technical
measures:
1. kernel refuses to load modules built against headers set with higher
   __FreeBSD_version than kernel
2. Some values of __FreeBSD_version are used by userspace to
   detect if specific change is present in kernel.  See sys/param.h
   P_OSREL_ list.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZwJTz6OhoCaEWnnV>