Messages in this thread |  | | From | aprasad@in ... | Date | Tue, 14 Nov 2000 17:35:43 +0530 | Subject | Oops when using MAP_SHARED with do_mmap |
| |
Hi, I have written a simple char device which allocate a page size buffer and maps this to user-land via mmap-ing. it works if i specify MAP_PRIVATE as flag in do_mmap but i am getting oops with MAP_SHARED flag. i am using 2.4-test10 kernel.
attached are files. (See attached file: char.c)code for the module. (See attached file: mmap.c)test code.
thanks and regards, anil [unhandled content-type:application/octet-stream][unhandled content-type:application/octet-stream] |  |