Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2002 15:52:48 -0700
From:      George <jirka@5z.com>
To:        ezislis <kesor@mail.ru>
Cc:        George <jirka@5z.com>, Joe Kelsey <joe@zircon.seattle.wa.us>, gnome@FreeBSD.ORG
Subject:   Re: GDM 2.4.0.x & FreeBSD
Message-ID:  <20020715225248.GI19585@monique.linux.bogus>
In-Reply-To: <20020714024846.R75796-100000@finone.ulp.co.il>
References:  <20020713234810.GA18421@monique.linux.bogus> <20020714024846.R75796-100000@finone.ulp.co.il>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 14, 2002 at 02:51:05AM +0300, ezislis wrote:
> I dont completely understand where is the problem, and thus cant think of a way to fix it..
> i'm all confused with daemon, slave, greeter, etc.. dont see where 0,1,2 stdio
> get into all of this..

I further cleaned up the comm stuff.  The reason why 0,1,2 gets into the
problem is that these are the descriptors that gdm uses to communicate to the 
greeter (at least 0,1)  Also since at various places we assume these are the
correct descriptors having them be something like some open file or the X
connection would be very very bad.

What I did today in CVS is changed it to not use the buffered libc IO.  This
was not proper anyway.  Can you try today's CVS?  That is the changes up to:

Mon Jul 15 15:47:11 2002  George Lebl <jirka@5z.com>

	* daemon/errorgui.c, daemon/misc.[ch], daemon/server.c,
	  daemon/slave.c:  Clean up the comm stuff to only use unbuffered
	  libc functions.  This might fix the freebsd issues perhaps,
	  maybe.  Also fix some almost impossible to happen races.

George

-- 
George <jirka@5z.com>
   A man's ethical behavior should be based effectually on sympathy, education,
   and social ties; no religious basis is necessary. Man would indeed be in a
   poor way if he had to be restrained by fear of punishment and hope of reward
   after death.
                       -- Albert Einstein

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020715225248.GI19585>