Message ID | 1308648925-13204-4-git-send-email-apw@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/proc/array.c b/fs/proc/array.c index 725a650..98785b7 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -479,8 +479,8 @@ static int do_task_stat(struct seq_file *m, struct pid_namespace *ns, vsize, mm ? get_mm_rss(mm) : 0, rsslim, - mm ? mm->start_code : 0, - mm ? mm->end_code : 0, + mm ? (permitted ? mm->start_code : 1) : 0, + mm ? (permitted ? mm->end_code : 1) : 0, (permitted && mm) ? mm->start_stack : 0, esp, eip,