From a08d68de5b4598f217e7af16710d027e2e20d816 Mon Sep 17 00:00:00 2001 From: Dag-Erling Smørgrav Date: Sat, 27 Oct 2001 11:15:19 +0000 Subject: Eliminate the prefix parameter to linux_emul_find(), which was always linux_emul_path anyway. Linux_emul_find() has interesting bugs in its prefix handling (which luckily are not currently exploitable); this commit is preliminary to an attempt at cleaning it up. Approved by: marcel --- sys/alpha/linux/linux_sysvec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/alpha/linux/linux_sysvec.c') diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c index 7264dca45f274..6dd3ee5f9efcd 100644 --- a/sys/alpha/linux/linux_sysvec.c +++ b/sys/alpha/linux/linux_sysvec.c @@ -153,8 +153,8 @@ exec_linux_imgact_try(imgp) if ((error = exec_shell_imgact(imgp)) == 0) { char *rpath = NULL; - linux_emul_find(&imgp->proc->p_thread, NULL,/* XXXKSE */ - linux_emul_path, imgp->interpreter_name, &rpath, 0); + linux_emul_find(&imgp->proc->p_thread, NULL, + imgp->interpreter_name, &rpath, 0); if (rpath != imgp->interpreter_name) { int len = strlen(rpath) + 1; -- cgit v1.3