From: Ulrich Drepper Date: Mon, 15 Jan 2007 22:21:52 +0000 (+0000) Subject: * nscd/connections.c (handle_request): Fix thinko in selinux test X-Git-Tag: cvs/fedora-glibc-20070117T0857~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=49ee6d7965c914b16ddc73471e5cde3aea65d3e1;p=thirdparty%2Fglibc.git * nscd/connections.c (handle_request): Fix thinko in selinux test invocation. --- diff --git a/ChangeLog b/ChangeLog index 5d60391f85b..a96467a59be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-01-15 Ulrich Drepper + * 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. diff --git a/nscd/connections.c b/nscd/connections.c index a5e758e0712..97287bc7ab5 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -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;