halt getspnam[_r] search on error accessing TCB shadow
authorRich Felker <dalias@aerifal.cx>
Fri, 28 Dec 2018 21:54:13 +0000 (16:54 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 28 Dec 2018 21:54:13 +0000 (16:54 -0500)
commitde7dc1318f493184b20f7661bc12b1829b957b67
tree25a67195220b5213a70255be22185489824f3826
parent9db81b862d95326d43af7c7fae9078ad9ff5bd6f
halt getspnam[_r] search on error accessing TCB shadow

fallback to /etc/shadow should happen only when the entry is not found
in the TCB shadow. otherwise transient errors or permission errors can
cause inconsistent results.
src/passwd/getspnam_r.c