Opinion on checking return value of setuid(getuid())?
Dag-Erling Smørgrav
des at des.no
Tue Oct 2 17:31:50 UTC 2012
Xin Li <delphij at delphij.net> writes:
> How can the check be even reached in setuid(getuid()) case? It's also
> conflict with intuition by the way -- we are not changing ownership of
> the process, thus the process number should not change...
See http://lxr.linux.no/linux+v3.6/kernel/sys.c#L646
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-security
mailing list