diff options
author | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:16:31 -0600 |
---|---|---|
committer | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:16:31 -0600 |
commit | e2dd0131558df17e0945aa41bd043853f1d7fb34 (patch) | |
tree | bd640d05113246522ce1b72d13e25a1ab5031c1d /fs | |
parent | 7da4b4d4caa8c5129d925342a46243c365048488 (diff) |
Add CodeTEST functionality to the linux 2.6.22 kernel for ARM platforms.
Ported to 2.6.22 by Ross Wille
http://www.bitshrine.org/gpp/linux-2.6.22-mx-codetest.patch
Diffstat (limited to 'fs')
-rw-r--r-- | fs/exec.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c index 3da429d42b20..658de6c68b06 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -59,6 +59,13 @@ #include <linux/kmod.h> #endif +#ifdef CONFIG_CODETEST +/* + * CodeTEST mods + */ +extern void ct_thread_create(struct task_struct *p); +#endif /* CONFIG_CODETEST */ + int core_uses_pid; char core_pattern[CORENAME_MAX_SIZE] = "core"; int suid_dumpable = 0; @@ -903,6 +910,10 @@ int flush_old_exec(struct linux_binprm * bprm) flush_signal_handlers(current, 0); flush_old_files(current->files); +#ifdef CONFIG_CODETEST + ct_thread_create(current); +#endif /* CONFIG_CODETEST */ + return 0; mmap_failed: |