APPLIED[K/U]: [Kinetic][Unstable][PATCH] UBUNTU: SAUCE: uapi: Fixup strace compile error

Andrea Righi andrea.righi at canonical.com
Tue Oct 4 14:03:34 UTC 2022


On Wed, Sep 28, 2022 at 11:54:50AM +0100, Dimitri John Ledkov wrote:
> From: Guo Ren <guoren at linux.alibaba.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1990964
> 
> Export F_*64 definitions to userspace permanently. "ifndef" usage made it
> vailable at all times to the userspace, and this change has actually broken
> building strace with the latest kernel headers. There could be some debate
> whether having these F_*64 definitions exposed to the user space 64-bit
> applications, but it seems that were no harm (as they were exposed already
> for quite some time), and they are useful at least for strace for compat
> application tracing purposes.
> 
> Fixes: 306f7cc1e9061 "uapi: always define F_GETLK64/F_SETLK64/F_SETLKW64 in fcntl.h"
> Signed-off-by: Guo Ren <guoren at linux.alibaba.com>
> Signed-off-by: Guo Ren <guoren at kernel.org>
> Reported-by: Eugene Syromiatnikov <esyr at redhat.com>
> Acked-by: Palmer Dabbelt <palmer at rivosinc.com>
> Cc: Christoph Hellwig <hch at lst.de>
> Cc: Arnd Bergmann <arnd at arndb.de>
> Cc: Heiko Stuebner <heiko at sntech.de>
> Link: https://lore.kernel.org/lkml/20220804025448.1240780-1-guoren@kernel.org/raw
> Signed-off-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>
> ---

Makes sense to me. Applied to kinetic/linux and kinetic/linux-unstable.
Hope it'll become upstream at some point, so we can drop it as SAUCE.

-Andrea



More information about the kernel-team mailing list