X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fkmod-setup.c;h=6ac0c9ff8dd95d0da9debd85a9d3203a8b260505;hb=a9c501a5902a64d4ec21cf0e87d16ec8c0c1e169;hp=fa856c9a6ccc6ceb4447958a85bb2444a2ebe24a;hpb=11c3a4eeb7e65eccd6fc0870bb1cda315fa33ba5;p=elogind.git diff --git a/src/kmod-setup.c b/src/kmod-setup.c index fa856c9a6..6ac0c9ff8 100644 --- a/src/kmod-setup.c +++ b/src/kmod-setup.c @@ -1,4 +1,4 @@ -/*-*- Mode: C; c-basic-offset: 8 -*-*/ +/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ /*** This file is part of systemd. @@ -31,7 +31,8 @@ static const char * const kmod_table[] = { "autofs4", "/sys/class/misc/autofs", - "ipv6", "/sys/module/ipv6" + "ipv6", "/sys/module/ipv6", + "unix", "/proc/net/unix" }; int kmod_setup(void) { @@ -69,7 +70,7 @@ int kmod_setup(void) { command.argv = (char**) cmdline; exec_context_init(&context); - r = exec_spawn(&command, NULL, &context, NULL, 0, NULL, false, false, false, NULL, &pid); + r = exec_spawn(&command, NULL, &context, NULL, 0, NULL, false, false, false, false, NULL, &pid); exec_context_done(&context); if (r < 0) @@ -98,7 +99,7 @@ int kmod_setup(void) { } if (WIFSIGNALED(status)) { - log_warning("/sbin/modprobe terminated by signal %s.", strsignal(WTERMSIG(status))); + log_warning("/sbin/modprobe terminated by signal %s.", signal_to_string(WTERMSIG(status))); return -EPROTO; }