[systemd-devel] [PATCH] Smack enabled systems need /dev special devices correctly labeled

2013-10-11 Thread Michael Demeter
- Add AC_DEFINE for HAVE_SMACK to configure.ac - Add Check for smack in Makefile.am to include smack default rules - Add smack default rules to label /dev/xxx correctly for access Change-Id: Iab07eb632b487b9ac4567cd08d0da6879709d44f Signed-off-by: Michael Demeter --- Makefile.am

Re: [systemd-devel] Early review request: socket activation bridge

2013-10-11 Thread Lennart Poettering
On Thu, 10.10.13 21:54, David Strauss (da...@davidstrauss.net) wrote: > #define __STDC_FORMAT_MACROS This is an unnecessary C++ism, isn't it? > #include > #include > #include > #include > #include > #include > #include > #include > #include > > #include "log.h" > #include "sd-daemon.h"

Re: [systemd-devel] Early review request: socket activation bridge

2013-10-11 Thread Lennart Poettering
On Fri, 11.10.13 07:12, Tollef Fog Heen (tfh...@err.no) wrote: > > ]] Lennart Poettering > > > On Thu, 10.10.13 13:12, David Strauss (da...@davidstrauss.net) wrote: > > > > > I was actually planning to rewrite on top of libuv today, but I'm > > > happy to port to the new, native event library.

Re: [systemd-devel] Early review request: socket activation bridge

2013-10-11 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Oct 10, 2013 at 09:54:12PM -0700, David Strauss wrote: > Here's a first take on having sabridge use the systemd-native event > library. The current, full diff is also visible on GitHub [1]. > > Obviously, this work still needs considerable cleanup and tightening. > I like how we're current

Re: [systemd-devel] Early review request: socket activation bridge

2013-10-11 Thread David Strauss
On Thu, Oct 10, 2013 at 10:12 PM, Tollef Fog Heen wrote: > I'd go with something how it's done in Varnish: Have an (or n) > acceptor threads that schedule work to a pool of worker threads. That > scheduler should be careful about such things as treating the worker > threads as LIFO (to preserve C