Demystifying the Secure Enclave Processor
LytVKz
LytVKz
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
proc_has_privilege( )<br />
int proc_has_privilege( int pid )<br />
{<br />
int result;<br />
if ( pid > MAXPID )<br />
return 0;<br />
result = 0;<br />
}<br />
if ( proctab[ pid ].privileged )<br />
{<br />
result = 1;<br />
}<br />
Set on process creation<br />
if name is upper-case<br />
return result;