From owner-svn-src-all@FreeBSD.ORG Thu Mar 5 12:04:43 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB5B310658F7; Thu, 5 Mar 2009 12:04:42 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AC83C8FC23; Thu, 5 Mar 2009 12:04:42 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n25C4g55073028; Thu, 5 Mar 2009 12:04:42 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n25C4g6c073026; Thu, 5 Mar 2009 12:04:42 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <200903051204.n25C4g6c073026@svn.freebsd.org> From: Konstantin Belousov Date: Thu, 5 Mar 2009 12:04:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189399 - in head: . lib/libc/sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 12:05:03 -0000 Author: kib Date: Thu Mar 5 12:04:42 2009 New Revision: 189399 URL: http://svn.freebsd.org/changeset/base/189399 Log: Hopefully, improve the grammar and wording in the changes to shmctl(2) manpage and UPDATING entry 20090302. UPDATING changes suggested by bf2006a yahoo com. man page corrections by bde. Modified: head/UPDATING head/lib/libc/sys/shmctl.2 Modified: head/UPDATING ============================================================================== --- head/UPDATING Thu Mar 5 11:45:42 2009 (r189398) +++ head/UPDATING Thu Mar 5 12:04:42 2009 (r189399) @@ -23,11 +23,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 8. ln -s aj /etc/malloc.conf.) 20090302: - The workaround is committed to allow to create System V shared - memory segment of size > 2 Gb on the 64-bit architectures. - Due to limitation of the existing ABI, the shm_segsz member + A workaround is committed to allow the creation of System V shared + memory segment of size > 2 GB on the 64-bit architectures. + Due to a limitation of the existing ABI, the shm_segsz member of the struct shmid_ds, returned by shmctl(IPC_STAT) call is - wrong for large segments. Note that limits shall be explicitely + wrong for large segments. Note that limits must be explicitely raised to allow such segments to be created. 20090301: Modified: head/lib/libc/sys/shmctl.2 ============================================================================== --- head/lib/libc/sys/shmctl.2 Thu Mar 5 11:45:42 2009 (r189398) +++ head/lib/libc/sys/shmctl.2 Thu Mar 5 12:04:42 2009 (r189399) @@ -134,12 +134,13 @@ Permission denied due to mismatch betwee shared memory segment. .El .Sh "BUGS" +The segment size has size_t type. The shm_segsz member of the .Vt shmid_ds -structure has int type, that is too short to represent full range -of the values for segment size, which is allowed to be size_t. -If shared memory limits are raised to allow segments with size > 2 Gb -to be created, be aware that IPC_STAT call may return truncated value +structure has type int, which is too short to represent the full range +of values for a segment size. +If shared memory limits are raised to allow segments with size > 2 GB +to be created, be aware that IPC_STAT call may return a truncated value for shm_segsz. .El .Sh "SEE ALSO"