From owner-freebsd-bugs Mon Feb 5 17: 0:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E52DD37B69D for ; Mon, 5 Feb 2001 17:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f16102817331; Mon, 5 Feb 2001 17:00:02 -0800 (PST) (envelope-from gnats) Date: Mon, 5 Feb 2001 17:00:02 -0800 (PST) Message-Id: <200102060100.f16102817331@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Garrett Wollman Subject: i386/24886: Cant msync memory mapped file onto desk. Reply-To: Garrett Wollman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/24886; it has been noted by GNATS. From: Garrett Wollman To: ikqumei@computer.org Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: i386/24886: Cant msync memory mapped file onto desk. Date: Mon, 5 Feb 2001 19:50:44 -0500 (EST) < ofbuf = (char*)mmap(NULL, ofsz, PROT_READ|PROT_WRITE, /*MAP_DENYWRITE*/MAP_PRIVATE, hOldFile, 0); You have specified a private memory mapping. Modifications made to such mappings are *never* visible anywhere outside that mapping. Use MAP_SHARED to create a mapping which modifies globally-visible state. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message