On 06.08.2008, Chandrashekhar B wrote:
> > Also, why can't the socket fd be 
> > less than 4?  I could sort of understand 3 (0, 1, 2 are already taken by
> > the standard streams) but 4? Does the openvas server and/or the NASL
> > interpreter guarantee that at least one other file is open?
>
> Yes, the rest of the code seems to just validate for NULL. I always get 4,
> let me see if I can do some testing to figure who's eating up 3.

According to /proc/<pid>/fd/, on my system fd 3 is /dev/urandom and fd 4 is 
the nasl script.  That's on a Debian Etch GNU/Linux system.

  Bernhard

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Openvas-devel mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-devel

Reply via email to