geteuid(2) in java?

Florian Weimer fweimer at redhat.com
Wed Feb 6 16:20:34 UTC 2013


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



More information about the core-libs-dev mailing list