summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Guillem Jover [Fri, 16 Aug 2019 00:33:46 +0000 (02:33 +0200)]
[PATCH libaio 14/14] Fix io_pgetevents() syscall wrapper on 32-bit userland on 64-bit kernels
From
97daff5b92530896f9ea6e89ed2d1ec6df264944 Mon Sep 17 00:00:00 2001
Origin: vendor
Forwarded: not-needed
The kernel compat syscall in the kernel got introduced with a broken
layout, which requires a pointer to the actual sigset_t variable but
with the size of the running kernel, not the size of the compat code.
This means that when the wrapper sends the expected compat (32-bit)
pointer, the kernel reads a 64-bit pointer, eating with it also the
sigset size member. And then proceeds to fail the comparison of the
sigset_t size and returns EINVAL.
This really needs to be fixed in the kernel, as there's no apparent
user of the broken compat layout (from codesearch.debian.org, nor a
quick github.com search). But we have to workaround it in libaio so
that we can use kernels that have not yet been fixed.
We do that, by trying the non-broken layout (that would be used with
a 32-bit userland on a 32-bit kernel), and if that fails with -EINVAL
we retry with a structure padded to what the kernel expects.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0014-Fix-io_pgetevents-syscall-wrapper-on-32-bit-userland.patch
Guillem Jover [Sun, 12 Apr 2020 01:36:39 +0000 (03:36 +0200)]
[PATCH libaio 13/14] Add x32 support
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0013-Add-x32-support.patch
Nobuhiro Iwamatsu [Sun, 12 Apr 2020 01:30:41 +0000 (03:30 +0200)]
[PATCH libaio 12/14] Add SH support
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0012-Add-SH-support.patch
Guillem Jover [Wed, 14 Aug 2019 01:25:22 +0000 (03:25 +0200)]
[PATCH libaio 11/14] Add m68k support
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0011-Add-m68k-support.patch
Guillem Jover [Wed, 14 Aug 2019 01:22:10 +0000 (03:22 +0200)]
[PATCH libaio 10/14] Add PARISC support
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0010-Add-PARISC-support.patch
Guillem Jover [Wed, 14 Aug 2019 01:18:50 +0000 (03:18 +0200)]
[PATCH libaio 09/14] Fix and improve MIPS support
Fix structure padding for MIPS 64, add syscall definitions, and the
kernel R/W pointer.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0009-Fix-and-improve-MIPS-support.patch
Guillem Jover [Wed, 14 Aug 2019 01:30:09 +0000 (03:30 +0200)]
[PATCH libaio 08/14] harness: Add KERNEL_RW_POINTER for various 32-bit architectures
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0008-harness-Add-KERNEL_RW_POINTER-for-various-32-bit-arc.patch
Guillem Jover [Sun, 12 Apr 2020 01:44:43 +0000 (03:44 +0200)]
[PATCH libaio 07/14] syscall: Fix ia64 definitions to match exactly the kernel
Otherwise we get preprocessor warnings due to the redefinitions.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0007-syscall-Fix-ia64-definitions-to-match-exactly-the-ke.patch
Guillem Jover [Sun, 12 Apr 2020 01:39:47 +0000 (03:39 +0200)]
[PATCH libaio 06/14] syscall: Fix ARM definitions to match exactly the kernel
Otherwise we get preprocessor warnings due to the redefinitions.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0006-syscall-Fix-ARM-definitions-to-match-exactly-the-ker.patch
Guillem Jover [Tue, 2 Nov 2021 21:37:32 +0000 (22:37 +0100)]
[PATCH libaio 05/14] Use new symver function attribute to support LTO builds
From
3ec8be29fc945238788f1fc7f0d998b145a761c7 Mon Sep 17 00:00:00 2001
Origin: vendor
Forwarded: https://marc.info/?l=linux-aio&m=
164999309520544
The LTO support cannot work properly when there are versioned symbols
via asm statements, as those are not seen by the compiler. Use the new
function attributes if supported instead of the asm statements.
We need to move the SYMVER calls after the function definitions
otherwise it will reference symbols not yet seen.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0005-Use-new-symver-function-attribute-to-support-LTO-bui.patch
Guillem Jover [Tue, 2 Nov 2021 23:20:50 +0000 (00:20 +0100)]
[PATCH libaio 04/14] Move semicolon to SYMVER and DEFSYMVER call sites
From
fa00b019422170118b5b4086b84e2dfd1a50811e Mon Sep 17 00:00:00 2001
Origin: vendor
Forwarded: https://marc.info/?l=linux-aio&m=
164999309420541
These look like function macros, so let's unify their call sites to use
function syntax with a final semicolon.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0004-Move-semicolon-to-SYMVER-and-DEFSYMVER-call-sites.patch
Guillem Jover [Sun, 12 Apr 2020 02:01:27 +0000 (04:01 +0200)]
[PATCH libaio 03/14] build: Honor user build flags
CPPFLAGS, CFLAGS and LDFLAGS are user flags, which we need to preserve,
regardless of the user passing them over the environment or the
command-line. Any required flag that the build system needs, has to be
set in some other flag (which we will namespace with «MK_») so that the
build will use even if the user flags are passed, even though the user
should be able to override by appending after them. We pass CPPFLAGS to
any compilation command that missed them.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0003-build-Honor-user-build-flags.patch
Guillem Jover [Sun, 12 Apr 2020 01:58:12 +0000 (03:58 +0200)]
[PATCH libaio 02/14] build: Fix DESTDIR and pathname variables handling
The convention for DESTDIR is that it is only prefixed during the
install target. In this case we postpone that to the inner Makefile
so that it can be invoked directly while preserving the expected
semantics. We should also prefer the user specified pathname variables
if already set in any way, and do not need to pass them explicitly
to the sub-make.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0002-build-Fix-DESTDIR-and-pathname-variables-handling.patch
Guillem Jover [Sun, 10 Oct 2021 04:14:51 +0000 (06:14 +0200)]
[PATCH libaio 01/14] man: Fix typos
From
f95e1898b6efd3eaf50273bd1c5a8a40816b5160 Mon Sep 17 00:00:00 2001
Origin: vendor
Forwarded: https://marc.info/?l=linux-aio&m=
164999309220532
Warned-by: lintian
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0001-man-Fix-typos.patch
Guillem Jover [Wed, 18 Jan 2023 00:35:12 +0000 (00:35 +0000)]
libaio (0.3.113-4) unstable; urgency=medium
* Switch to Standards-Version 4.6.2 (no changes needed).
* Do not trim debian/changelog.
* Update debian/patches metadata.
[dgit import unpatched libaio 0.3.113-4]
Guillem Jover [Wed, 18 Jan 2023 00:35:12 +0000 (00:35 +0000)]
Import libaio_0.3.113-4.debian.tar.xz
[dgit import tarball libaio 0.3.113-4 libaio_0.3.113-4.debian.tar.xz]
Guillem Jover [Tue, 19 Apr 2022 01:22:49 +0000 (02:22 +0100)]
Import libaio_0.3.113.orig.tar.gz
[dgit import orig libaio_0.3.113.orig.tar.gz]