diff options
author | Brian Gerst <[email protected]> | 2019-12-19 06:58:12 -0500 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-01-08 19:40:51 +0100 |
commit | 2b10906f2d25515bba58070b8183babc89063597 (patch) | |
tree | 9b6a4c28c47d3bbd438f0264a2ccb693471ee652 /scripts/bpf_helpers_doc.py | |
parent | f444a5ff95dce07cf4353cbb85fc3e785019d430 (diff) |
x86: Remove force_iret()
force_iret() was originally intended to prevent the return to user mode with
the SYSRET or SYSEXIT instructions, in cases where the register state could
have been changed to be incompatible with those instructions. The entry code
has been significantly reworked since then, and register state is validated
before SYSRET or SYSEXIT are used. force_iret() no longer serves its original
purpose and can be eliminated.
Signed-off-by: Brian Gerst <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Oleg Nesterov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions