]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: drop disabled O_TMPFILE POSIX unlink code
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 4 Jan 2019 10:00:57 +0000 (11:00 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 4 Jan 2019 10:01:47 +0000 (11:01 +0100)
commit34d9bb709390b14b4ed0b1ea2656bf6bf5a055c3
tree0b88ca577a37301c77a0ef98e8b8b48f87471e37
parent353ebae30465606bd8b15bea1194f7a2881903fb
Cygwin: drop disabled O_TMPFILE POSIX unlink code

The commit message of commit 07e0a9584f9a5b2668c767ede0482a5fba498731
and the expectation set therein, are wrong.

There's no POSIX semantics allowing to link a file with a link
count of 0 and making it available in the file system again.
In fact, the Linux linkat extension AT_EMPTY_PATH explicitely
disallows to link a file descriptor to a file with a link count
of 0, except for O_TMPFILE without O_EXCL.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/syscalls.cc
This page took 0.029571 seconds and 5 git commands to generate.