<p>Hi All,<br> <br>I am trying to access /dev/mem in my user process. I could not access because not a privileged access. I tried to use iopl(3) call in linux 2.6, but i am getting unresolved symbol for this.  Is any other way to get access in user process. I am not sure how to solve this. Can you someone throw some light on this.<br>
 <br>   if(iopl(3)){<br>        fprintf(stderr, &quot;Cannot get I/O permissions (being root helps)&quot;);<br>        return -1;<br>    }<br>  if ((fd = open(&quot;/dev/mem&quot;, O_RDWR | O_SYNC)) &lt; 0) {<br>        fprintf(stderr, &quot;Failed to open /dev/mem&quot;);<br>
        return -1;<br>    }</p>
<p>-- <br>Regards,<br>S. Sengottuvelan.<br clear="all"><br>-- <br>Regards,<br>S. Sengottuvelan.<br></p>