[PATCH v3 4/4] ntdll: Add stub for NtCreateLowBoxToken

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Thu Aug 16 04:21:03 CDT 2018


Hi Fabian


On 16/08/18 15:01, Fabian Maurer wrote:
> This is required by chromium x64 sandbox >=win8
> chrome for some reason is not affected
>
> +
> +NTSTATUS WINAPI NtCreateLowBoxToken(HANDLE *token_handle, HANDLE existing_token_handle, ACCESS_MASK desired_access,
> +                                    OBJECT_ATTRIBUTES *object_attributes, SID *package_sid, ULONG capability_count,
> +                                    SID_AND_ATTRIBUTES *capabilities, ULONG handle_count, HANDLE *handle)
> +{
> +    /* We need to return a NULL handle since later it will be passed to CloseHandle and that must not fail */
> +    *token_handle = NULL;
> +    return STATUS_SUCCESS;
> +}
>
Your missing a FIXME.

Regards
 Alistair.


More information about the wine-devel mailing list