lkml.org 
[lkml]   [1998]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectvm question


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

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.029 / U:1.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site