[DGD] ownership

Felix A. Croes felix at dworkin.nl
Sat Nov 3 23:23:00 CET 2007


"chris ." <psych_mayo at hotmail.com> wrote:

> Just a little confused on some aspects of the kernel libraries ownership and security scheme.
> To cut to the chase, I want to destruct a cloned kernel object from a daemon in usr/System/.
> I am trying to do this without altering the kernel library.  I already have a solution that does, 
> but i would like to leave the kernel library untouched.  Trying to destruct from my daemon
> gives me an ownership error.  Calling a function in the object that would result in it being 
> destructed does nothing (i am trying to destruct the  connection object from inside telnetd, 
> in the query_banner function.  Destructs connections of sitebanned ips).

The kernel library does not allow you to destruct objects in this
manner.  The easiest way to close a connection immediately would be
to return -1 from query_timeout() in the connection manager.

Regards,
Dworkin



More information about the DGD mailing list