<div dir="ltr"><div dir="ltr">On Sun, 16 Aug 2020 at 16:32, Steve Dodd <<a href="mailto:steved424@gmail.com">steved424@gmail.com</a>> wrote:<br></div><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Ah, looks like we need to seccomp_attr_get(&ctx, SCMP_FLTATR_CTL_LOG, ..) somewhere for this to work. Not sure if that should be done unconditionally...<br></div></div></blockquote><div><br></div><div><a href="https://github.com/systemd/systemd/pull/16752">https://github.com/systemd/systemd/pull/16752</a> makes it conditional on an environment variable, "SYSTEMD_LOG_SECCOMP", which seems neat enough.</div><div><br></div><div>I've tried to open a discussion about the ENOSYS handling in libseccomp at <a href="https://github.com/seccomp/libseccomp/issues/286">https://github.com/seccomp/libseccomp/issues/286</a>, but I'm probably not being very coherent..</div><div><br></div><div>S.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div></div>
</blockquote></div></div>