Message140806
| Author | superbobry |
|---|---|
| Recipients | neologix, rosslagerwall, superbobry |
| Date | 2011-07-21.11:02:51 |
| SpamBayes Score | 0.0032193284 |
| Marked as misclassified | No |
| Message-id | <1311246172.63.0.917851479965.issue12556@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
> Do you have an example of a /proc entry with st_size == 0 that can be mmapped > (mapping /proc/sys/debug/exception-trace fails with EACCESS)? Yes, I've ran into the issue, while trying to mmap /proc/xen/xsd_kva, which is an interface to XenBus [1]. Unfortunately, I'm not aware of any other cases. By the way, I've checked mmap(2) manpage -- it looks like the C-version has nothing against mmaping 0-sized files, Why does Python's `mmap` still checks file size? [1] http://wiki.xensource.com/xenwiki/XenBus |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-07-21 11:02:52 | superbobry | set | recipients: + superbobry, neologix, rosslagerwall |
| 2011-07-21 11:02:52 | superbobry | set | messageid: <1311246172.63.0.917851479965.issue12556@psf.upfronthosting.co.za> |
| 2011-07-21 11:02:52 | superbobry | link | issue12556 messages |
| 2011-07-21 11:02:51 | superbobry | create | |