emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bad configure check


From: Colin Walters
Subject: Re: Bad configure check
Date: 28 Apr 2002 15:12:46 -0400

On Fri, 2002-04-26 at 17:07, Andreas Schwab wrote:
> Colin Walters <address@hidden> writes:
> 
> |> Can anyone suggest a portable way to determine whether or not a program
> |> is setuid while it's running?  My original thought was to compare the
> |> return values of getuid() and geteuid(), but it seems this will fail if
> |> root runs Emacs.
> 
> Does it?  Even root should obey setuid to a different user.  And
> experiments show that this is the case.

Ok, I agree with you.  I will commit changes shortly which fix the
problem.  It turns out these changes make the code cleaner, which makes
me happy.

Thanks for reporting the problem.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]