[Top][All Lists]

[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: 26 Apr 2002 15:44:35 -0400

On Fri, 2002-04-26 at 15:28, Colin Walters wrote:

> Hmmm.  I suppose we can solve this problem by making update-game-score
> itself check whether it's setuid, and then do the right thing
> accordingly...I will investigate doing this.

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.

reply via email to

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