hal/hald hald.c,1.48,1.49

David Zeuthen david at freedesktop.org
Sat Feb 18 09:53:36 PST 2006


Update of /cvs/hal/hal/hald
In directory gabe:/tmp/cvs-serv13824/hald

Modified Files:
	hald.c 
Log Message:
2006-02-18  David Zeuthen  <davidz at redhat.com>

        * hald/hald.c (drop_privileges): Don't initgroups as we don't need
        privileges for now. Patch from Martin Pitt <martin at piware.de>.



Index: hald.c
===================================================================
RCS file: /cvs/hal/hal/hald/hald.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- hald.c	8 Feb 2006 01:31:03 -0000	1.48
+++ hald.c	18 Feb 2006 17:53:33 -0000	1.49
@@ -271,11 +271,6 @@
 	exit (-1);
     }
 
-    if( initgroups (HAL_USER, gr->gr_gid)) {
-	HAL_ERROR (("drop_privileges: could not initialize groups"));
-	exit (-1);
-    }
-
     if( setgid (gr->gr_gid) ) {
 	HAL_ERROR (("drop_privileges: could not set group id"));
 	exit (-1);




More information about the hal-commit mailing list