Date: Fri, 10 Mar 2000 01:11:26 -0800 (PST) From: Alan Cox <alc@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sysv_shm.c Message-ID: <200003100911.BAA61799@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2000/03/10 01:11:26 PST Modified files: sys/kern sysv_shm.c Log: 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 Revision Changes Path 1.45 +5 -1 src/sys/kern/sysv_shm.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003100911.BAA61799>