summaryrefslogtreecommitdiffstats
path: root/src/basic/mempool.c
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2024-11-01 12:29:19 +0100
committerGitHub <noreply@github.com>2024-11-01 12:29:19 +0100
commitfdccba15be26aa7d62f437cb23df01e28459e50f (patch)
treed141bb0798c71a0cb2e76aca490acaaea05fc42d /src/basic/mempool.c
parenttweaks to ANSI sequence (OSC) handling (#34964) (diff)
parentmachined: port to pty_open_peer_racefree() (diff)
downloadsystemd-fdccba15be26aa7d62f437cb23df01e28459e50f.tar.xz
systemd-fdccba15be26aa7d62f437cb23df01e28459e50f.zip
util-lib/systemd-run: implement race-free PTY peer opening (#34953)
This makes use of the new TIOCGPTPEER pty ioctl() for directly opening a PTY peer, without going via path names. This is nice because it closes a race around allocating and opening the peer. And also has the nice benefit that if we acquired an fd originating from some other namespace/container, we can directly derive the peer fd from it, without having to reenter the namespace again.
Diffstat (limited to 'src/basic/mempool.c')
0 files changed, 0 insertions, 0 deletions