Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>2017-03-10 13:32:54 +0300
committerCorinna Vinschen <corinna@vinschen.de>2019-02-03 14:09:08 +0300
commit49970d2531bcda7c72fc9d41e48ec9f08cfe797b (patch)
tree408ec6d6be32b7b9cd6f99bcdbfc7d21ab916a8f /winsup/cygwin/include/sys/uio.h
parentf3d515f7f6e99e52dac30336d43411b0faf8ad0c (diff)
forkables: hardlink without WRITE_ATTRIBUTES firsttopic/forkables
When the current process has renamed (to bin) a readonly dll, we get STATUS_TRANSACTION_NOT_ACTIVE for unknown reason when subsequently creating the forkable hardlink. A workaround is to open the original file with FILE_WRITE_ATTRIBUTES access, but that fails with permission denied for users not owning the original file. * forkable.cc (dll::create_forkable): Retry hardlink creation using the original file's handle opened with FILE_WRITE_ATTRIBUTES access when the first attempt fails with STATUS_TRANSACTION_NOT_ACTIVE.
Diffstat (limited to 'winsup/cygwin/include/sys/uio.h')
0 files changed, 0 insertions, 0 deletions