Re: [PATCH] The patch solves the type error of the parameter âoffâ in syscall mmap on the ARM64 platform.

From: Will Deacon
Date: Wed Apr 24 2019 - 09:50:22 EST


On Wed, Apr 24, 2019 at 09:31:28AM +0100, David Howells wrote:
> Will Deacon <will.deacon@xxxxxxx> wrote:
>
> > - unsigned long, fd, off_t, off)
> > + unsigned long, fd, off_t, pgoff)
> > {
> > + unsigned long off = pgoff;
> > +
>
> Would loff_t be better?

I don't think so, isn't that still signed? I also think it's the same
size as off_t on arm64 (long long vs long).

Will