Alan Cox af25d10c91 shmat: If VM_PROT_READ_IS_EXEC is defined and prot includes VM_PROT_READ,
VM_PROT_EXECUTE must be added to prot before calling vm_map_find.

Without this change, an mprotect on a shmat'ed region fails (when
it shouldn't).  This bug was reported Feb 28 by Brooks Davis
<brooks@one-eyed-alien.net> on -hackers.

Reviewed by:	bde
Approved by:	jkh
2000-03-10 09:11:24 +00:00
..
1999-08-28 01:08:13 +00:00
1999-11-21 12:38:21 +00:00
1999-10-29 18:09:36 +00:00
2000-02-13 10:56:32 +00:00
1999-10-11 15:00:09 +00:00
1999-10-29 18:09:36 +00:00
1999-08-19 16:06:08 +00:00
2000-02-13 10:56:32 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-11-14 13:54:44 +00:00
1999-10-05 21:19:41 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-10-12 02:54:23 +00:00
1999-11-21 19:03:20 +00:00
2000-02-29 22:58:59 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-10-29 18:09:36 +00:00