refactor setxid return path to use __syscall_ret
authorRich Felker <dalias@aerifal.cx>
Tue, 27 Oct 2020 05:12:56 +0000 (01:12 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 27 Oct 2020 05:15:06 +0000 (01:15 -0400)
commit613ccabeb0c10ac818e36ef53e09753d23785cbf
tree3f17524f9d2c16c36bf89a66a5f10fbd0a0d4ca5
parentccba23459ebacc8bc6e5eeef7454c91ceb61b5b0
refactor setxid return path to use __syscall_ret

this avoids some spurious negation and duplicated errno logic, and
brings the code in line with the newly-added multithreaded setgroups.
src/unistd/setxid.c