Home
last modified time | relevance | path

Searched hist:"76518 d37" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/proc/
H A Dbase.c76518d37 Fri Mar 20 15:27:41 CDT 2020 Bernd Edlinger <bernd.edlinger@hotmail.de> proc: io_accounting: Use new infrastructure to fix deadlocks in execve

This changes do_io_accounting to use the new exec_update_mutex
instead of cred_guard_mutex.

This fixes possible deadlocks when the trace is accessing
/proc/$pid/io for instance.

This should be safe, as the credentials are only used for reading.

Signed-off-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>