Commit f1347e1d authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by Cyrill Gorcunov

dump: Remove core addresses checks

These are checking in proc parse routine anyway.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent af76a228
...@@ -455,11 +455,6 @@ static int get_task_stat(pid_t pid, int pid_dir, u8 *comm, u32 *flags, ...@@ -455,11 +455,6 @@ static int get_task_stat(pid_t pid, int pid_dir, u8 *comm, u32 *flags,
*start_stack = pps_buf.start_stack; *start_stack = pps_buf.start_stack;
*start_brk = pps_buf.start_brk; *start_brk = pps_buf.start_brk;
if (*start_data == 0 || *end_data == 0 || *start_brk == 0) {
pr_err("%d's stat is corrupted/not complete\n", pid);
goto err_corrupted;
}
/* /*
* Now signals. * Now signals.
*/ */
...@@ -481,10 +476,6 @@ err: ...@@ -481,10 +476,6 @@ err:
if (file) if (file)
fclose(file); fclose(file);
return ret; return ret;
err_corrupted:
pr_err("/proc/%d/stat is corrupted\n", pid);
goto err;
} }
static int get_task_personality(pid_t pid, int pid_dir, u32 *personality) static int get_task_personality(pid_t pid, int pid_dir, u32 *personality)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment