Re: [PATCH] syscalls: Document OCI seccomp filter interactions & workaround

2 messages, 2 authors, 2020-11-24 · open the first message on its own page

Re: [PATCH] syscalls: Document OCI seccomp filter interactions & workaround

From: Florian Weimer <hidden>
Date: 2020-11-24 14:08:44

* Christoph Hellwig:
On Tue, Nov 24, 2020 at 01:08:20PM +0100, Florian Weimer wrote:
quoted
This documents a way to safely use new security-related system calls
while preserving compatibility with container runtimes that require
insecure emulation (because they filter the system call by default).
Admittedly, it is somewhat hackish, but it can be implemented by
userspace today, for existing system calls such as faccessat2,
without kernel or container runtime changes.
I think this is completely insane.  Tell the OCI folks to fix their
completely broken specification instead.
Do you categorically reject the general advice, or specific instances as
well?  Like this workaround for faccessat that follows the pattern I
outlined:

<https://sourceware.org/pipermail/libc-alpha/2020-November/119955.html>

I value your feedback and want to make sure I capture it accurately.

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill

Re: [PATCH] syscalls: Document OCI seccomp filter interactions & workaround

From: Christoph Hellwig <hch@infradead.org>
Date: 2020-11-24 16:47:20

On Tue, Nov 24, 2020 at 03:08:09PM +0100, Florian Weimer wrote:
Do you categorically reject the general advice, or specific instances as
well?
All of the above.  Really, if people decided to use seccompt to return
nonsensical error codes we should not work around that in new kernel
ABIs.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help