lkml.org 
[lkml]   [1997]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectmprotect + linux 2.0.24 + SIGBUS

Hi!

I'm working with mmap and mprotect functions. After I mmaped a
region that contain some memory pages, I give a read-only permission to
one of the pages. When I try to write on this read-only page, no signal is
generated. This same program, running on a SunOs system, generate a
SIGSEGV signal and on a FreeBSD system a SIGBUS signal. Looking at man I
have founded a SIGBUS is missing. And from kernel version 2.0.24 until
version 2.1.20, no signal SIGBUS or SIGSEGV is generated.
Please send any hints and comments.

Thanks in advance,


Mario


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.022 / U:7.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site