11-30-2011
Pretty sure you can do that without modifying the kernel. You can get a complete map of valid memory segments via /proc/pid/map, and things like gdb peek into the memory of child processes all the time.
---------- Post updated at 09:50 AM ---------- Previous update was at 09:46 AM ----------
here is another thread on the subject.
9 More Discussions You Might Find Interesting
1. Linux
Hi Everyone!
How can we make a socket() system call from a linux module executing in kernel space?
If any one knows, kindly tell me. It will be great.
I want to use the socket interface in linux kernel space for sending raw packets over the network.
Hamayun (0 Replies)
Discussion started by: mian_m_hamayun
0 Replies
2. SuSE
Hi All,
Is there a max number of slabs that can be used per kernel module? I'm having a tough time finding out that kind of information, but the array 'node_zonelists' (mmzone.h) has a size of 5. I just want to avoid buffer overruns and other bad stuff.
Cheers,
Brendan (4 Replies)
Discussion started by: Brendan Kennedy
4 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Does anyone know if it is possible to know the current value of a kernel module parameters after the module is loaded. Are the values of the parameters advertised at some /proc or /sys location ?
The only thing I know is modinfo, that actually looks a the module .ko and gives a... (3 Replies)
Discussion started by: macL
3 Replies
4. Linux
Hi all,
I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/.
I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies
5. IP Networking
Hi All,
I need to develop a kernel module which changes the IP address of a package according to its mac address. It would be a sort of L2 Nat.
Somebody know if I can do this using netfilter??
Thanks. (2 Replies)
Discussion started by: lagigliaivan
2 Replies
6. Programming
can a linux kernel module call libc functions, such as printf(), strcpy(), etc...? (9 Replies)
Discussion started by: vistastar
9 Replies
7. UNIX for Advanced & Expert Users
Question may seem illogical but I still need clarification.
Can we debug kernel modules loaded on my target system using kdb / kgdb without using any other system or remote debugging?
In other words my question is can we use kdb/kgdb to debug kernel modules running on same system? (2 Replies)
Discussion started by: rupeshkp728
2 Replies
8. UNIX for Advanced & Expert Users
Hi all!
I am trying to register a device in an existing device class, but I am
having trouble getting the pointer to an existing class.
I can create a class in a module, get the pointer to it and then use
it to register the device with:
*cl = class_create(THIS_MODULE, className);... (0 Replies)
Discussion started by: hdaniel@ualg.pt
0 Replies
9. Linux
Hi everyone,
I am trying to prevent the ehci_hcd kernel module to load at boot time.
Here's what I've tried so far:
1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here):
2) Blacklisted the module by adding the following string to
3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies
LEARN ABOUT OSX
map_slippy_fetcher
map::slippy::fetcher(n) Mapping utilities map::slippy::fetcher(n)
__________________________________________________________________________________________________________________________________________________
NAME
map::slippy::fetcher - Accessing a server providing tiles for slippy-based maps
SYNOPSIS
package require Tcl 8.4
package require Tk 8.4
package require img::png
package require map::slippy
package require map::slippy::fetcher ?0.2?
::map::slippy::fetcher fetcherName levels url
fetcherName levels
fetcherName tileheight
fetcherName tilewidth
fetcherName get tile donecmd
_________________________________________________________________
DESCRIPTION
This package provides a class for accessing http servers providing tiles for slippy-based maps.
API
::map::slippy::fetcher fetcherName levels url
Creates the fetcher fetcherName and configures it with the number of zoom levels supported by the tile server, and the url it is
listening on for tile requests.
The result of the command is fetcherName.
METHODS
fetcherName levels
This method returns the number of zoom levels supported by the fetcher object, and the tile server it is accessing.
fetcherName tileheight
This method returns the height of tiles served, in pixels.
fetcherName tilewidth
This method returns the width of tiles served, in pixels.
fetcherName get tile donecmd
This is the main method of the fetcher, retrieving the image for the specified tile. The tile identifier is a list containing three
elements, the zoom level, row, and column number of the tile, in this order.
The command refix donecmd will be invoked when the fetcher either knows the image for the tile or that no image will forthcoming.
It will be invoked with either 2 or 3 arguments, i.e.
[1] The string set, the tile, and the image.
[2] The string unset, and the tile.
These two possibilities are used to either signal the image for the tile, or that the tile has no image defined for it.
REFERENCES
[1] http://wiki.openstreetmap.org/wiki/Main_Page
KEYWORDS
http, location, map, server, slippy, tile, url, zoom
map 0.2 map::slippy::fetcher(n)