Re: /dev/mem

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

 



> ÂIMHO, I feel mem could have been restricted to device addresses rather than memory address.
> Though at this point I do not know whether it servers any bigger purpose.

Clever point - and actually there is a configuration option in the
kernel that does what you describe since 2.6.27:

http://cateee.net/lkddb/web-lkddb/STRICT_DEVMEM.html

If set, access through /dev/mem is restricted to memory-mapped devices.

Alex.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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