diff options
author | Rick Edgecombe <[email protected]> | 2023-06-12 17:10:33 -0700 |
---|---|---|
committer | Rick Edgecombe <[email protected]> | 2023-07-11 14:12:18 -0700 |
commit | 2da5b91fe4092aab9d92138c78b68e9856b078d0 (patch) | |
tree | f8736e7ec3071c900ee507b029ba4ed8dfb2fe3e /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 18e66b695e787374ca762ecdeaa1ab5e3772af94 (diff) |
x86/traps: Move control protection handler to separate file
Today the control protection handler is defined in traps.c and used only
for the kernel IBT feature. To reduce ifdeffery, move it to it's own file.
In future patches, functionality will be added to make this handler also
handle user shadow stack faults. So name the file cet.c.
No functional change.
Signed-off-by: Rick Edgecombe <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Reviewed-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Acked-by: Mike Rapoport (IBM) <[email protected]>
Tested-by: Pengfei Xu <[email protected]>
Tested-by: John Allen <[email protected]>
Tested-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/all/20230613001108.3040476-8-rick.p.edgecombe%40intel.com
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions