On 02/04/2013 10:51 AM, Alan Bateman wrote: > On 04/02/2013 06:38, Weijun Wang wrote: >> Need an equivalence of the geteuid() function that returns the >> effective user ID of the calling process. > There isn't an API for this. And Hotspot really shouldn't be used from processes with EUID != UID. -- Florian Weimer / Red Hat Product Security Team