[Libguestfs] [libnbd PATCH v4 0/3] lib/utils: add async-signal-safe assert()

Laszlo Ersek lersek at redhat.com
Thu Mar 16 10:30:26 UTC 2023


On 3/15/23 12:01, Laszlo Ersek wrote:
> This is version 4 of the following sub-series:
> 
> [libnbd PATCH v3 06/29] lib/utils: introduce xwrite() as a more robust write()
> [libnbd PATCH v3 07/29] lib/utils: add async-signal-safe assert()
> [libnbd PATCH v3 08/29] lib/utils: add unit test for async-signal-safe assert()
> 
> http://mid.mail-archive.com/20230215141158.2426855-7-lersek@redhat.com
> http://mid.mail-archive.com/20230215141158.2426855-8-lersek@redhat.com
> http://mid.mail-archive.com/20230215141158.2426855-9-lersek@redhat.com
> 
> The Notes section on each patch records the updates for that patch.
> 
> Thanks for reviewing,
> Laszlo
> 
> Laszlo Ersek (3):
>   lib/utils: introduce xwritel() as a more robust and convenient write()
>   lib/utils: add async-signal-safe assert()
>   lib/utils: add unit test for async-signal-safe assert()
> 
>  .gitignore                   |   2 +
>  configure.ac                 |   5 +
>  lib/Makefile.am              |  38 +++++++-
>  lib/internal.h               |  13 +++
>  lib/test-fork-safe-assert.c  |  66 +++++++++++++
>  lib/test-fork-safe-assert.sh |  32 ++++++
>  lib/utils.c                  | 103 +++++++++++++++++++-
>  7 files changed, 251 insertions(+), 8 deletions(-)
>  create mode 100644 lib/test-fork-safe-assert.c
>  create mode 100755 lib/test-fork-safe-assert.sh
> 
> 
> base-commit: bbf47ffd4ac48706cbdac080ad36d1250aa1c57b

Series merged as commit range 48eca6a25468..c7d02b4b08ee.

Thanks!
Laszlo



More information about the Libguestfs mailing list