]> granicus.if.org Git - musl/commit
simplify faccessat AT_EACCESS path and eliminate resource dependence
authorRich Felker <dalias@aerifal.cx>
Sat, 2 Nov 2013 00:34:05 +0000 (20:34 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 2 Nov 2013 00:34:05 +0000 (20:34 -0400)
commitf9fb20b42da0e755d93de229a5a737d79a0e8f60
treea4a617b75888d3a96c26aba40fa5ce47304ee55b
parent984af5c99e2efaf17c0c764d66a275da764f94d2
simplify faccessat AT_EACCESS path and eliminate resource dependence

now that we're waiting for the exit status of the child process, the
result can be conveyed in the exit status rather than via a pipe.
since the error value might not fit in 7 bits, a table is used to
translate possible meaningful error values to small integers.
src/unistd/faccessat.c