[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Tue May 1 18:41:05 UTC 2018
New commits:
commit 0286cdee62579058513e0611519596f95e8a9797
Author: Andrew Cagney <cagney at gnu.org>
Date: Mon Apr 30 14:46:57 2018 -0400
seccomp: add "lswseccomp.h"; print first error from seccomp_rule_add()
The macro LSW_SECCOMP_ADD() (defined in "lswseccomp.h") logs the
first error from seccomp_rule_add() and then exit immediately.
The old code, which looked something like:
rc |= seccomp_rule_add(...);
rc |= seccomp_rule_add(...);
was making all calls (that is "|=" and not "||=") then printing a
generic error.
More information about the Swan-commit
mailing list