summaryrefslogtreecommitdiff
path: root/nscd/selinux.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-06-20 15:49:08 +0000
committerUlrich Drepper <drepper@redhat.com>2005-06-20 15:49:08 +0000
commit64d64de628376b21e8eb29bdc9ef6a3651793aef (patch)
treee91fa4027fe4402d6359129f26f43081d579267a /nscd/selinux.c
parent24c709d1af1d603e310645b1305bb77448d69e20 (diff)
downloadglibc-64d64de628376b21e8eb29bdc9ef6a3651793aef.tar.gz
* nscd/nscd.init: Get more in line with lsb3.cvs/fedora-glibc-20050620T1530cvs/fedora-glibc-20050620T1522
* nscd/nscd.c: Adjust some error codes to fit in better with lsb3. * nscd/connections.c: Likewise.
Diffstat (limited to 'nscd/selinux.c')
-rw-r--r--nscd/selinux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nscd/selinux.c b/nscd/selinux.c
index 4dc4df3648..91c1442b59 100644
--- a/nscd/selinux.c
+++ b/nscd/selinux.c
@@ -1,5 +1,5 @@
/* SELinux access controls for nscd.
- Copyright (C) 2004 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Matthew Rickard <mjricka@epoch.ncsc.mil>, 2004.
@@ -111,7 +111,7 @@ static const struct avc_lock_callback lock_cb =
static int audit_fd = -1;
/* When an avc denial occurs, log it to audit system */
-static void
+static void
log_callback (const char *fmt, ...)
{
va_list ap;
@@ -122,7 +122,7 @@ log_callback (const char *fmt, ...)
}
/* Initialize the connection to the audit system */
-static void
+static void
audit_init (void)
{
audit_fd = audit_open ();