[CVE-2009-0029] System call wrapper infrastructure

From: Martin Schwidefsky <[email protected]>

By selecting HAVE_SYSCALL_WRAPPERS architectures can activate
system call wrappers in order to sign extend system call arguments.

All architectures where the ABI defines that the caller of a function
has to perform sign extension probably need this.

Reported-by: Christian Borntraeger <[email protected]>
Acked-by: Ralf Baechle <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
This commit is contained in:
Heiko Carstens 2009-01-14 14:13:59 +01:00
commit 1a94bc3476
2 changed files with 65 additions and 0 deletions

View file

@ -62,6 +62,9 @@ config HAVE_EFFICIENT_UNALIGNED_ACCESS
See Documentation/unaligned-memory-access.txt for more
information on the topic of unaligned memory accesses.
config HAVE_SYSCALL_WRAPPERS
bool
config KRETPROBES
def_bool y
depends on KPROBES && HAVE_KRETPROBES