Re: exu not working

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hmm ...

Judging by the attachment you provided, I'd have to say that you don't
have permission to execute the file handle 3 "/proc/self/fd/3", i.e.
the server you are running exu on  is not compatible with UPX compression it
would appear.

jbrown

On Sun, Feb 09, 2003 at 11:31:46PM -0000, tubby.toast at ntlworld.com wrote:
<snip>
> Robert Craig wrote:
<snip>
> 
> > 3. Other things to try:
> >      run:
> >        strace -o junk exu
> >     "junk" will have the system calls that exu executed.
> > 
> I don't really understand the output, so I've attatched it.
> 
> Thanks for your help,
> chris.
> 
> 
> 
> TOPICA - Start your own email discussion group. FREE!

> execve("/home/chrissy/bin/exu", ["exu"], [/* 21 vars */]) = 0
> open("/proc/self/exe", O_RDONLY)        = 3
> lseek(3, 1644, SEEK_SET)                = 1644
> read(3, "C\376_\21p\36\3\0p\36\3\0", 12) = 12
> getpid()                                = 415
> gettimeofday({1044832552, 664475}, NULL) = 0
> unlink("/tmp/upxHRHHULVAAPZ")           = -1 ENOENT (No such file or
> directory)
> open("/tmp/upxHRHHULVAAPZ", O_WRONLY|O_CREAT|O_EXCL, 0700) = 4
> ftruncate(4, 204400)                    = 0
> old_mmap(NULL, 206448, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> = 0x40000000
> read(3, "p\36\3\0002H\1\0", 8)          = 8
> read(3, "\177?d\371\177ELF\1\0\2\0\3\0\r \255\4\377\333\330\335"..., 84018) =
> 84018
> write(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0 \255\4"..., 204400)
> = 204400
> read(3, "\0\0\0\0UPX!", 8)              = 8
> munmap(0x40000000, 206448)              = 0
> close(3)                                = 0
> close(4)                                = 0
> open("/tmp/upxHRHHULVAAPZ", O_RDONLY)   = 3
> fcntl(3, F_GETFD)                       = 0
> fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
> unlink("/tmp/upxHRHHULVAAPZ")           = 0
> execve("/proc/self/fd/3", ["exu"], [/* 21 vars */]) = -1 EACCES (Permission
> denied)
> execve("/dev/fd/3", ["exu"], [/* 21 vars */]) = -1 EACCES (Permission denied)
> unlink("/tmp/upxHRHHULVAAPZ")           = -1 ENOENT (No such file or
> directory)
> _exit(127)                              = ?


-- 
 /"\  ASCII ribbon              | 
 \ /  campain against           | Linux User:190064
  X   HTML in e-mail and        | Linux Machine:84163
 /*\  news, and unneeded MIME   |

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu