]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: expose exec errors
authorKarel Zak <kzak@redhat.com>
Mon, 27 May 2024 12:04:31 +0000 (14:04 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 28 May 2024 08:14:38 +0000 (10:14 +0200)
commit172aeb36e9d98c235cf63ebd630c4c67ea43d26b
treee98e1f62d1b0b8961e7122add2e997a694a5cfce
parent55ca447a6a95226fd031a126fb48b01b3efd6284
libmount: expose exec errors

* Introduce special exit status 126 to inform about failed execl of
  the /sbin/[u]mount.<type> helpers.

* Introduce MNT_ERR_EXEC as an API return code to inform about failed
  execl() calls.

* Add mount and umount messages for failed execl() calls.

* Add EXIT STATUS section to umount man page.

Addresses: https://github.com/util-linux/util-linux/pull/3063
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context_mount.c
libmount/src/context_umount.c
libmount/src/libmount.h.in
sys-utils/mount.8.adoc
sys-utils/umount.8.adoc