[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201124164546.GA14094@infradead.org>
Date: Tue, 24 Nov 2020 16:45:46 +0000
From: Christoph Hellwig <hch@...radead.org>
To: Mark Wielaard <mark@...mp.org>
Cc: Florian Weimer <fweimer@...hat.com>,
Christian Brauner <christian.brauner@...ntu.com>,
linux-api@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, dev@...ncontainers.org,
corbet@....net, Carlos O'Donell <carlos@...hat.com>
Subject: Re: [PATCH] syscalls: Document OCI seccomp filter interactions &
workaround
On Tue, Nov 24, 2020 at 03:08:05PM +0100, Mark Wielaard wrote:
> For valgrind the issue is statx which we try to use before falling back
> to stat64, fstatat or stat (depending on architecture, not all define
> all of these). The problem with these fallbacks is that under some
> containers (libseccomp versions) they might return EPERM instead of
> ENOSYS. This causes really obscure errors that are really hard to
> diagnose.
So find a way to detect these completely broken container run times
and refuse to run under them at all. After all they've decided to
deliberately break the syscall ABI. (and yes, we gave the the rope
to do that with seccomp :().
Powered by blists - more mailing lists