cvs commit: VOP_ATTRIB ... and sysutils/fusefs-kmod

Attilio Rao attilio at freebsd.org
Tue Sep 2 09:19:54 UTC 2008


2008/9/2, Robert Watson <rwatson at freebsd.org>:
>
>  On Tue, 2 Sep 2008, Vladimir Grebenschikov wrote:
>
>
> > On Thu, 2008-08-28 at 15:23 +0000, Attilio Rao wrote:
> >
> > > attilio 2008-08-28 15:23:18 UTC
> > >
> >
> > This patch makes CURRENT with Gnome badly crash (just crash while starting
> Gnome).
> >
> > I've found that it is due to ABI change, and tried to rebuild fusefs-kmod
> - it just fails due to changed interface.
> >
> > Patch below fixes problem for me. (but I still does not completely sure
> about td = curthread)
> >
> > Please fix fusefs-kmod port also.
> >
> > Side question, is there any way to prevent loading of kmod's with broken
> ABI ?
> >
>
>  8-CURRENT kernels should reject old modules from loading unless
> __FreeBSD_version hasn't been bumped.  And indeed, it looks like this change
> did not come with a __FreeBSD_version bump, which it should have as a
> non-trivial change to the kernel KPI and KBI.

As this is not a sole change (and it is a part of a bigger plan) I
intended to do a __FreeBSD_version bump just once all the changes are
in place.
I came to this after past experience to do 1:1 modify for
__FreeBSD_version and KPI, which was adding too much overhead for what
it was needed.
If we still think a 1:1 __FreeBSD_version bumping is the right thing
to do, I can establish again this in new VFS commit though.

Thanks,
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein


More information about the cvs-src mailing list