summaryrefslogtreecommitdiff
path: root/nscd/nscd.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-05-15 20:48:08 -0700
committerUlrich Drepper <drepper@redhat.com>2009-05-15 20:48:08 -0700
commit9e471dad8e173806cbbfb704875d5ae40e36fa34 (patch)
treeebfa781022fb62ee9b008d302d8ab33ff68a20ad /nscd/nscd.c
parent9437b427cec6266abd303983848549a5c4ba0d0a (diff)
downloadglibc-9e471dad8e173806cbbfb704875d5ae40e36fa34.tar.gz
Don't try to cleanup libselinux and libaudit.
Because we are not shutting down the other threads first another thread might work on a query before the process shuts down. In this case the now uninitialized libselinux and libaudit might be used. Just don't free the resources. It's not necessary anyway because the process is about to terminate.
Diffstat (limited to 'nscd/nscd.c')
-rw-r--r--nscd/nscd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nscd/nscd.c b/nscd/nscd.c
index 3265ea8973..b9035f2131 100644
--- a/nscd/nscd.c
+++ b/nscd/nscd.c
@@ -488,10 +488,6 @@ termination_handler (int signum)
msync (dbs[cnt].head, dbs[cnt].memsize, MS_ASYNC);
}
- /* Shutdown the SELinux AVC. */
- if (selinux_enabled)
- nscd_avc_destroy ();
-
_exit (EXIT_SUCCESS);
}