diff options
author | Luca Boccassi <bluca@debian.org> | 2024-11-01 12:29:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-01 12:29:19 +0100 |
commit | fdccba15be26aa7d62f437cb23df01e28459e50f (patch) | |
tree | d141bb0798c71a0cb2e76aca490acaaea05fc42d /src/basic/syscalls-powerpc.txt | |
parent | tweaks to ANSI sequence (OSC) handling (#34964) (diff) | |
parent | machined: port to pty_open_peer_racefree() (diff) | |
download | systemd-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/syscalls-powerpc.txt')
0 files changed, 0 insertions, 0 deletions