#18 closed enhancement (fixed)
read() on /dev/kmem may fail, needs workaround
Reported by: | rainer | Owned by: | rainer |
---|---|---|---|
Priority: | major | Milestone: | 2.2.1 |
Component: | main | Version: | 2.2.0 |
Keywords: | Cc: |
Description
On recent kernels, read() on /dev/kmem may fail, although mmap() will succeed. On older kernels, using mmap() may result in problems. The solution would be to try read() first, and fallback on mmap() if read() fails.
Note:
See TracTickets
for help on using tickets.
Fixed in changeset [41].