diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-10-03 01:21:47 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-10-03 01:21:47 +0000 |
commit | 1945c96f2b0ad2bf09b1a2e182d2d0d98a30698e (patch) | |
tree | 3447304105cc0c05abcd21d80fda1d1791f5039e /nscd/selinux.c | |
parent | 1507c81f2a3a28129806bdeb98287766cf3bffb8 (diff) | |
download | glibc-1945c96f2b0ad2bf09b1a2e182d2d0d98a30698e.zip glibc-1945c96f2b0ad2bf09b1a2e182d2d0d98a30698e.tar.gz glibc-1945c96f2b0ad2bf09b1a2e182d2d0d98a30698e.tar.bz2 |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/selinux.c b/nscd/selinux.c index 77651e0..f57f092 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; |