All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] fix function type mismatches in syscall wrappers
@ 2019-05-03 19:12 ` Sami Tolvanen
  0 siblings, 0 replies; 18+ messages in thread
From: Sami Tolvanen @ 2019-05-03 19:12 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Mark Rutland
  Cc: Kees Cook, Nick Desaulniers, linux-arm-kernel, linux-kernel,
	Sami Tolvanen

These patches fix type mismatches in arm64 syscall wrapper
definitions, which trip indirect call checks with Control-Flow
Integrity.

Changes in v2:
- more informative commit message for the syscall_fn_t change
- added a patch for fixing sys_ni_syscall

Sami Tolvanen (3):
  arm64: fix syscall_fn_t type
  arm64: use the correct function type in SYSCALL_DEFINE0
  arm64: use the correct function type for __arm64_sys_ni_syscall

 arch/arm64/include/asm/syscall.h         |  2 +-
 arch/arm64/include/asm/syscall_wrapper.h | 18 +++++++++---------
 arch/arm64/kernel/sys.c                  | 14 +++++++++-----
 arch/arm64/kernel/sys32.c                | 12 ++++++++----
 4 files changed, 27 insertions(+), 19 deletions(-)

-- 
2.21.0.1020.gf2820cf01a-goog


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2019-05-24 21:58 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-03 19:12 [PATCH v2 0/3] fix function type mismatches in syscall wrappers Sami Tolvanen
2019-05-03 19:12 ` Sami Tolvanen
2019-05-03 19:12 ` [PATCH v2 1/3] arm64: fix syscall_fn_t type Sami Tolvanen
2019-05-03 19:12   ` Sami Tolvanen
2019-05-03 19:12 ` [PATCH v2 2/3] arm64: use the correct function type in SYSCALL_DEFINE0 Sami Tolvanen
2019-05-03 19:12   ` Sami Tolvanen
2019-05-03 19:12 ` [PATCH v2 3/3] arm64: use the correct function type for __arm64_sys_ni_syscall Sami Tolvanen
2019-05-03 19:12   ` Sami Tolvanen
2019-05-07 17:25   ` Mark Rutland
2019-05-07 17:25     ` Mark Rutland
2019-05-07 18:32     ` Sami Tolvanen
2019-05-07 18:32       ` Sami Tolvanen
2019-05-15 11:40       ` Will Deacon
2019-05-15 11:40         ` Will Deacon
2019-05-24 18:35         ` Will Deacon
2019-05-24 18:35           ` Will Deacon
2019-05-24 21:58           ` Sami Tolvanen
2019-05-24 21:58             ` Sami Tolvanen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.