machined: call unlockpt() in container, not host
authorLennart Poettering <lennart@poettering.net>
Tue, 1 Sep 2015 17:39:14 +0000 (19:39 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 1 Sep 2015 18:40:24 +0000 (20:40 +0200)
commit395745ba533ac91fe118f43ec83f13a752c0b473
tree55fa10dc719b9d605e82be61bb4448ef17a6365f
parentfc94c3260549c12892461be031c4b9dc122ca1ef
machined: call unlockpt() in container, not host

It makes assumptions about the pty path, hence better call it in the
container namespace rather than the host.
src/basic/util.c
src/machine/machine-dbus.c
src/run/run.c