<div dir="ltr"><div class="gmail_default" style="font-family:'courier new',monospace">where is <span style="font-family:arial,sans-serif;font-size:12.800000190734863px">user:stack-segment-size defined ? </span></div>
<div class="gmail_default" style="font-family:'courier new',monospace"><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Thanks,</span></div><div class="gmail_default" style="font-family:'courier new',monospace">
<span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Xin</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jul 27, 2014 at 10:32 PM, anupam kapoor <span dir="ltr"><<a href="mailto:anupam.kapoor@gmail.com" target="_blank">anupam.kapoor@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>>>>> [Sun, 27 Jul 2014 11:52:27 -0500]: "Xin Tong" (xin-tong):<br>
<br>
,----[ xin-tong ]<br>
<div><div class="h5">| I am trying to find the start and end address of the userspace stack.<br>
| I see in the task_struct there is start_stack. But I could not find<br>
| end_start anywhere in the kernel code ?<br>
|<br>
| Can someone please tell me how to find the end of the stack ?<br>
</div></div>`----<br>
but that should be computable right e.g.<br>
user:stack-end = user:stack-start + user:stack-segment-size * number-of-pages<br>
<br>
kind regards<br>
<span class="HOEnZb"><font color="#888888">anupam<br>
</font></span></blockquote></div><br></div>