strace-4.10 cannot decode string

Justin Huang yohuang at nvidia.com
Tue Mar 31 07:59:19 UTC 2015


Hi Dmitry,

I patched the changes in util.c and re-compiled strace. The results are the same as before and still cannot show filenames. 

Thanks,
Justin

-----Original Message-----
From: Dmitry V. Levin [mailto:ldv at altlinux.org] 
Sent: 2015年3月31日 8:00
To: Justin Huang
Cc: strace-devel at lists.sourceforge.net
Subject: Re: strace-4.10 cannot decode string

* PGP Signed by an unknown key

Hi,

On Thu, Mar 12, 2015 at 02:00:05PM +0000, Justin Huang wrote:
> Hi strace-developers,
> 
> I ran the sample hello.c code on strace 4.5.8 and 4.10.  Version 4.5.8 can show the text print "hello world" with write() in log while 4.10 only show some number which may be the address.

Looks like a hardened kernel where process_vm_readv fails with EPERM.
To confirm this hypothesis, try the patch from http://sourceforge.net/p/strace/mailman/message/33674829/


--
ldv

* Unknown Key
* 0x9E35361E

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------


More information about the Strace-devel mailing list