看板FB_security
标 题Re: Opinion on checking return value of setuid(getuid())?
发信站NCTU CS FreeBSD Server (Wed Oct 3 03:31:48 2012)
转信站ptt!csnews.cs.nctu!news.cs.nctu!FreeBSD.cs.nctu!freebsd.org!owner-free
Xin Li <
[email protected]> 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
--=20
Dag-Erling Sm=C3=B8rgrav -
[email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "
[email protected]"