7 Mar
2024
7 Mar
'24
9:13 p.m.
Alexandre Julliard (@julliard) commented about dlls/ntdll/unix/process.c:
switch (class) { + case ProcessAccessToken: + { + const PROCESS_ACCESS_TOKEN *token = info; + + if (size != sizeof(PROCESS_ACCESS_TOKEN)) return STATUS_INFO_LENGTH_MISMATCH; + + SERVER_START_REQ( set_process_token ) + { + req->process = wine_server_obj_handle( handle ); + req->token = wine_server_obj_handle( token->Token ); + ret = wine_server_call( req ); + }
This could be added to the `set_process_info` request, to follow the existing pattern. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5228#note_63903