Systemd/src/libsystemd
Lennart Poettering f6dbcebdc2 sd-device: check netlink netns matches host netns before using monitor
Tracking down #15931 confused the hell out of me, since running homed in
gdb from the command line worked fine, but doing so as a service failed.
Let's make this more debuggable and check if we live in the host netns
when allocating a new udev monitor.

This is just debug stuff, so that if things don't work, a quick debug
run will reveal what is going on.

That said, while we are at it, also fix unexpected closing of passed in
fd when failing.
2020-05-29 15:28:10 +09:00
..
sd-bus sd-bus: internalize setting of bus is_system/is_user 2020-05-25 11:09:21 +02:00
sd-daemon Introduce sd_notify_barrier 2020-05-01 03:22:47 +05:30
sd-device sd-device: check netlink netns matches host netns before using monitor 2020-05-29 15:28:10 +09:00
sd-event sd-event: use _cleanup_ in one more place 2020-01-08 17:15:54 +01:00
sd-hwdb hwdb: optimize isatty()-per-line away 2020-04-13 11:27:35 +02:00
sd-id128 id128: move make_v4_uuid into id128-util.h to make it generally useful 2020-01-20 17:42:03 +01:00
sd-login sd-login: get rid of seat_can_multi_session() 2020-04-17 16:15:30 +02:00
sd-netlink networkd: clean up NETLINK_PKTINFO vs. SO_PASSCRED confusion 2020-05-27 22:40:56 +02:00
sd-network sd-network: Add support to retrive LPR servers 2020-04-22 14:49:52 +02:00
sd-path sd-path: drop "-dir" and "-path" suffixes from path enums 2020-05-28 23:54:35 +02:00
sd-resolve tree-wide: drop socket.h when socket-util.h is included 2019-11-04 00:30:32 +09:00
sd-utf8 tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
disable-mempool.c mempool: only enable mempool use when linked to libsystemd-shared.so 2018-10-11 11:10:37 +02:00
libsystemd.pc.in meson: define PROJECT_VERSION as the "bare" project version 2018-12-20 21:35:29 +01:00
libsystemd.sym libsystemd: properly export new sd_notify_barrier() API call 2020-05-28 23:38:21 +02:00
meson.build sd-netlink: save dynamic general netlink message type 2019-10-15 01:57:19 +09:00