From owner-cvs-src-old@FreeBSD.ORG Thu Mar 12 13:49:01 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE2E11065670 for ; Thu, 12 Mar 2009 13:49:01 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BAB018FC18 for ; Thu, 12 Mar 2009 13:49:01 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n2CDn148096058 for ; Thu, 12 Mar 2009 13:49:01 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n2CDn1HN096057 for cvs-src-old@freebsd.org; Thu, 12 Mar 2009 13:49:01 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <200903121349.n2CDn1HN096057@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Thu, 12 Mar 2009 13:45:55 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src UPDATING src/lib/libc/sys shmctl.2 src/sys/kern sysv_shm.c src/sys/sys param.h shm.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 13:49:02 -0000 kib 2009-03-12 13:45:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) . UPDATING lib/libc/sys shmctl.2 sys/kern sysv_shm.c sys/sys param.h shm.h Log: SVN rev 189740 on 2009-03-12 13:45:55Z by kib MFC r189283: Correct types of variables used to track amount of allocated SysV shared memory from int to size_t. Implement a workaround for current ABI not allowing to properly save size for and report more then 2GB sized segment of shared memory. This makes it possible to use > 2 GB shared memory segments on 64bit architectures. Please note the new BUGS section in shmctl(2) and UPDATING note for limitations of this temporal solution. MFC r189398: Systematically use vm_size_t to specify the size of the segment for VM KPI. Do not overload the local variable size in kern_shmat() due to vm_size_t change. Fix style bug by adding explicit comparision with 0. MFC r189399: Improve the grammar and wording in the changes to shmctl(2) manpage. Put an UPDATING entry and bump __FreeBSD_version for the change. Revision Changes Path 1.507.2.21 +13 -0 src/UPDATING 1.18.10.1 +10 -0 src/lib/libc/sys/shmctl.2 1.111.2.1 +15 -11 src/sys/kern/sysv_shm.c 1.308.2.23 +1 -1 src/sys/sys/param.h 1.24.2.1 +1 -0 src/sys/sys/shm.h