Any ideas with xterm/xfree problem?

Pierre A. Humblet
Mon Jul 1 13:56:00 GMT 2002

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
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


More information about the Cygwin-developers mailing list