From: Martin Pitt Date: Fri, 28 Oct 2016 13:35:29 +0000 (+0200) Subject: Merge pull request #4458 from keszybz/man-nonewprivileges X-Git-Tag: v232~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1740c5a807708e74a7270bfb23beac2039135859;p=thirdparty%2Fsystemd.git Merge pull request #4458 from keszybz/man-nonewprivileges Document NoNewPrivileges default value --- 1740c5a807708e74a7270bfb23beac2039135859 diff --cc src/core/load-fragment.c index 118b39c1cf5,9881baf1927..cbc826809e4 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@@ -2743,12 -2733,9 +2743,7 @@@ int config_parse_syscall_filter if (r < 0) return r; } - if (!isempty(state)) - log_syntax(unit, LOG_ERR, filename, line, 0, "Trailing garbage, ignoring."); - /* Turn on NNP, but only if it wasn't configured explicitly - * before, and only if we are in user mode. */ - if (!c->no_new_privileges_set && MANAGER_IS_USER(u->manager)) - c->no_new_privileges = true; - return 0; }