4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-17 12:01:53 +08:00
Corinna Vinschen 59b3bd2aa6 Only allow enabled groups as primary group
So far any group in the user's token could be used as primary group.
Windows doesn't check if the primary group is enabled or not, it just
has no meaning.  From a POSIXy point of view it can lead to weird
results though.

	* uinfo.cc (check_token_membership): New static function.
	(internal_getlogin): Only allow enabled groups as primary group.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-03-23 17:51:03 +01:00
..
2016-03-08 13:56:40 +01:00
2016-03-19 13:21:18 +01:00
2015-04-23 21:57:12 +02:00
2015-04-23 21:57:12 +02:00
2014-04-26 17:38:22 +00:00
2015-07-29 13:45:46 +02:00
2014-01-27 20:04:35 +00:00
2016-02-12 12:08:40 -06:00
2015-11-05 18:31:36 +01:00
2016-03-20 21:59:43 +01:00
2016-03-20 21:59:43 +01:00
2015-12-03 13:30:51 +01:00
2015-03-03 12:58:34 +00:00
2016-03-19 13:21:18 +01:00
2015-11-18 19:09:47 +01:00
2015-02-24 20:52:57 +00:00
2014-08-14 17:36:24 +00:00
2016-03-18 14:46:20 +01:00
2016-03-18 14:46:20 +01:00
2015-08-17 11:05:43 +02:00
2016-03-20 11:55:08 +01:00
2016-01-27 15:39:11 +01:00
2016-03-20 12:31:42 +01:00
2015-07-29 13:45:46 +02:00
2016-03-08 13:56:40 +01:00
2015-07-29 13:45:46 +02:00
2015-07-29 13:45:46 +02:00
2016-03-20 11:58:57 +01:00
2015-08-29 09:32:00 +02:00
2016-03-20 12:19:35 +01:00
2016-02-13 16:03:15 +01:00
2015-04-23 21:57:07 +02:00
2015-04-23 22:04:24 +02:00
2015-02-24 20:52:57 +00:00