Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106137
b: refs/heads/master
c: 024e8ac
h: refs/heads/master
i:
  106135: 6d3db9f
v: v3
  • Loading branch information
Roland McGrath committed Jul 26, 2008
1 parent f401d0a commit 3288b15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ff8419871ea757ae0298aa296bcff9b2ca48561
refs/heads/master: 024e8ac04453b3525448c31ef39848cf675ba6db
6 changes: 3 additions & 3 deletions trunk/arch/x86/ia32/ia32entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ sysexit_from_sys_call:
movl RDI-ARGOFFSET(%rsp),%r8d /* reload 5th syscall arg */
.endm

.macro auditsys_exit exit
.macro auditsys_exit exit,ebpsave=RBP
testl $(_TIF_ALLWORK_MASK & ~_TIF_SYSCALL_AUDIT),TI_flags(%r10)
jnz int_ret_from_sys_call
TRACE_IRQS_ON
Expand All @@ -214,7 +214,7 @@ sysexit_from_sys_call:
call audit_syscall_exit
GET_THREAD_INFO(%r10)
movl RAX-ARGOFFSET(%rsp),%eax /* reload syscall return value */
movl RBP-ARGOFFSET(%rsp),%ebp /* reload user register value */
movl \ebpsave-ARGOFFSET(%rsp),%ebp /* reload user register value */
movl $(_TIF_ALLWORK_MASK & ~_TIF_SYSCALL_AUDIT),%edi
cli
TRACE_IRQS_OFF
Expand Down Expand Up @@ -347,7 +347,7 @@ cstar_auditsys:
jmp cstar_dispatch

sysretl_audit:
auditsys_exit sysretl_from_sys_call
auditsys_exit sysretl_from_sys_call, RCX /* user %ebp in RCX slot */
#endif

cstar_tracesys:
Expand Down

0 comments on commit 3288b15

Please sign in to comment.