diff options
author | 蔡正龙 <zhenglong.cai@cs2c.com.cn> | 2013-12-19 21:04:10 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2014-01-31 12:21:55 -0500 |
commit | a9302e8439445710552886e7b623dbcfa943a1f2 (patch) | |
tree | f81ad376d8143a745d6f3c1d775ab28f353e75ae /arch/alpha/kernel/entry.S | |
parent | e7651b819e90da924991d727d3c007200a18670d (diff) |
alpha: Enable system-call auditing support.
Signed-off-by: Zhenglong.cai <zhenglong.cai@cs2c.com.cn>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/kernel/entry.S')
-rw-r--r-- | arch/alpha/kernel/entry.S | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/alpha/kernel/entry.S b/arch/alpha/kernel/entry.S index a969b95ee5ac..98703d99b565 100644 --- a/arch/alpha/kernel/entry.S +++ b/arch/alpha/kernel/entry.S | |||
@@ -465,7 +465,11 @@ entSys: | |||
465 | .cfi_rel_offset $16, SP_OFF+24 | 465 | .cfi_rel_offset $16, SP_OFF+24 |
466 | .cfi_rel_offset $17, SP_OFF+32 | 466 | .cfi_rel_offset $17, SP_OFF+32 |
467 | .cfi_rel_offset $18, SP_OFF+40 | 467 | .cfi_rel_offset $18, SP_OFF+40 |
468 | blbs $3, strace | 468 | #ifdef CONFIG_AUDITSYSCALL |
469 | lda $6, _TIF_SYSCALL_TRACE | _TIF_SYSCALL_AUDIT | ||
470 | and $3, $6, $3 | ||
471 | #endif | ||
472 | bne $3, strace | ||
469 | beq $4, 1f | 473 | beq $4, 1f |
470 | ldq $27, 0($5) | 474 | ldq $27, 0($5) |
471 | 1: jsr $26, ($27), alpha_ni_syscall | 475 | 1: jsr $26, ($27), alpha_ni_syscall |