This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: Any ideas with xterm/xfree problem?
- From: "Pierre A. Humblet" <Pierre dot Humblet at ieee dot org>
- To: cygwin-developers at cygwin dot com
- Date: Mon, 01 Jul 2002 16:55:54 -0400
- Subject: Re: Any ideas with xterm/xfree problem?
- References: <20020701204140.GA25217@redhat.com>
Christopher Faylor wrote:
>
> Is anyone reading the discussion in cygwin-xfree? If so, I was
> wondering if you had any idea what was causing the problem.
I assume you mean http://cygwin.com/ml/cygwin-xfree/2002-07/msg00009.html
Is there any other info?
> Out of curiousity, would adding something like:
>
> if (myself->uid == uid)
> return 0;
>
> to the top of seteuid32 be "wrong"? It seems like xterm is just
> calling setuid with its own uid. So, this test would short circuit
> that.
It used to be that way, but then a new token wasn't created when
the gid changed and the uid didn't (in cygwin gid changes are not
really effective until the next setuid).
> I don't know what would be failing, otherwise to cause this problem.
>
> cgf
Pierre