On Sun, 2007-03-04 at 17:42 +0100, Sven Ekman wrote:
> Hello,
>
> I have a setuid executable which is written in C. Is
> there a system call with which I can get the uid of
> the calling user if the executable is setuid root?
>
> If the executable is setuid to a non-root user,
> getuid() and get
Hello,
I have a setuid executable which is written in C. Is
there a system call with which I can get the uid of
the calling user if the executable is setuid root?
If the executable is setuid to a non-root user,
getuid() and geteuid() return the real and effective
userid as expected. If setuid r
2 matches
Mail list logo