Files
systemd/src
Lennart Poettering b219dcd45a varlink: add varlink_peek_dup_fd() helper
This new call is like varlink_peek_fd() (i.e. gets an fd out of the
connection but leaving it also in there), and combines ith with
F_DUPFD_CLOEXEC to make a copy of it.

We previously already had varlink_dup_fd() which was a duplicating
version for pushing an fd *into* the connection. To reduce confusion,
let's rename that one varlink_push_dup_fd() to make the symmetry to
valrink_push_fd() clear so that we have no:

varlink_peer_push_fd()        → put fd in without dup'ing
varlink_peer_push_dup_fd()    → same with F_DUPFD_CLOEXEC
varlink_peer_peek_fd()        → get fd out without dup'ing
varlink_peer_peek_dup_fd()    → same with F_DUPFD_CLOEXEC
2024-04-06 16:08:23 +02:00
..
2024-03-26 21:08:49 +08:00
2024-03-25 21:39:37 +09:00
2024-03-27 02:33:00 +09:00
2024-03-20 15:13:44 +01:00
2024-04-03 11:50:25 +01:00
2024-04-03 11:50:25 +01:00
2024-04-03 11:50:25 +01:00
2024-03-28 09:55:11 +09:00
2024-04-03 11:50:25 +01:00
2024-04-03 11:50:25 +01:00
2024-03-17 13:34:51 +01:00
2024-04-04 04:42:55 +09:00