<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi all,
<div class=""><br class="">
</div>
<div class="">Two weeks ago[1] I patched systemd-nspawn to respect CAP_SYS_MODULE with regards to setting seccomp filters. As I needed access to some of the other blocked syscalls as well, I have a patch to map all seccomp filters to various capabilities, and
 to only set those filters if the matching capability is dropped. The matching capabilities were taken from the man pages of the syscalls involved.</div>
<div class=""><br class="">
</div>
<div class="">I’d also suggest that in the future, additional filters use this same mapping as to avoid breaking use cases like mine in the future. :)</div>
<div class=""><br class="">
</div>
<div class="">The patch is attached, but in case it gets mangled in transport as the last one did, feel free to get it directly from github here:  <a href="https://github.com/jayofdoom/systemd/pull/3.patch" class="">https://github.com/jayofdoom/systemd/pull/3.patch</a>.</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class="">Jay Faulkner</div>
<div class=""></div>
</body>
</html>