K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-22T00:23:43.664030Z K 7 svn:log V 348 filedesc: cleanup setugidsafety a little Rename it to fdsetugidsafety for consistency with other functions. There is no need to take filedesc lock if not closing any files. The loop has to verify each file and we are guaranteed fdtable has space for at least 20 fds. As such there is no need to check fd_lastfile. While here tidy up is_unsafe. END