Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jul 1999 20:42:58 +0200
From:      Marcel Moolenaar <marcel@scc.nl>
To:        Peter Wemm <peter@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern imgact_elf.c
Message-ID:  <378642B2.102CB219@scc.nl>
References:  <199907091805.LAA76585@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Wemm wrote:
> 
> peter       1999/07/09 11:05:05 PDT
> 
>   Modified files:
>     sys/kern             imgact_elf.c
>   Log:
>   Minor tweak - don't cause a warning.
>   I don't know if it was intentional or not, but it would have printed out:
>     /compat/linux/foo/bar.so: interpreter not found
>   If it was, then I've broken it.  De-constifying the 'interp' variable
>   or carrying the constness through to elf_load_file() are alternatives.

It was intentional. The error would pop up if either
1) /compat/<emu> is not populated, or
2) the binary is started in a chroot'd env other than /compat/<emu>.
Having /compat/<emu> in the error immediately rings a bell (I hope).

-- 
Marcel Moolenaar                                  mailto:marcel@scc.nl
SCC Internetworking & Databases                     http://www.scc.nl/
Amsterdam, The Netherlands                         tel: +31 20 4200655


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?378642B2.102CB219>