diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-07 20:08:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-07 20:08:49 +0200 |
commit | 660021d371d5698a86e914765239045a669e65fb (patch) | |
tree | dde8b208436a55e327ac9cd1bf7ba984366f067f /src/udev/udev-event.c | |
parent | c379f143a5ccdbc94a87cfca0174e7f21fa05f26 (diff) |
util: always enforce O_NOCTTY and O_CLOEXEC in openpt_in_namespace()
The child process is shortliving, hence always set O_NOCTTY so that the
tty doesn't quickly become controlling TTY and then gives it up again.
Also set O_CLOEXEC, because it's cleaner, and doesn't affect the parent
anyway.
Diffstat (limited to 'src/udev/udev-event.c')
0 files changed, 0 insertions, 0 deletions