fileio: set O_NOCTTY when reading virtual files
authorLennart Poettering <lennart@poettering.net>
Tue, 14 Sep 2021 21:11:55 +0000 (23:11 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 15 Sep 2021 14:19:45 +0000 (16:19 +0200)
commitbe991d7678c35aa037ef79672c0c70781eebed9c
tree3952bc196f72700a1ccfd84212297919b405229f
parent7ab7547a40d456d34120b2f44b26385ac1338ebd
fileio: set O_NOCTTY when reading virtual files

Better be safe than sorry, maybe someone points this call to a TTY one
day, and we'd rather not make it our controlling TTY in that case.
src/basic/fileio.c