Fix the build after commit 5fa005e915

Fixes:	5fa005e915 ("exec: Reimplement stack address randomization")
This commit is contained in:
Mark Johnston 2022-02-16 13:32:18 -05:00
parent 3069b3f61d
commit 2a454b54bf
2 changed files with 4 additions and 1 deletions

View file

@ -45,7 +45,10 @@ __FBSDID("$FreeBSD$");
#include <sys/sysctl.h>
#include <sys/sysent.h>
#include <vm/vm.h>
#include <vm/pmap.h>
#include <vm/vm_param.h>
#include <vm/vm_map.h>
#include <arm64/linux/linux.h>
#include <arm64/linux/linux_proto.h>

View file

@ -1194,7 +1194,7 @@ exec_new_vmspace(struct image_params *imgp, struct sysentvec *sv)
}
}
return (sv->sv_onexec != NULL ? sv->sv_onexec(p, imgp) : 0);
return (0);
}
/*