K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-09-08T18:35:15.348716Z K 7 svn:log V 282 Move the checks for td_pinned, td_critnest, TDP_NOFAULTING and TDP_NOSLEEPING leaking from syscallret() to userret() so that also trap handling is covered. Also, the check on td_locks is not duplicated between the two functions. Reported by: avg Reviewed by: kib MFC after: 1 week END