Re: [PATCH v05 50/72] include/uapi/linux/fuse.h: use linux/types.h also in userspace
From: Mikko Rapeli
Date: Tue Aug 23 2016 - 03:40:18 EST
On Tue, Aug 23, 2016 at 09:16:22AM +0200, Miklos Szeredi wrote:
> On Mon, Aug 22, 2016 at 8:33 PM, Mikko Rapeli <mikko.rapeli@xxxxxx> wrote:
> > Kernel headers should not use stdint.h.
> >
>
> NACK.
>
> This header is used by more than one OS. Having a different version
> for different OS's makes no sense, hence the choice of stdint. We've
> been over this many times. I'll do a patch with a big fat warning at
> the top of this header so that people don't spend time doing this
> useless conversion over and over again.
Yes, saw this coming. drm developers have the same problem.
Is there some way to define which kernel uapi headers are allowed to use
stdint.h definitions in userspace and which not?
-Mikko