Thread (2 messages) 2 messages, 2 authors, 2020-03-25

Re: [PATCH v6 14/16] pidfd: Use new infrastructure to fix deadlocks in execve

From: Christian Brauner <hidden>
Date: 2020-03-25 15:41:19
Also in: linux-api, linux-fsdevel, linux-mm, lkml, stable

On Sat, Mar 21, 2020 at 02:46:16AM +0000, Bernd Edlinger wrote:
This changes __pidfd_fget to use the new exec_update_mutex
instead of cred_guard_mutex.

This should be safe, as the credentials do not change
before exec_update_mutex is locked.  Therefore whatever
file access is possible with holding the cred_guard_mutex
here is also possbile with the exec_update_mutex.

Signed-off-by: Bernd Edlinger <redacted>
Reviewed-by: Christian Brauner <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help