| commit | df3e18a6d8f329d0efa9d6c4595af8a5ebaff9ea | [log] [tgz] |
|---|---|---|
| author | Andy Lutomirski <luto@kernel.org> | Mon Feb 22 09:49:17 2021 -0800 |
| committer | Andy Lutomirski <luto@kernel.org> | Wed May 19 16:36:43 2021 -0700 |
| tree | 8bd836e8179c47bebcacb07045ac5fce348c2167 | |
| parent | 9b7900b350b52319eba7a36e938dfadfe3327b55 [diff] |
kentry: Check that syscall entries and syscall exits match If arch code calls the wrong kernel entry helpers, syscall entries and exits can get out of sync. Add a new field to task_struct to track the syscall state and validate that it transitions correctly. Signed-off-by: Andy Lutomirski <luto@kernel.org>