[DGD] state[previous_object()] in kernel??

Felix A. Croes felix at dworkin.nl
Sat Jul 31 00:20:08 CEST 2010


Krister Svanlund <krister.svanlund at gmail.com> wrote:

> I'm curious about a particular implementation in kernel lib, why is
> the state variable in `obj/user.c` a mapping and not just an int? I'm
> guessing this also might answer my questions about where the code for
> disconnecting duplicate users are (if I log in with the `admin` user
> when already logged in).

You'll get your answer when you look at how the state variable is
used in kernel/obj/user.c.

Regards,
Felix Croes



More information about the DGD mailing list