Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16965
b: refs/heads/master
c: bb6f6db
h: refs/heads/master
i:
  16963: 2cb6b30
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Jan 9, 2006
1 parent 6f868ed commit cd0301c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0811af28ce49fab963e3e6b8abcf8c460f971cd4
refs/heads/master: bb6f6dbaa48c53525a7a4f9d4df719c3b0b582af
2 changes: 1 addition & 1 deletion trunk/fs/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1462,6 +1462,7 @@ int do_coredump(long signr, int exit_code, struct pt_regs * regs)
if (!(current->signal->flags & SIGNAL_GROUP_EXIT)) {
current->signal->flags = SIGNAL_GROUP_EXIT;
current->signal->group_exit_code = exit_code;
current->signal->group_stop_count = 0;
retval = 0;
}
spin_unlock_irq(&current->sighand->siglock);
Expand All @@ -1477,7 +1478,6 @@ int do_coredump(long signr, int exit_code, struct pt_regs * regs)
* Clear any false indication of pending signals that might
* be seen by the filesystem code called to write the core file.
*/
current->signal->group_stop_count = 0;
clear_thread_flag(TIF_SIGPENDING);

if (current->signal->rlim[RLIMIT_CORE].rlim_cur < binfmt->min_coredump)
Expand Down

0 comments on commit cd0301c

Please sign in to comment.