Hi!
> Call setgid() before setuid(), because that when setuid()
> set this process' uid to an unprivileged one, then it can't
> do the setgid() operation.

This is for sure a better order, but the test itself is broken even more
as POSIX states that whether process has permission to get cpu clock id
is implementation defined (on linux this will always succeed). So the
test should return UNRESOLVED rather than FAIL (I've fixed that in
another patch). 

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to