Change stack address on Windows
I rebooted Windows 7 and noticed that KERNEL32.DLL got relocated. Microsoft needs to change and embrace the dream that was MULTICS. Until then we'll need a better way to work around their dominion.
This commit is contained in:
@@ -84,8 +84,7 @@ textwindows int ntspawn(
|
||||
mkntenvblock(block->envvars, envp) != -1) {
|
||||
if (CreateProcess(NULL, block->cmdline, opt_lpProcessAttributes,
|
||||
opt_lpThreadAttributes, bInheritHandles,
|
||||
dwCreationFlags | kNtCreateNewProcessGroup |
|
||||
kNtCreateUnicodeEnvironment,
|
||||
dwCreationFlags | kNtCreateUnicodeEnvironment,
|
||||
block->envvars, opt_lpCurrentDirectory, lpStartupInfo,
|
||||
opt_out_lpProcessInformation)) {
|
||||
rc = 0;
|
||||
|
||||
Reference in New Issue
Block a user