summaryrefslogtreecommitdiffstats
path: root/src/basic/fileio.c
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2023-11-08 18:10:06 +0100
committerMike Yuan <me@yhndnzj.com>2023-11-08 20:35:56 +0100
commit05314c9c87cf13fc71976d6770a7bf00f75503f1 (patch)
tree0bba7063d376ed2c9376dc4f71b3deea5ba47acf /src/basic/fileio.c
parentman: document nameserver= option (diff)
downloadsystemd-05314c9c87cf13fc71976d6770a7bf00f75503f1.tar.xz
systemd-05314c9c87cf13fc71976d6770a7bf00f75503f1.zip
fd-util: refuse O_CREAT in fd_reopen
O_CREAT doesn't make sense for fd_reopen, since we're working on an already opened fd. Also, in fd_reopen we don't handle the mode parameter of open(2), which means we may get runtime error like #29938.
Diffstat (limited to 'src/basic/fileio.c')
0 files changed, 0 insertions, 0 deletions