linux: Disable stack protector for __LinuxForkReturn()

This commit is contained in:
EnderIce2 2024-10-20 03:01:30 +03:00
parent f57ad7fc81
commit 0edd84c8a8
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -730,7 +730,7 @@ struct __old_kernel_stat StatToOKStat(struct kstat stat)
return okstat;
}
void __LinuxForkReturn(void *tableAddr)
__no_stack_protector void __LinuxForkReturn(void *tableAddr)
{
#if defined(a64)
asmv("movq %0, %%cr3" ::"r"(tableAddr)); /* Load process page table */