<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">I am not sure if I understand your question correctly. But If you are referring to user mode and kernel mode in the concept of operating system, developers use system calls to complete the transition from user to kernel mode. Kernel mode or &quot;kernel code&quot; operates with system critical data structures, direct memory access, hardware manipulation and so on. In my opinion, &quot;user code&quot; should be safer than &quot;kernel code&quot;. So I&#39;m just guessing, defining the security issues(levels) of a system is how they draw the line between kernel mode and user mode.</span><div style="font-family:arial,sans-serif;font-size:13px"><br><div><a href="http://stackoverflow.com/questions/1311402/differences-between-user-and-kernel-modes" target="_blank">http://stackoverflow.com/questions/1311402/differences-between-user-and-kernel-modes</a></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 8, 2014 at 10:49 PM, <a href="mailto:xxu15@stevens.edu">xxu15@stevens.edu</a> <span dir="ltr">&lt;<a href="mailto:xxu15@stevens.edu" target="_blank">xxu15@stevens.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>





<div style="MARGIN:10px">
<div>Hi,</div>
<div style="TEXT-INDENT:2em">How to defferentiate between user code and kernel 
code ?</div>
<div style="TEXT-INDENT:2em">Is there a standard to defferentiate the boundry 
of the two ? Or just the Unix designers/engineers defined the boundry ?</div>
<div style="TEXT-INDENT:2em">Thank you.</div>
<hr style="WIDTH:210px;min-height:1px" align="left" color="#b5c4df" size="1">

<div><span>
<div style="FONT-FAMILY:verdana;FONT-SIZE:10pt">
<div>
<div>
<div>
<div>Sincerely,</div>
<div>Xiang Xu (徐祥) </div>
<div>Student ID: 10388813</div>
<div>tel: <a href="tel:%2B1%20%28201%29%20918-0570" value="+12019180570" target="_blank">+1 (201) 918-0570</a></div>
<div>      +86 
13851478402    </div>
<div>qq: 185904095</div></div></div></div></div></span></div></div>
<br>_______________________________________________<br>
cs631apue mailing list<br>
<a href="mailto:cs631apue@lists.stevens.edu">cs631apue@lists.stevens.edu</a><br>
<a href="https://lists.stevens.edu/mailman/listinfo/cs631apue" target="_blank">https://lists.stevens.edu/mailman/listinfo/cs631apue</a><br>
<br></blockquote></div><br></div>