[PATCH 1/8] server: Introduce kernel_object struct for generic association between server and kernel objects.

Alexandre Julliard julliard at winehq.org
Mon Mar 25 06:02:40 CDT 2019


Jacek Caban <jacek at codeweavers.com> writes:

> Signed-off-by: Jacek Caban <jacek at codeweavers.com>
> ---
>
> This is a version of my previous patchset that was changed to allow
> association only with object types that support it. It adds support
> for event objects as an example, more object types are in my queue.
>
> I hit the problem while debugging MRAC anti-cheat module, but it
> solves a more general problem of kernel object limitations. Bugs
> 46804, 46205, 45844 and 29460 should be straightforward on top of this
> series.

In general the series looks good.

> +    /* return list of kernel objects */
> +    struct list *(*get_kernel_object)(struct object *);

I found it a bit confusing that get_kernel_object() doesn't return an
object, but a list. Something like get_kernel_obj_list() would be
clearer.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list