diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2020-03-20 23:27:41 +0300 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2020-03-25 18:04:01 +0300 |
commit | 76518d3798855242817e8a8ed76b2d72f4415624 (patch) | |
tree | 6083ace017fc32db4ad5a50fb14ae4a3fa9ffad4 /tools | |
parent | 2db9dbf71bf98d02a0bf33e798e5bfd2a9944696 (diff) | |
download | linux-76518d3798855242817e8a8ed76b2d72f4415624.tar.xz |
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions