mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
* nscd/connections.c (handle_request): Fix thinko in selinux test
invocation.
This commit is contained in:
parent
4e35ef2c71
commit
49ee6d7965
@ -1,5 +1,8 @@
|
||||
2007-01-15 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* nscd/connections.c (handle_request): Fix thinko in selinux test
|
||||
invocation.
|
||||
|
||||
* sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK.
|
||||
* elf/dl-lookup.c (add_dependency): If scope map is locked, unlock
|
||||
it before getting dl_load_lock and then relock.
|
||||
|
@ -939,7 +939,6 @@ cannot handle old request version %d; current version is %d"),
|
||||
if (selinux_enabled
|
||||
&& __builtin_expect (req->type >= GETPWBYNAME, 1)
|
||||
&& __builtin_expect (req->type < LASTREQ, 1)
|
||||
&& __builtin_expect (req->type < SHUTDOWN || req->type > INVALIDATE, 1)
|
||||
&& nscd_request_avc_has_perm (fd, req->type) != 0)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user