ruby-changes:35356
From: akr <ko1@a...>
Date: Sat, 6 Sep 2014 21:08:15 +0900 (JST)
Subject: [ruby-changes:35356] akr:r47438 (trunk): * process.c (has_privilege): The gid zero is not a privilege.
akr 2014-09-06 21:08:02 +0900 (Sat, 06 Sep 2014) New Revision: 47438 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47438 Log: * process.c (has_privilege): The gid zero is not a privilege. Modified files: trunk/ChangeLog trunk/process.c Index: ChangeLog =================================================================== --- ChangeLog (revision 47437) +++ ChangeLog (revision 47438) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Sep 6 20:59:06 2014 Tanaka Akira <akr@f...> + + * process.c (has_privilege): The gid zero is not a privilege. + Sat Sep 6 20:19:16 2014 Tanaka Akira <akr@f...> * process.c (struct child_handler_disabler_state): cancelstate field Index: process.c =================================================================== --- process.c (revision 47437) +++ process.c (revision 47438) @@ -3373,7 +3373,7 @@ has_privilege(void) https://github.com/ruby/ruby/blob/trunk/process.c#L3373 egid = getegid(); #endif - if (egid == 0 || egid != rgid) + if (egid != rgid) return 1; return 0; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/