[PATCH 0/2] Check for capng_*() retvals

Michal Privoznik mprivozn at redhat.com
Mon Sep 11 10:18:28 UTC 2023


There's a commit inside of (yet-unreleased) libcap-ng which marks some
functions as 'warned unused result'. Fedora rawhide already picked up
the commit, but since we are not checking for all retvals we got a build
failure on rawhide.

https://src.fedoraproject.org/rpms/libcap-ng/c/fed9b23c8d0020e07c937a3ac0d6dcc4534715fb?branch=rawhide

Green pipeline:

https://gitlab.com/MichalPrivoznik/libvirt/-/pipelines/999435445

Michal Prívozník (2):
  lxc_container: Check retval of capng_get_caps_process()
  virutil: Check retval of capng_apply()

 src/lxc/lxc_container.c | 8 +++++++-
 src/util/virutil.c      | 8 ++++++--
 2 files changed, 13 insertions(+), 3 deletions(-)

-- 
2.41.0



More information about the libvir-list mailing list