1 --- gdm-2.0beta4/daemon/slave.c~ Wed Sep 29 18:56:35 1999
2 +++ gdm-2.0beta4/daemon/slave.c Thu Apr 27 18:14:16 2000
4 /* Restore sigmask inherited from init */
5 sigprocmask (SIG_SETMASK, &sysmask, NULL);
7 + for(i = 0; i < sysconf(_SC_OPEN_MAX); i++)
10 + /* No error checking here - if it's messed the best response
11 + is to ignore & try to continue */
12 + open("/dev/null", O_RDONLY); /* open stdin - fd 0 */
13 + open("/dev/null", O_RDWR); /* open stdout - fd 1 */
14 + open("/dev/null", O_RDWR); /* open stderr - fd 2 */
16 execl (sesspath, NULL);
18 gdm_error (_("gdm_slave_session_start: Could not start session `%s'"), sesspath);