Accessing non-current process' logical address space

From: Mike Smith
Date: Mon May 16 2005 - 11:37:24 EST


Hi all,

I'm in the process of modifying the 2.4.28 Linux
Kernel. As part of my research I?m implementing a
special system call where I need to be able to read
and write to another processes? logical-address space.

Given a process (struct task_struct* P) a logical
address space pointer (char* logical_address_ptr) and
a value (char x) is there a way to put x into P's
logical address space where logical_address_ptr points
to? I have it organized so that process P is
expecting the value at logical_address_ptr to be
modified and P is on a wait queue until it gets
modified.

I know about all the *_user macros in
include/asm-i386/uaccess.h. All of these macros act
on the current process logical address space. Are
there any similar functions that act on any arbitrary
process? logical address space? If not, are there any
thoughts on how I should go about implementing them?

Thanks in advance,
Mike




Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/