about summary refs log tree commit diff
path: root/nscd/selinux.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-03 01:21:47 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-03 01:21:47 +0000
commit1945c96f2b0ad2bf09b1a2e182d2d0d98a30698e (patch)
tree3447304105cc0c05abcd21d80fda1d1791f5039e /nscd/selinux.c
parent1507c81f2a3a28129806bdeb98287766cf3bffb8 (diff)
downloadglibc-1945c96f2b0ad2bf09b1a2e182d2d0d98a30698e.tar.gz
glibc-1945c96f2b0ad2bf09b1a2e182d2d0d98a30698e.tar.xz
glibc-1945c96f2b0ad2bf09b1a2e182d2d0d98a30698e.zip
Update,
	* nscd/connections.c: Rewrite handling of incoming connections.  All
	are handled by one thread which then hands of the descriptors for the
	real work to the worker threads.
	* nscd/Makefile: Link nscd with librt.

	* nscd/selinux.c: Pretty printing.

	* nscd/dbg_log.c (dbg_log): Don't add unnecessary newline to
	output.  Let syslog do the formatting if debug_level == 0.
Diffstat (limited to 'nscd/selinux.c')
-rw-r--r--nscd/selinux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/selinux.c b/nscd/selinux.c
index 77651e05c3..f57f0920ae 100644
--- a/nscd/selinux.c
+++ b/nscd/selinux.c
@@ -207,8 +207,8 @@ nscd_request_avc_has_perm (int fd, request_type req)
       dbg_log (_("Error getting context of nscd"));
       goto out;
     }
-  if (avc_context_to_sid (scon, &ssid) < 0 ||
-      avc_context_to_sid (tcon, &tsid) < 0)
+  if (avc_context_to_sid (scon, &ssid) < 0
+      || avc_context_to_sid (tcon, &tsid) < 0)
     {
       dbg_log (_("Error getting sid from context"));
       goto out;