Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2023 08:00:02 -0700
From:      Rick Macklem <rick.macklem@gmail.com>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   RFC: MFC'ng a change to struct mount
Message-ID:  <CAM5tNy7SdXOF7DXGYVHLEUENQmjHf8FZQwRQ_dGVRr2Ki52KbA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

Since there seemed to be interest in it, I have MFC'd most of
the changes needed to run nfsd(8) in a vnet jail to stable/13.

However, there is one change that *might* affect the VFS KAPI.

I need to add a pointer called mnt_exjail to struct mount.

There is a field called mnt_pad0. It is 32bits, but is followed
by a field that is a structure.  As such, replacing it with the pointer
does not change the offsets of subsequent fields for amd64.
--> Since mnt_exjail is only used in generic code, this should
     not break the VFS KAPI for amd64, I think?
I will check i386, but since it will be replacing a 32bit field with a
32bit pointer, I suspect it will be ok.

Does anyone think some other architecture will be broken by this
or know an easy way I can check all arches?

Thanks for any input, rick



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