title: requirement of root privileges for libpcap functions
body: <p>The <code>pcap_lookupdev()</code> fills in the errbuf variable when run as non-root user, while the same functions returns the value of the first available network interface when run as root.</p>
  
  <p>Is this access disabled by the OS or the library. I think it is the OS. What is the right answer? </p>
  
  <p><em>This is not a homework question</em></p>