This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: How to change a string type argument of a system call?
Josh Stone <jistone@redhat.com> writes:
> [...]
> Correct -- the open syscall gets the filename using strncpy_from_user,
> which verifies that the pointer is within the user's address space.
>
> I can think of a few options for you:
> [...]
5) use set_fs(KERN_DS) in some entry-probe-time embedded-c, with
a corresponding set_fs(USER_DS) or whatnot at return-probe-time.
- FChE