[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240628065204.GA29300@redhat.com>
Date: Fri, 28 Jun 2024 08:52:05 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Andrei Vagin <avagin@...gle.com>
Cc: Kees Cook <keescook@...omium.org>, linux-kernel@...r.kernel.org,
Tycho Andersen <tandersen@...flix.com>,
Andy Lutomirski <luto@...capital.net>,
Will Drewry <wad@...omium.org>,
Christian Brauner <brauner@...nel.org>
Subject: Re: [PATCH 1/4] seccomp: interrupt SECCOMP_IOCTL_NOTIF_RECV when all
users have exited
On 06/28, Andrei Vagin wrote:
>
> SECCOMP_IOCTL_NOTIF_RECV promptly returns when a seccomp filter becomes
> unused, as a filter without users can't trigger any events.
>
> Previously, event listeners had to rely on epoll to detect when all
> processes had exited.
>
> The change is based on the 'commit 99cdb8b9a573 ("seccomp: notify about
> unused filter")' which implemented (E)POLLHUP notifications.
>
> Reviewed-by: Christian Brauner <brauner@...nel.org>
> Signed-off-by: Andrei Vagin <avagin@...gle.com>
> ---
> kernel/seccomp.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
Reviewed-by: Oleg Nesterov <oleg@...hat.com>
Powered by blists - more mailing lists