diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-07 20:08:49 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-04-26 12:58:55 +0200 |
commit | 796f8c41e16712f9faadee3aea6fd2f38baf989a (patch) | |
tree | b6130fdfa4ba3f80c7b065bed3ab1313114c9aa2 /src/basic/conf-files.h | |
parent | 2c0a91fedc150195f54d91bf75515e4bfff0d753 (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/basic/conf-files.h')
0 files changed, 0 insertions, 0 deletions