Passing a memory map

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
it is well known that a file descritor can be passed from a process to another. 
Is it possible to modify the kernel to allow the same thing to be done
with memory maps?
If it would be possible to do it, i would like to try to implement it
myself, so do you have
any hint (where i should start, what i should learn)? 
It could be useful in the following case: suppose a server running as
root opens /dev/mem and would like to allow a client to access a small
portion of /dev/mem. It cannot pass to the client the whole file
descriptor to /dev/mem!

Thanx
Maurizio

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux