[PATCH] [Server]: fix access rights for console creation (#24792)

Alexandre Julliard julliard at winehq.org
Wed Oct 27 05:22:48 CDT 2010

Eric Pouech <eric.pouech at orange.fr> writes:

> 2010/10/27 Alexandre Julliard <julliard at winehq.org>
>> These should be fixed then.
>> this will require moving more than half a dozen of operations done client
> side to the server so that it does read the attributes
> that's both:
> 1/ a tremendous change
> 2/ will either move most of console handling into the server, or more the
> access control on the client side. and I'd bet none of those two options
> you'll like

I think the first step should be to fix the detection of bare console
handles by checking for an fd instead of doing a console server
call. That should make things faster, and avoid most of the problem

Then if the client side really can't be fixed, then it's the client side
that should be requesting extra permissions, not the server compensating
for the client bugs.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list