vm question

Karl Heyes (karl@ronin.u-net.com)
Thu, 19 Mar 1998 02:09:53 +0000 (GMT)


I have a program that builds up a IPC shared map and notifies the kernel
of its address. The kernel part picks up the address correctly.

The map contains information for a file system and is readable to
everyone, the access it has is ok. What I want to know is can I access
the map without attaching/mmapping to it every time the FS routines
are called.

The map is verified at the sysctl call, so that isn't a problem. However
if programs that access the filesystem need to attach/unattach I'll do
the shmat/shmdt calls before accessing the map.

I'm still fairly new to this 'hack the kernel' game, and I don't know
of anything similar for examples.

cheers

karl.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu