[fpc-pascal] Check root privs

Michaÿffffb3 Woÿffff9fniak mikiwoz at yahoo.co.uk
Mon Mar 14 11:17:35 CET 2005

Hi there.

First of all, I am new here and would like to say
"Hello" to all you guys on this list.

Now the question:
I am developing a simple program under Linux, that is
to use RAW sockets. Therefore it *requires* root
Does anyone know how to check for them _before_ I get
an AV trying to send using a RAW socket? :)
[Obviously, I handle the exception, but I need to tell
the user they need root privs]


Send instant messages to your online friends http://uk.messenger.yahoo.com 

More information about the fpc-pascal mailing list