Add deferred cancellation regression test for getpwuid_r.
commitb0a679f4fd5363809a972b697e8a0b1fc66fcbb1
authorCarlos O'Donell <carlos@redhat.com>
Fri, 23 Dec 2016 18:39:23 +0000 (23 13:39 -0500)
committerCarlos O'Donell <carlos@redhat.com>
Fri, 23 Dec 2016 18:39:23 +0000 (23 13:39 -0500)
treeb3eea6e55fe0b506f8a4754be252f92d582d69c9
parent57707b7fcc38855869321f8c7827bfe21d729f37
Add deferred cancellation regression test for getpwuid_r.

The fix in commit 312be3f9f5eab1643d7dcc7728c76d413d4f2640 resolved
several cancellation issues in several APIs.  This regression test is
designed to double check that at least getpwuid_r remainds correctly
implemented and does not provide additional unintended cancellation
points that may leave locks in an inconsistent state.
ChangeLog
nss/Makefile
nss/tst-cancel-getpwuid_r.c [new file with mode: 0644]