Hello Everybody,

I have a problem with mmap'ing of a 0-sized file in the /proc filesystem in Linux.

I have a file of length 0. The file supports read() and write() operations and is used for communication with a device driver. Besides, the file implements the mmap() file operation, which allows to open a shared memory window between the driver in the kernel and an application in the userspace. The size of the shared...