[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdebase/kdm/backend
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2006-10-15 21:58:31
Message-ID: 1160949511.000611.8001.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 595852 by ossi:

backport: s/LOGIN_SETGROUPS/LOGIN_SETGROUP/g


 M  +3 -3      client.c  


--- branches/KDE/3.5/kdebase/kdm/backend/client.c #595851:595852
@@ -1320,9 +1320,9 @@
 	   credentials. unfortunately, we can reset only the gids. */
 	resetGids();
 
-# define D_LOGIN_SETGROUPS LOGIN_SETGROUPS
+# define D_LOGIN_SETGROUP LOGIN_SETGROUP
 #else /* USE_PAM */
-# define D_LOGIN_SETGROUPS 0
+# define D_LOGIN_SETGROUP 0
 #endif /* USE_PAM */
 
 	removeAuth = 1;
@@ -1403,7 +1403,7 @@
 		 * environment variables, resource limits, and umask.
 		 */
 		if (setusercontext( lc, p, p->pw_uid,
-		        LOGIN_SETALL & ~(D_LOGIN_SETGROUPS|D_LOGIN_SETLOGIN) ) < 0)
+		        LOGIN_SETALL & ~(D_LOGIN_SETGROUP|D_LOGIN_SETLOGIN) ) < 0)
 		{
 			LogError( "setusercontext for %s failed: %m\n", curuser );
 			exit( 1 );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic