On Mon, May 28, 2007 at 09:59:19PM +0100, Edd Barrett wrote:
> Hi,
> 
> >> Maybe your path is not set correctly (for this specific problem).
> 
> Today has been one dumb mistake after another. I apologize.
> 
> I'll do it properly shall I:
> 
> # sysctl -a | grep linux
> kern.emul.linux=1
> # ls -al a.out
> -rwxr-xr-x  1 edd  edd  1176578 May 28 13:18 a.out
> # file a.out
> a.out: ELF 32-bit LSB executable, Intel 80386, version 1, for
> GNU/Linux 2.6.9, statically linked, not stripped
> # uname -a
> OpenBSD puff.langash.lan 4.1 GENERIC#1435 i386
> # ktrace ./a.out
> ktrace: exec of './a.out' failed: Operation not permitted
> # kdump -f ktrace.out
>  8108 ktrace   RET   ktrace 0
>  8108 ktrace   CALL  execve(0xcfbdc9d3,0xcfbdc89c,0xcfbdc8a4)
>  8108 ktrace   NAMI  "./a.out"
>  8108 ktrace   RET   execve -1 errno 1 Operation not permitted

you sure the file system where a.out is allows execution?
cu
-- 
    paranoic mickey       (my employers have changed but, the name has remained)

Reply via email to