ae1d13db05
Allocating a pty is done in a couple of places so let's introduce a new helper which does the job. Also the new function, as well as openpt_in_namespace(), returns both pty master and slave so the callers don't need to know about the pty slave allocation details. For the same reasons machine_openpt() prototype has also been changed to return both pty master and slave so callers don't need to allocate a pty slave which might be in a different namespace. Finally openpt_in_namespace() has been renamed into openpt_allocate_in_namespace(). |
||
---|---|---|
.. | ||
image-dbus.c | ||
image-dbus.h | ||
machine-dbus.c | ||
machine-dbus.h | ||
machine.c | ||
machine.h | ||
machinectl.c | ||
machined-core.c | ||
machined-dbus.c | ||
machined.c | ||
machined.h | ||
meson.build | ||
operation.c | ||
operation.h | ||
org.freedesktop.machine1.conf | ||
org.freedesktop.machine1.policy | ||
org.freedesktop.machine1.service | ||
test-machine-tables.c |