Michael Haubenwallner 3956ddd9bf forkables: hardlink without WRITE_ATTRIBUTES first
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.
2019-02-07 15:58:02 +01:00
..
2016-11-24 16:09:31 +01:00
2013-04-30 23:43:08 +00:00
2016-06-25 00:43:01 +02:00
2019-01-15 22:02:33 +01:00
2019-01-15 22:02:33 +01:00
2019-01-15 22:02:33 +01:00
2014-04-26 17:38:22 +00:00
2019-01-15 22:02:33 +01:00
2018-02-20 17:59:53 +01:00
2015-03-03 12:58:34 +00:00
2015-11-18 19:09:47 +01:00
2017-03-27 22:03:58 +01:00
2018-08-07 14:51:10 +02:00
2018-08-07 14:51:10 +02:00
2015-08-17 11:05:43 +02:00
2013-04-23 09:44:36 +00:00
2018-04-16 22:46:11 -05:00
2018-02-07 13:07:44 +01:00
2019-01-15 22:02:33 +01:00
2019-01-13 23:13:33 +01:00
2013-04-23 09:44:36 +00:00
2016-06-23 16:56:41 +02:00