[PATCH 1/4] ntdll: Implement retrieving DOS attributes in NtQueryInformationFile (try 2).

Alexandre Julliard julliard at winehq.org
Fri Dec 19 11:40:34 CST 2014


"Erich E. Hoover" <erich.e.hoover at gmail.com> writes:

> Well, this was our logic:
> *) We suspect that you may want patch 4 (108301) implemented in the
> wineserver so that attributes are stored like they are for fstat() on
> file creation (to prevent problems with lockfiles).
> *) We need extended attribute support in the wineserver to implement
> security descriptors/ACLs (which, unfortunately, cannot be done in
> ntdll).
> *) You may want to expose extended attributes as a winelib convenience
> feature for porting your customer’s applications.
>
> We could also move all the file information gathering to the
> wineserver, but we suspected that the overhead in doing that was not
> something that you’d be a huge fan of.
>
> I’m very open to changing the interface, I would have preferred to use
> the standard Linux interface - but Mac OS X screws that all up by
> having a different number of parameters for the same functions.  We
> could use the BSD or Solaris interface if you prefer, but they are
> quite a bit different than what most people would expect (if they’re
> familiar with the Linux/OSX interface).

Depending on the size of the functions, copying them into the server may
be preferable. In any case it would be a good idea to submit the rest of
the patches so we can see where this is going.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list