This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.14-489-ga9ae54a


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  a9ae54a136d743103cd9e266c7d22769ea440c09 (commit)
       via  3d7ba52b68e4dc5c4d3eb19de436c66ed9bb2f0d (commit)
      from  bc8db248baddc8309372158378337fdf7877ad68 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=a9ae54a136d743103cd9e266c7d22769ea440c09

commit a9ae54a136d743103cd9e266c7d22769ea440c09
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri Sep 2 11:13:39 2011 +0200

    Don't start AVC thread until credentials are installed

diff --git a/ChangeLog b/ChangeLog
index 28b9a43..a65182a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-11-03  Andreas Schwab  <schwab@redhat.com>
 
+	* nscd/nscd.c (main): Don't start AVC thread until credentials are
+	installed.
+
 	* nss/makedb.c (set_file_creation_context): Do nothing if SELinux
 	is disabled.
 
diff --git a/nscd/nscd.c b/nscd/nscd.c
index e9bb75d..be693c9 100644
--- a/nscd/nscd.c
+++ b/nscd/nscd.c
@@ -263,10 +263,6 @@ main (int argc, char **argv)
     /* In foreground mode we are not paranoid.  */
     paranoia = 0;
 
-  /* Start the SELinux AVC.  */
-  if (selinux_enabled)
-    nscd_avc_init ();
-
   signal (SIGINT, termination_handler);
   signal (SIGQUIT, termination_handler);
   signal (SIGTERM, termination_handler);
@@ -294,6 +290,10 @@ main (int argc, char **argv)
   /* Init databases.  */
   nscd_init ();
 
+  /* Start the SELinux AVC.  */
+  if (selinux_enabled)
+    nscd_avc_init ();
+
   /* Handle incoming requests */
   start_threads ();
 

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=3d7ba52b68e4dc5c4d3eb19de436c66ed9bb2f0d

commit 3d7ba52b68e4dc5c4d3eb19de436c66ed9bb2f0d
Author: Andreas Schwab <schwab@redhat.com>
Date:   Thu Nov 3 14:26:38 2011 +0100

    Don't fail in makedb if SELinux is disabled

diff --git a/ChangeLog b/ChangeLog
index d132b0b..28b9a43 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-03  Andreas Schwab  <schwab@redhat.com>
+
+	* nss/makedb.c (set_file_creation_context): Do nothing if SELinux
+	is disabled.
+
 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
 	* bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
diff --git a/nss/makedb.c b/nss/makedb.c
index 8cee92f..1b19966 100644
--- a/nss/makedb.c
+++ b/nss/makedb.c
@@ -842,7 +842,7 @@ set_file_creation_context (const char *outname, mode_t mode)
 
   /* Check if SELinux is enabled, and remember. */
   if (enabled == 0)
-    enabled = is_selinux_enabled ();
+    enabled = is_selinux_enabled () ? 1 : -1;
   if (enabled < 0)
     return;
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog    |    8 ++++++++
 nscd/nscd.c  |    8 ++++----
 nss/makedb.c |    2 +-
 3 files changed, 13 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]