<div dir="ltr"><table class="" style="border-collapse:collapse;border-spacing:0px;color:rgb(51,51,51);font-family:Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,&#39;Apple Color Emoji&#39;,&#39;Segoe UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;font-size:13px;line-height:18.2px"><tbody></tbody></table><font color="#333333" face="Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="line-height:18.2px">struct task_struct {</span></font><font color="#333333" face="Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="line-height:18.2px"><span class="" style="white-space:pre">        </span>volatile long state;<span class="" style="white-space:pre">        </span>/* -1 unrunnable, 0 runnable, &gt;0 stopped */</span></font><font color="#333333" face="Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="line-height:18.2px"><b><span class="" style="white-space:pre">        </span>void *stack;</b></span></font><font color="#333333" face="Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="line-height:18.2px"><span class="" style="white-space:pre">        </span>atomic_t usage;</span></font><font color="#333333" face="Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="line-height:18.2px"><span class="" style="white-space:pre">        </span>unsigned int flags;<span class="" style="white-space:pre">        </span>/* per process flags, defined below */</span></font><font color="#333333" face="Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="line-height:18.2px"><span class="" style="white-space:pre">        </span>unsigned int ptrace;</span></font><div><br></div><div><br></div><div>What does the field void *stack indicate here?</div><div>Is it the pointer to kernel stack of the process?</div><div><br></div><div>Where is the stack pointer for the current process stored in linux?</div><div><br></div></div>