commit | 76518d3798855242817e8a8ed76b2d72f4415624 | [log] [tgz] |
---|---|---|
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | Fri Mar 20 21:27:41 2020 +0100 |
committer | Eric W. Biederman <ebiederm@xmission.com> | Wed Mar 25 10:04:01 2020 -0500 |
tree | 6083ace017fc32db4ad5a50fb14ae4a3fa9ffad4 | |
parent | 2db9dbf71bf98d02a0bf33e798e5bfd2a9944696 [diff] |
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>