From owner-freebsd-gnome Tue Jul 16 19: 7:38 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6939937B400 for ; Tue, 16 Jul 2002 19:07:36 -0700 (PDT) Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-80.oz.net [216.39.147.80]) by mx1.FreeBSD.org (Postfix) with SMTP id B347743E4A for ; Tue, 16 Jul 2002 19:07:35 -0700 (PDT) (envelope-from joe@zircon.seattle.wa.us) Received: (qmail 16293 invoked from network); 17 Jul 2002 02:07:35 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 17 Jul 2002 02:07:35 -0000 Subject: Re: GDM 2.4.0.x & FreeBSD From: Joe Kelsey To: George Cc: ezislis , gnome@FreeBSD.ORG In-Reply-To: <20020715225248.GI19585@monique.linux.bogus> References: <20020713234810.GA18421@monique.linux.bogus> <20020714024846.R75796-100000@finone.ulp.co.il> <20020715225248.GI19585@monique.linux.bogus> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 16 Jul 2002 19:07:34 -0700 Message-Id: <1026871655.9621.64.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 2002-07-15 at 15:52, George wrote: > 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: I don't know how to get your changes out of CVS. CVS where? > Mon Jul 15 15:47:11 2002 George Lebl > > * 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 > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message