[systemd-commits] 2 commits - TODO src/journal

Lennart Poettering lennart at kemper.freedesktop.org
Fri Nov 23 09:36:23 PST 2012


 TODO                          |    2 ++
 src/journal/journald-native.c |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

New commits:
commit be2155ce705c1c1a25fa5b2927e2e02f4b3c7a35
Author: Lennart Poettering <lennart at poettering.net>
Date:   Fri Nov 23 18:35:24 2012 +0100

    journal: fix SO_PASSSEC invocation
    
    Spotted by Lukas Nykryn

diff --git a/src/journal/journald-native.c b/src/journal/journald-native.c
index ac3183e..0691147 100644
--- a/src/journal/journald-native.c
+++ b/src/journal/journald-native.c
@@ -396,7 +396,7 @@ int server_open_native_socket(Server*s) {
 
 #ifdef HAVE_SELINUX
         one = 1;
-        r = setsockopt(s->syslog_fd, SOL_SOCKET, SO_PASSSEC, &one, sizeof(one));
+        r = setsockopt(s->native_fd, SOL_SOCKET, SO_PASSSEC, &one, sizeof(one));
         if (r < 0)
                 log_warning("SO_PASSSEC failed: %m");
 #endif

commit 2eb8ca3b3ef37c601b3938f2656e379abd5c23d4
Author: Lennart Poettering <lennart at poettering.net>
Date:   Fri Nov 23 18:35:09 2012 +0100

    update TODO

diff --git a/TODO b/TODO
index 25420c7..d818218 100644
--- a/TODO
+++ b/TODO
@@ -19,6 +19,8 @@ F18:
 
 Features:
 
+* In parse_timestamp() allow specifying a week day, and if it doesn't match the date, generate a parse failure
+
 * journald: when dropping msgs due to ratelimit make sure to write
   "dropped %u messages" not only when we are about to print the next
   message that works, but alraedy after a short tiemout



More information about the systemd-commits mailing list