commit | 454e3126cb842388e22df6b3ac3da44062c00765 | [log] [tgz] |
---|---|---|
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | Fri Mar 20 21:27:05 2020 +0100 |
committer | Eric W. Biederman <ebiederm@xmission.com> | Wed Mar 25 10:04:01 2020 -0500 |
tree | 7ef34345010c219f5e5fd81bfa31d0b9a5e4b00b | |
parent | aa884c11313656fee7b12972614b6333f154655c [diff] |
kernel/kcmp.c: Use new infrastructure to fix deadlocks in execve This changes kcmp_epoll_target to use the new exec_update_mutex instead of cred_guard_mutex. This should be safe, as the credentials are only used for reading, and furthermore ->mm and ->sighand are updated on execve, but only under the new exec_update_mutex. Signed-off-by: Bernd Edlinger <bernd.edlinger@hotmail.de> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>