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

Krister Svanlund krister.svanlund at gmail.com
Sat Jul 31 01:31:41 CEST 2010


On Sat, Jul 31, 2010 at 12:20 AM, Felix A. Croes <felix at dworkin.nl> wrote:
> 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
> ___________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd
>

Actually no, I've read through the file several time and just can't
understand why it should be a mapping where, according to me, it never
should contain more then one element ([the_conn_object:
the_current_state]). This is the under the assumption that the
connection object never changes for a single user.



More information about the DGD mailing list