[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180905172858.pv2vafetjzzk5jxs@cs.cmu.edu>
Date: Wed, 5 Sep 2018 13:28:58 -0400
From: Jan Harkes <jaharkes@...cmu.edu>
To: Yann Droneaud <ydroneaud@...eya.com>
Cc: David Howells <dhowells@...hat.com>, linux-api@...r.kernel.org,
linux-kbuild@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 05/11] UAPI: coda: Don't use internal kernel structs in
UAPI
On Wed, Sep 05, 2018 at 07:12:37PM +0200, Yann Droneaud wrote:
> Le mercredi 05 septembre 2018 à 16:55 +0100, David Howells a écrit :
> > The size and layout of internal kernel structures may not be relied
> > upon outside of the kernel and may even change in a containerised
> > environment if a container image is frozen and shifted to another
> > machine.
> >
> > Excise these from Coda's upc_req struct.
...
>
> This structure should not have been exposed to userspace in the first
> place: it's unusable by userspace as it is. It was incorrect to have it
> outside of #ifdef __KERNEL__ before commit 607ca46e97a1b ...
...
> So the structure can be moved back to <linux/coda_psdev.h>.
I found a year old patch that clearly fell through the cracks that
fixes this exact thing.
https://lkml.org/lkml/2017/8/6/186
Jan
Powered by blists - more mailing lists