This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Any ideas with xterm/xfree problem?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]