diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2009-12-17 21:33:26 -0500 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-29 17:16:27 -0400 |
commit | fa3c94fc9cd1619fe0dd6081a1a980c09ef3e119 (patch) | |
tree | 2e389b77431e55e8b81f4f256b93f23137dd4e2f /kernel/exit.c | |
parent | f5936ecf0cff0b94419b6768efba3e15622beeb6 (diff) |
[ported from 2008.3] Add File Descriptor Attached Shared Objects (FDSO) infrastructure
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index f7864ac2ecc1..3da04257aeaf 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -56,6 +56,8 @@ | |||
56 | #include <asm/mmu_context.h> | 56 | #include <asm/mmu_context.h> |
57 | #include "cred-internals.h" | 57 | #include "cred-internals.h" |
58 | 58 | ||
59 | extern void exit_od_table(struct task_struct *t); | ||
60 | |||
59 | static void exit_mm(struct task_struct * tsk); | 61 | static void exit_mm(struct task_struct * tsk); |
60 | 62 | ||
61 | static void __unhash_process(struct task_struct *p) | 63 | static void __unhash_process(struct task_struct *p) |
@@ -954,6 +956,8 @@ NORET_TYPE void do_exit(long code) | |||
954 | if (unlikely(tsk->audit_context)) | 956 | if (unlikely(tsk->audit_context)) |
955 | audit_free(tsk); | 957 | audit_free(tsk); |
956 | 958 | ||
959 | exit_od_table(tsk); | ||
960 | |||
957 | tsk->exit_code = code; | 961 | tsk->exit_code = code; |
958 | taskstats_exit(tsk, group_dead); | 962 | taskstats_exit(tsk, group_dead); |
959 | 963 | ||