[PATCH v4 1/3] ntdll: Reimplement NtQuerySystemInformation(SystemProcessInformation) using a single server call.

Alexandre Julliard julliard at winehq.org
Mon Jul 6 14:08:23 CDT 2020


Zebediah Figura <z.figura12 at gmail.com> writes:

> Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
> ---
> v4: always align to 8 bytes, which will be necessary if 8-byte types are added
> to the process_info and thread_info structures. We cannot rely on TYPE_ALIGNMENT
> in this case as "long long" has alignment 4 on i386.
>
>  dlls/ntdll/unix/system.c | 177 ++++++++++++++++-----------------------
>  server/process.c         |  64 ++++++++++++++
>  server/protocol.def      |  30 +++++++
>  server/trace.c           |  35 ++++++++
>  4 files changed, 202 insertions(+), 104 deletions(-)

This is causing server crashes in the kernel32:process test (because exe
module is NULL). If I work around that, it then fails in the
kernel32:toolhelp tests. Could you please have a look?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list