Skip to content

Commit

Permalink
HBSD ASLR: fix merge conflict in vm/vm_mmap.c
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Pinter <[email protected]>
  • Loading branch information
opntr committed Jul 2, 2015
1 parent 432c538 commit 6787dce
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions sys/vm/vm_mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,16 +333,13 @@ sys_mmap(td, uap)
addr < round_page((vm_offset_t)vms->vm_daddr +
lim_max(td, RLIMIT_DATA))))
addr = round_page((vm_offset_t)vms->vm_daddr +
<<<<<<< HEAD
lim_max_proc(td->td_proc, RLIMIT_DATA));
lim_max(td, RLIMIT_DATA));
#ifdef PAX_ASLR
PROC_LOCK(td->td_proc);
pax_aslr_mmap(td->td_proc, &addr, (vm_offset_t)uap->addr, flags);
pax_aslr_done = 1;
#endif
PROC_UNLOCK(td->td_proc);
=======
lim_max(td, RLIMIT_DATA));
>>>>>>> origin/master
#endif
}
if (size == 0) {
/*
Expand Down

0 comments on commit 6787dce

Please sign in to comment.