2000-12-04 04:10:45

by Erik Paulson

[permalink] [raw]
Subject: Exporting access_process_vm

Hi,
Back in September, David Howells sent in a one-line patch that just
exported
access_process_vm. It doesn't seem to have been applied, and there was no
discussion of it.

Was it simply overlooked, or was there a good reason not to apply it and no
one
ever replied to the list about it?

I'm dragging some checkpointing code into the Wonderful World of Linux 2.4,
and it'd
be great if I could chuck all the scary
walk-the-page-tables-and-hope-it-works
code that's currently in there with more modern stuff.

Thanks!

-Erik

This was the original message: (I can re-create the "patch" against the
current
release, but it seemed straight-forward enough :)

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Could you please apply this little patch to export access_process_vm()?

Cheers,
David Howells
=============

diff -uNr linux-2.4.0-test8-orig/kernel/ksyms.c
linux-2.4.0-test8/kernel/ksyms.c
--- linux-2.4.0-test8-orig/kernel/ksyms.c Fri Sep 15 00:04:36 2000
+++ linux-2.4.0-test8/kernel/ksyms.c Mon Sep 11 23:39:38 2000
@@ -123,6 +123,7 @@
EXPORT_SYMBOL(find_vma);
EXPORT_SYMBOL(get_unmapped_area);
EXPORT_SYMBOL(init_mm);
+EXPORT_SYMBOL(access_process_vm);
#ifdef CONFIG_HIGHMEM
EXPORT_SYMBOL(kmap_high);
EXPORT_SYMBOL(kunmap_high);