mprotect + linux 2.0.24 + SIGBUS

Mario Donato Marino (mario@lsi.usp.br)
Wed, 15 Jan 1997 07:50:08 -0500 (EST)


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