diff options
Diffstat (limited to 'sys/i386/linux')
-rw-r--r-- | sys/i386/linux/imgact_linux.c | 4 | ||||
-rw-r--r-- | sys/i386/linux/linux_misc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/linux/imgact_linux.c b/sys/i386/linux/imgact_linux.c index 4d6d3c1..8967a6a2 100644 --- a/sys/i386/linux/imgact_linux.c +++ b/sys/i386/linux/imgact_linux.c @@ -28,7 +28,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: imgact_linux.c,v 1.10 1996/03/10 08:42:49 sos Exp $ + * $Id: imgact_linux.c,v 1.11 1996/03/10 23:25:17 peter Exp $ */ #include <sys/param.h> @@ -137,7 +137,7 @@ exec_linux_imgact(imgp) error = vm_mmap(kernel_map, &buffer, round_page(a_out->a_text + a_out->a_data + file_offset), - VM_PROT_READ, VM_PROT_READ, MAP_FILE, + VM_PROT_READ, VM_PROT_READ, 0, (caddr_t) imgp->vp, trunc_page(file_offset)); if (error) return error; diff --git a/sys/i386/linux/linux_misc.c b/sys/i386/linux/linux_misc.c index bf242d9..c78b6b9 100644 --- a/sys/i386/linux/linux_misc.c +++ b/sys/i386/linux/linux_misc.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_misc.c,v 1.14 1996/03/04 21:03:07 peter Exp $ + * $Id: linux_misc.c,v 1.15 1996/03/10 23:25:17 peter Exp $ */ #include <sys/param.h> @@ -333,7 +333,7 @@ printf("uselib: Non page aligned binary %d\n", file_offset); /* map file into kernel_map */ error = vm_mmap(kernel_map, &buffer, round_page(a_out->a_text + a_out->a_data + file_offset), - VM_PROT_READ, VM_PROT_READ, MAP_FILE, + VM_PROT_READ, VM_PROT_READ, 0, (caddr_t)vp, trunc_page(file_offset)); if (error) goto cleanup; |