[PATCH 1/4] server: Allow named pipes creation with device file as root directory.

Alexandre Julliard julliard at winehq.org
Wed Nov 11 13:09:30 CST 2020


Paul Gofman <pgofman at codeweavers.com> writes:

> @@ -1350,28 +1350,39 @@ DECL_HANDLER(create_named_pipe)
>      struct named_pipe *pipe;
>      struct pipe_server *server;
>      struct unicode_str name;
> -    struct object *root;
> +    struct object *root = NULL;
>      const struct security_descriptor *sd;
> -    const struct object_attributes *objattr = get_req_object_attributes( &sd, &name, &root );
> +    const struct object_attributes *objattr = get_req_object_attributes( &sd, &name, NULL );

It should be possible to make get_req_object_attributes() not require a
directory instead.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list