[PATCH 2/2] nss: Protect against errno changes in function lookup (bug 28953)
Florian Weimer
fweimer@redhat.com
Thu Mar 10 13:27:23 GMT 2022
* Florian Weimer via Libc-alpha:
> diff --git a/nss/nss_test_errno.c b/nss/nss_test_errno.c
> new file mode 100644
> index 0000000000..3a3c4e53a5
> --- /dev/null
> +++ b/nss/nss_test_errno.c
> @@ -0,0 +1,58 @@
> +/* NSS service provider with errno clobber.
> + Copyright (C) 2017-2022 Free Software Foundation, Inc.
> diff --git a/nss/tst-nss-test_errno.c b/nss/tst-nss-test_errno.c
> new file mode 100644
> index 0000000000..fae447b76f
> --- /dev/null
> +++ b/nss/tst-nss-test_errno.c
> @@ -0,0 +1,43 @@
> +#include <nss.h>
Hmph. I fixed the copyright and the missing comment header locally.
Florian
More information about the Libc-alpha
mailing list