Patch-ID#  100090-01
Keywords: mmap, mprotect, writing, prot_read, sigbus, sigsegv
Synopsis:writing to an PROT_READ area is giving SIGBUS not SIGSEGV
Date: July/23/90
 
SunOS release: 4.1
 
Unbundled Product:
 
Unbundled Release:
 
Topic:
 
BugId's fixed with this patch:  1039275

Architectures for which this patch is available: sun3 sun3x sun4 sun4c

Obsoleted by: 4.1.2

Problem Description:

        (BugId # 1039275)

	The bug exists because numerous attempts at rationalizing
	error handling in various layers of the system resulted
	in an inconsistency. This would cause protection faults in
	a mapping range with different per-page protections to return
	the wrong low-level error for protection violations.



Installation Instructions:


Install instructions:

   Use the appropriate seg_vn.o depending on what arch. of hardware
   the system is running.

   Make sure you are root when doing the following:
   Assums you put the patchs in /tmp
   cd /sys/`arch -k`/OBJ
   mv seg_vn.o seg_vn.o.orig
   cp /tmp/`arch -k`/seg_vn.o .

   
   Rebuild the new kernel and reboot the system.
   
