|
@@ -908,7 +908,7 @@ ENTRY(\sym)
|
|
pushq $-1 /* ORIG_RAX: no syscall to restart */
|
|
pushq $-1 /* ORIG_RAX: no syscall to restart */
|
|
.endif
|
|
.endif
|
|
|
|
|
|
- .if \paranoid < 2
|
|
|
|
|
|
+ .if \paranoid == 1
|
|
testb $3, CS-ORIG_RAX(%rsp) /* If coming from userspace, switch stacks */
|
|
testb $3, CS-ORIG_RAX(%rsp) /* If coming from userspace, switch stacks */
|
|
jnz .Lfrom_usermode_switch_stack_\@
|
|
jnz .Lfrom_usermode_switch_stack_\@
|
|
.endif
|
|
.endif
|
|
@@ -955,7 +955,7 @@ ENTRY(\sym)
|
|
jmp error_exit
|
|
jmp error_exit
|
|
.endif
|
|
.endif
|
|
|
|
|
|
- .if \paranoid < 2
|
|
|
|
|
|
+ .if \paranoid == 1
|
|
/*
|
|
/*
|
|
* Entry from userspace. Switch stacks and treat it
|
|
* Entry from userspace. Switch stacks and treat it
|
|
* as a normal entry. This means that paranoid handlers
|
|
* as a normal entry. This means that paranoid handlers
|