CVSROOT: /cvs Module name: src Changes by: [email protected] 2011/05/25 15:16:29
Modified files:
libexec/security: security
Log message:
Fix two bugs where race conditions might cause stat(2) to fail,
such that security(8) would output garbage on stderr.
One reported by <RD at thrush dot com>, the other found by code audit.
While here, remove dead code in two other places: stat(_) uses cashed
data and cannot fail, not even if the file is removed in between.
ok Andrew Fresh
