Corinna Vinschen ef8ce3077f Cygwin: fork: fix child process permissions, take 2
VirtualQueryEx, called by fixup_mmaps_after_fork, requires
PROCESS_QUERY_INFORMATION permissions per MSDN.  However, testing
shows that PROCESS_QUERY_LIMITED_INFORMATION is sufficient when
running the same code on Windows 8.1 or Windows 10.  Fix the code
to give the forked child always PROCESS_QUERY_INFORMATION perms
on Windows Vista/7 and respective server releases.

Revert now unneeded patch to check_token_membership as well.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2019-01-30 12:18:03 +01:00
..
2016-11-24 16:09:31 +01:00
2013-04-30 23:43:08 +00:00
2012-11-23 13:22:47 +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
2017-03-27 22:03:58 +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