[lkml]   [1996]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectstrace BROKEN since 1.3.96


Kernel 1.3.96 breaks strace-3.0.8, because strace
reads "/proc/<pid>/mem" to access a tasks memory.

Reading this file seems to be no longer permitted,
except for the task <pid> itself.

What access method for the data segment of a process should we use?

As a quick fix I copied the oldway for SUNOS4, using request
PTRACE_PEEKDATA for ptrace (function "umoven" in file "util.c").

Surprisingly it works!

Martin Pirker <>
Vienna University of Technology, Austria
Computer Graphics Dept.

 \ /
  Last update: 2005-03-22 13:37    [W:0.015 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site