]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/terminal-util.c
machined: introduce a ptsname_namespace() call and make use of it
authorLennart Poettering <lennart@poettering.net>
Tue, 1 Sep 2015 18:12:25 +0000 (20:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 1 Sep 2015 18:40:24 +0000 (20:40 +0200)
commita07c35c3e65c16264cb25206c2d564afdbae8a28
tree74542a753a9d2fd696446ee42a4d337d6767f6e4
parent395745ba533ac91fe118f43ec83f13a752c0b473
machined: introduce a ptsname_namespace() call and make use of it

The call is like ptsname() but does not assume the pty path was
accessible in the local namespace. It uses the same internal ioctl
though.
src/basic/terminal-util.c
src/basic/terminal-util.h
src/machine/machine-dbus.c