Systemd/src/portable
Zbigniew Jędrzejewski-Szmek a5648b8094 basic/fs-util: change CHASE_OPEN flag into a separate output parameter
chase_symlinks() would return negative on error, and either a non-negative status
or a non-negative fd when CHASE_OPEN was given. This made the interface quite
complicated, because dependning on the flags used, we would get two different
"types" of return object. Coverity was always confused by this, and flagged
every use of chase_symlinks() without CHASE_OPEN as a resource leak (because it
would this that an fd is returned). This patch uses a saparate output parameter,
so there is no confusion.

(I think it is OK to have functions which return either an error or an fd. It's
only returning *either* an fd or a non-fd that is confusing.)
2019-10-24 22:44:24 +09:00
..
profile portable: add SystemCallFilter=@system-service to the three main portable service profiles 2018-06-14 17:44:20 +02:00
meson.build
org.freedesktop.portable1.conf portabled: fix dbus policy 2019-04-03 17:24:12 +02:00
org.freedesktop.portable1.policy portable: update polkit messages 2018-06-19 13:21:17 +09:00
org.freedesktop.portable1.service
portable.c portabled: allow to detach an image with a unit in linked-runtime state 2019-10-04 14:45:41 +01:00
portable.h portable: introduce portable_metadata_hash_ops and use it 2018-12-02 12:18:54 +01:00
portablectl.c basic/fs-util: change CHASE_OPEN flag into a separate output parameter 2019-10-24 22:44:24 +09:00
portabled-bus.c portabled: reorder methods in vtable 2019-04-03 17:24:12 +02:00
portabled-bus.h
portabled-image-bus.c portabled: fix method name 2019-04-03 17:24:12 +02:00
portabled-image-bus.h tree-wide: add multiple inclusion guard 2018-06-25 13:04:59 +09:00
portabled-image.c machine-image: introduce image_hash_ops and use it 2018-12-02 12:18:54 +01:00
portabled-image.h tree-wide: add multiple inclusion guard 2018-06-25 13:04:59 +09:00
portabled-operation.c
portabled-operation.h
portabled.c portabled: Make use of SYNTHETIC_ERRNO() 2019-07-04 19:45:23 +02:00
portabled.h