Jinoh Kang (@iamahuman) commented about dlls/ntdll/unix/server.c:
- const intptr_t alignment_bits = 16 - 1; /* (16-bytes on amd64) */
- if (!context)
- {
return STATUS_ACCESS_VIOLATION;
- }
- /* context must be aligned */
- if ((intptr_t)context & alignment_bits)
- {
return STATUS_DATATYPE_MISALIGNMENT;
- }
- if (options <= (CONTINUE_OPTIONS *)0xff)
- {
alertable = (BOOLEAN)(intptr_t)options;
I'm not sure about this. Does `options = (CONTINUE_OPTIONS *)2` mean alertable too?