diff options
author | Quinn Jensen <quinn.jensen@freescale.com> | 2007-04-04 17:22:48 -0600 |
---|---|---|
committer | root <root@traveler.zdomain.com> | 2007-04-04 17:22:48 -0600 |
commit | 5ad8a10f75d4d232c3151dd43c70a00381e2fb81 (patch) | |
tree | db7f10e975c4c0db09dfad8ce54a3e6d4022fe7a /fs | |
parent | 1e191d5402beb371e7901d62acf0eb031ec968ac (diff) |
Adds CodeTEST support to the Linux kernel.
http://www.bitshrine.org/gpp/linux-2.6.19.2-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 8c01dcbec3e4..30fe75cd64e9 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -57,6 +57,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[128] = "core"; int suid_dumpable = 0; @@ -895,6 +902,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: |