Systemd/src/machine
Franck Bui ae1d13db05 terminal-util: introduce openpt_allocate()
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().
2019-06-18 09:26:31 +02:00
..
image-dbus.c Merge pull request #10935 from poettering/rlimit-nofile-safe 2018-12-06 17:19:21 +01:00
image-dbus.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
machine-dbus.c terminal-util: introduce openpt_allocate() 2019-06-18 09:26:31 +02:00
machine-dbus.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
machine.c terminal-util: introduce openpt_allocate() 2019-06-18 09:26:31 +02:00
machine.h terminal-util: introduce openpt_allocate() 2019-06-18 09:26:31 +02:00
machinectl.c tree-wide: replace if_indextoname() with format_ifname() 2019-05-29 14:21:19 +09:00
machined-core.c machined: flush nscd caches whenever a machine comes/goes 2018-12-15 12:10:19 +01:00
machined-dbus.c fileio: replace read_nul_string() by read_line() with a special flag 2018-12-18 15:03:05 +01:00
machined.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
machined.h machined: flush nscd caches whenever a machine comes/goes 2018-12-15 12:10:19 +01:00
meson.build machined: flush nscd caches whenever a machine comes/goes 2018-12-15 12:10:19 +01:00
operation.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
operation.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
org.freedesktop.machine1.conf machined: port machined's bus APIs to use new image metadata API 2017-11-20 16:43:15 +01:00
org.freedesktop.machine1.policy meson: drop unnecessary "transformation" of policy files 2018-02-16 13:01:12 +01:00
org.freedesktop.machine1.service Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
test-machine-tables.c Drop my copyright headers 2018-06-14 13:03:20 +02:00