diff options
author | des <des@FreeBSD.org> | 2001-10-27 11:15:19 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-10-27 11:15:19 +0000 |
commit | f5a4c275f57e9f019767cbb7315bdf1eb0612c62 (patch) | |
tree | 17c20972c13b4a9de6a8d9b1514a15c03f12e59f /sys/alpha/linux | |
parent | 6f69985e93c752e175036d79097afa859dfd8465 (diff) | |
download | FreeBSD-src-f5a4c275f57e9f019767cbb7315bdf1eb0612c62.zip FreeBSD-src-f5a4c275f57e9f019767cbb7315bdf1eb0612c62.tar.gz |
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
Diffstat (limited to 'sys/alpha/linux')
-rw-r--r-- | sys/alpha/linux/linux_sysvec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c index 7264dca..6dd3ee5 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; |