On Wed, Jun 8, 2022 at 5:41 PM Eugene Syromiatnikov wrote:
>
> On Tue, Apr 05, 2022 at 03:12:56PM +0800, guo...@kernel.org wrote:
> > From: Christoph Hellwig
> >
> > Note that before this change they were never visible to userspace due
> > to the fact that CONFIG_64BIT is only set for kernel
On Tue, Apr 05, 2022 at 03:12:56PM +0800, guo...@kernel.org wrote:
> From: Christoph Hellwig
>
> Note that before this change they were never visible to userspace due
> to the fact that CONFIG_64BIT is only set for kernel builds.
> -#ifndef CONFIG_64BIT
> +#if __BITS_PER_LONG == 32 ||
From: Christoph Hellwig
The F_GETLK64/F_SETLK64/F_SETLKW64 fcntl opcodes are only implemented
for the 32-bit syscall APIs, but are also needed for compat handling
on 64-bit kernels.
Consolidate them in unistd.h instead of definining the internal compat
definitions in compat.h, which is rather