Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'x86/auditsyscall' of git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-roland

* 'x86/auditsyscall' of git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-roland:
x86: auditsyscall: fix fastpath return value after reschedule

+2 -2
+2 -2
arch/x86/kernel/entry_64.S
··· 571 571 * masked off. 572 572 */ 573 573 sysret_audit: 574 - movq %rax,%rsi /* second arg, syscall return value */ 575 - cmpq $0,%rax /* is it < 0? */ 574 + movq RAX-ARGOFFSET(%rsp),%rsi /* second arg, syscall return value */ 575 + cmpq $0,%rsi /* is it < 0? */ 576 576 setl %al /* 1 if so, 0 if not */ 577 577 movzbl %al,%edi /* zero-extend that into %edi */ 578 578 inc %edi /* first arg, 0->1(AUDITSC_SUCCESS), 1->2(AUDITSC_FAILURE) */