forked from pool/glibc
Andreas Schwab
47a70fb50a
- nss-database-check-reload.patch: nsswitch: return result when nss database is locked (BZ #27343) - nss-load-chroot.patch: nss: Re-enable NSS module loading after chroot (bsc#1182323, BZ #27389) - x86-isa-level.patch: x86: Set minimum x86-64 level marker (bsc#1182522, BZ #27318) - nss-database-lookup.patch: nss: fix nss_database_lookup2's alternate handling (bsc#1182247, BZ #27416) - nss-revert-api.patch: remove - nscd-netgroupcache.patch: nscd: Fix double free in netgroupcache (CVE-2021-27645, bsc#1182733, BZ #27462) OBS-URL: https://build.opensuse.org/request/show/877767 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=585
14 lines
432 B
Diff
14 lines
432 B
Diff
Index: glibc-2.33/nss/nss_database.c
|
|
===================================================================
|
|
--- glibc-2.33.orig/nss/nss_database.c
|
|
+++ glibc-2.33/nss/nss_database.c
|
|
@@ -303,6 +303,8 @@ nss_database_reload (struct nss_database
|
|
{
|
|
FILE *fp = fopen (_PATH_NSSWITCH_CONF, "rce");
|
|
if (fp == NULL)
|
|
+ fp = fopen ("/usr" _PATH_NSSWITCH_CONF, "rce");
|
|
+ if (fp == NULL)
|
|
switch (errno)
|
|
{
|
|
case EACCES:
|