[systemd-commits] 3 commits - TODO src/core src/systemd

Lennart Poettering lennart at kemper.freedesktop.org
Wed Aug 13 11:03:06 PDT 2014


 TODO                     |    4 ++++
 src/core/mount-setup.c   |    7 ++++++-
 src/systemd/sd-network.h |    2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)

New commits:
commit 48776bdacd17e1c2f73238ff8bb6b327760b526d
Author: Lennart Poettering <lennart at poettering.net>
Date:   Wed Aug 13 20:02:38 2014 +0200

    sd-network: bring comments up-to-date

diff --git a/src/systemd/sd-network.h b/src/systemd/sd-network.h
index a72e6c4..6bba5cf 100644
--- a/src/systemd/sd-network.h
+++ b/src/systemd/sd-network.h
@@ -78,7 +78,7 @@ int sd_network_get_ntp(char ***addr);
 int sd_network_get_link_state(int ifindex, char **state);
 
 /* Get operatinal state from ifindex.
- * Possible states: unknown, dormant, carrier, degraded, routable
+ * Possible states: down, up, dormant, carrier, degraded, routable
  * Possible return codes:
  *   -ENODATA: networkd is not aware of the link
  */

commit 7c96ab1d2484ab2df3c6a84f1a1d2e076f469085
Author: Lennart Poettering <lennart at poettering.net>
Date:   Wed Aug 13 20:01:19 2014 +0200

    mount-setup: fix counting of early mounts without SMACK
    
    http://lists.freedesktop.org/archives/systemd-devel/2014-August/021772.html

diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
index 206f89a..cc2633e 100644
--- a/src/core/mount-setup.c
+++ b/src/core/mount-setup.c
@@ -63,8 +63,13 @@ typedef struct MountPoint {
 
 /* The first three entries we might need before SELinux is up. The
  * fourth (securityfs) is needed by IMA to load a custom policy. The
- * other ones we can delay until SELinux and IMA are loaded. */
+ * other ones we can delay until SELinux and IMA are loaded. When
+ * SMACK is enabled we need smackfs, too, so it's a fifth one. */
+#ifdef HAVE_SMACK
 #define N_EARLY_MOUNT 5
+#else
+#define N_EARLY_MOUNT 4
+#endif
 
 static const MountPoint mount_table[] = {
         { "sysfs",      "/sys",                      "sysfs",      NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV,

commit f6e81de4947e024d6b66c3abaafd5bb237abc93a
Author: Lennart Poettering <lennart at poettering.net>
Date:   Wed Aug 13 20:01:00 2014 +0200

    update TODO

diff --git a/TODO b/TODO
index 8f0dc66..4404a53 100644
--- a/TODO
+++ b/TODO
@@ -24,6 +24,10 @@ External:
 
 Features:
 
+* sd-event: - make it possible to embedd our event loop into foreign
+  event loops by passing out the epoll fd and providing three functions
+  that fit into GSource nicely.
+
 * networkd:
   - add LLDP support
   - ipv4ll with multiple interfaces doesn't work when both dhcp and



More information about the systemd-commits mailing list