This commit is contained in:
Bernhard Stoeckner
2024-12-17 16:59:50 +01:00
parent 7a6a5a1f9a
commit 346011d45c
37 changed files with 755 additions and 564 deletions

View File

@@ -682,6 +682,9 @@ static void uvm_vm_open_semaphore_pool(struct vm_area_struct *vma)
// Semaphore pool vmas do not have vma wrappers, but some functions will
// assume vm_private_data is a wrapper.
vma->vm_private_data = NULL;
#if defined(VM_WIPEONFORK)
nv_vm_flags_set(vma, VM_WIPEONFORK);
#endif
if (is_fork) {
// If we forked, leave the parent vma alone.