Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297738
b: refs/heads/master
c: ce5f7a9
h: refs/heads/master
v: v3
  • Loading branch information
Bobby Powers authored and H. Peter Anvin committed Feb 26, 2012
1 parent ddd1ae9 commit 72b7ddb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f21723079d3ff1c0f71790b4f7fbf9546856eb1
refs/heads/master: ce5f7a99df87918b5be4618a9386213a8e9a7146
3 changes: 3 additions & 0 deletions trunk/arch/x86/kernel/process_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,9 @@ void set_personality_ia32(bool x32)
clear_thread_flag(TIF_IA32);
set_thread_flag(TIF_X32);
current->personality &= ~READ_IMPLIES_EXEC;
/* is_compat_task() uses the presence of the x32
syscall bit flag to determine compat status */
current_thread_info()->status &= ~TS_COMPAT;
} else {
set_thread_flag(TIF_IA32);
clear_thread_flag(TIF_X32);
Expand Down

0 comments on commit 72b7ddb

Please sign in to comment.