summaryrefslogtreecommitdiff
path: root/test/path-modified.service
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-07 20:08:49 +0200
committerLennart Poettering <lennart@poettering.net>2015-10-07 20:08:49 +0200
commit660021d371d5698a86e914765239045a669e65fb (patch)
treedde8b208436a55e327ac9cd1bf7ba984366f067f /test/path-modified.service
parentc379f143a5ccdbc94a87cfca0174e7f21fa05f26 (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 'test/path-modified.service')
0 files changed, 0 insertions, 0 deletions