setuid and setgid are async-signal-safe?

Mike Frysinger vapier@gentoo.org
Tue Oct 30 06:59:00 GMT 2012


On Tuesday 30 October 2012 01:59:13 jiji vinitha wrote:
> I have referred  the setgid/setuid implementation in glibc-2.15 .
>  However,I could not understand the algorithm is truly async-signal safe or
> not. Is glibc-2.15's setgid/setuid implementation async-signal safe?

all it does is make a syscall to the kernel.  why do you think it isn't safe ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-help/attachments/20121030/5d0b1458/attachment.sig>


More information about the Libc-help mailing list