* nscd/connections.c (nscd_init): If database file access fails

check whether this is due to permission problems and bail in that
	case.
This commit is contained in:
Ulrich Drepper 2009-01-31 00:23:54 +00:00
parent 7c8a67320e
commit 00f5df0e73
1 changed files with 3 additions and 3 deletions

View File

@ -79,9 +79,9 @@
* sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Define. * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Define.
(stackinfo_sub_sp): Define. (stackinfo_sub_sp): Define.
* nscd/connections.c (nscd_init): If database file access be * nscd/connections.c (nscd_init): If database file access fails
opened check whether this is due to permission problems and bail check whether this is due to permission problems and bail in that
in that case. case.
[BZ #9741] [BZ #9741]
* nscd/mem.c (gc): Fix assignment of he_data in case malloc is used. * nscd/mem.c (gc): Fix assignment of he_data in case malloc is used.