Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83223
b: refs/heads/master
c: 576c013
h: refs/heads/master
i:
  83221: a2de3c4
  83219: 193c6b3
  83215: 096b1bf
v: v3
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Feb 5, 2008
1 parent 1bc6db4 commit 44899ce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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: b54988325c4cbf8bd92c0def53387ab6516d0920
refs/heads/master: 576c013df0ac9ad1f217452c14ddde246bb1a70d
10 changes: 7 additions & 3 deletions trunk/arch/um/os-Linux/start_up.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ static void __init check_coredump_limit(void)

void __init os_early_checks(void)
{
int pid;

/* Print out the core dump limits early */
check_coredump_limit();

Expand All @@ -351,6 +353,11 @@ void __init os_early_checks(void)
* kernel is running.
*/
check_tmpexec();

pid = start_ptraced_child();
if (init_registers(pid))
fatal("Failed to initialize default registers");
stop_ptraced_child(pid, 1, 1);
}

static int __init noprocmm_cmd_param(char *str, int* add)
Expand Down Expand Up @@ -412,9 +419,6 @@ static inline void check_skas3_ptrace_faultinfo(void)
non_fatal("found\n");
}

if (init_registers(pid))
fatal("Failed to initialize default registers");

stop_ptraced_child(pid, 1, 1);
}

Expand Down

0 comments on commit 44899ce

Please sign in to comment.