-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 47487 b: refs/heads/master c: f355559 h: refs/heads/master i: 47485: 11a5ca2 47483: 6f92305 47479: 9a19581 47471: db62f23 47455: 651473c 47423: 6499b36 47359: 1e30470 v: v3
- Loading branch information
Jeff Dike
authored and
Linus Torvalds
committed
Feb 11, 2007
1 parent
e44806d
commit 167bc34
Showing
8 changed files
with
84 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 3a150e1da8bc4e840d5a09fc089052011b5b6503 | ||
refs/heads/master: f355559cf78455ed6be103b020e4b800230c64eb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* Copyright (C) 2007 Jeff Dike (jdike@{addtoit.com,linux.intel.com}) | ||
* Licensed under the GPL | ||
*/ | ||
|
||
#include <sys/ptrace.h> | ||
#include <linux/ptrace.h> | ||
|
||
int os_arch_prctl(int pid, int code, unsigned long *addr) | ||
{ | ||
return ptrace(PTRACE_ARCH_PRCTL, pid, (unsigned long) addr, code); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
#include "linux/sched.h" | ||
|
||
void debug_arch_force_load_TLS(void) | ||
{ | ||
} | ||
|
||
void clear_flushed_tls(struct task_struct *task) | ||
{ | ||
} | ||
|
||
int arch_copy_tls(struct task_struct *t) | ||
{ | ||
/* | ||
* If CLONE_SETTLS is set, we need to save the thread id | ||
* (which is argument 5, child_tid, of clone) so it can be set | ||
* during context switches. | ||
*/ | ||
t->thread.arch.fs = t->thread.regs.regs.skas.regs[R8 / sizeof(long)]; | ||
|
||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters