[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166607766447.3775011.11893363509592656217.b4-ty@chromium.org>
Date: Tue, 18 Oct 2022 00:21:08 -0700
From: Kees Cook <keescook@...omium.org>
To: avagin@...gle.com
Cc: Kees Cook <keescook@...omium.org>, fweimer@...hat.com,
linux-kernel@...r.kernel.org, ebiederm@...ssion.com,
izbyshev@...ras.ru, avagin@...il.com, 0x7f454c46@...il.com,
brauner@...nel.org
Subject: Re: [PATCH 1/2] fs/exec: switch timens when a task gets a new mm
On Tue, 20 Sep 2022 17:31:19 -0700, Andrei Vagin wrote:
> From: Andrei Vagin <avagin@...il.com>
>
> Changing a time namespace requires remapping a vvar page, so we don't want
> to allow doing that if any other tasks can use the same mm.
>
> Currently, we install a time namespace when a task is created with a new
> vm. exec() is another case when a task gets a new mm and so it can switch
> a time namespace safely, but it isn't handled now.
>
> [...]
Applied to for-next/execve, thanks!
[1/2] fs/exec: switch timens when a task gets a new mm
https://git.kernel.org/kees/c/f8e06046dd69
[2/2] selftests/timens: add a test for vfork+exit
https://git.kernel.org/kees/c/de8517320d01
--
Kees Cook
Powered by blists - more mailing lists