From owner-cvs-src-old@FreeBSD.ORG Wed Jun 24 21:11:50 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 72EA710656A9 for ; Wed, 24 Jun 2009 21:11:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5CA188FC1B for ; Wed, 24 Jun 2009 21:11:50 +0000 (UTC) (envelope-from jhb@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 n5OLBoax068515 for ; Wed, 24 Jun 2009 21:11:50 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n5OLBomE068514 for cvs-src-old@freebsd.org; Wed, 24 Jun 2009 21:11:50 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200906242111.n5OLBomE068514@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Wed, 24 Jun 2009 21:10:52 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/gen Symbol.map semctl.c src/lib/libc/include compat.h src/lib/libc/sys Makefile.inc Symbol.map src/sys/compat/freebsd32 freebsd32_ipc.h freebsd32_misc.c syscalls.master src/sys/compat/linux linux_ipc.c ... 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: Wed, 24 Jun 2009 21:11:51 -0000 jhb 2009-06-24 21:10:52 UTC FreeBSD src repository Modified files: lib/libc/gen Symbol.map semctl.c lib/libc/sys Makefile.inc Symbol.map sys/compat/freebsd32 freebsd32_ipc.h freebsd32_misc.c syscalls.master sys/compat/linux linux_ipc.c sys/compat/svr4 svr4_ipc.c sys/i386/ibcs2 ibcs2_ipc.c sys/kern syscalls.master sysv_ipc.c sysv_msg.c sysv_sem.c sysv_shm.c sys/sys ipc.h msg.h sem.h shm.h usr.bin/ipcs ipcs.c Added files: lib/libc/include compat.h Log: SVN rev 194910 on 2009-06-24 21:10:52Z by jhb Change the ABI of some of the structures used by the SYSV IPC API: - The uid/cuid members of struct ipc_perm are now uid_t instead of unsigned short. - The gid/cgid members of struct ipc_perm are now gid_t instead of unsigned short. - The mode member of struct ipc_perm is now mode_t instead of unsigned short (this is merely a style bug). - The rather dubious padding fields for ABI compat with SV/I386 have been removed from struct msqid_ds and struct semid_ds. - The shm_segsz member of struct shmid_ds is now a size_t instead of an int. This removes the need for the shm_bsegsz member in struct shmid_kernel and should allow for complete support of SYSV SHM regions >= 2GB. - The shm_nattch member of struct shmid_ds is now an int instead of a short. - The shm_internal member of struct shmid_ds is now gone. The internal VM object pointer for SHM regions has been moved into struct shmid_kernel. - The existing __semctl(), msgctl(), and shmctl() system call entries are now marked COMPAT7 and new versions of those system calls which support the new ABI are now present. - The new system calls are assigned to the FBSD-1.1 version in libc. The FBSD-1.0 symbols in libc now refer to the old COMPAT7 system calls. - A simplistic framework for tagging system calls with compatibility symbol versions has been added to libc. Version tags are added to system calls by adding an appropriate __sym_compat() entry to src/lib/libc/incldue/compat.h. [1] PR: kern/16195 kern/113218 bin/129855 Reviewed by: arch@, rwatson Discussed with: kan, kib [1] Revision Changes Path 1.21 +1 -1 src/lib/libc/gen/Symbol.map 1.10 +28 -2 src/lib/libc/gen/semctl.c 1.1 +48 -0 src/lib/libc/include/compat.h (new) 1.140 +4 -2 src/lib/libc/sys/Makefile.inc 1.24 +3 -3 src/lib/libc/sys/Symbol.map 1.3 +62 -16 src/sys/compat/freebsd32/freebsd32_ipc.h 1.91 +260 -29 src/sys/compat/freebsd32/freebsd32_misc.c 1.121 +11 -5 src/sys/compat/freebsd32/syscalls.master 1.56 +18 -6 src/sys/compat/linux/linux_ipc.c 1.24 +4 -29 src/sys/compat/svr4/svr4_ipc.c 1.25 +4 -2 src/sys/i386/ibcs2/ibcs2_ipc.c 1.258 +12 -6 src/sys/kern/syscalls.master 1.35 +31 -0 src/sys/kern/sysv_ipc.c 1.77 +62 -1 src/sys/kern/sysv_msg.c 1.99 +86 -1 src/sys/kern/sysv_sem.c 1.122 +99 -12 src/sys/kern/sysv_shm.c 1.27 +20 -4 src/sys/sys/ipc.h 1.21 +21 -4 src/sys/sys/msg.h 1.33 +25 -2 src/sys/sys/sem.h 1.28 +18 -3 src/sys/sys/shm.h 1.34 +1 -1 src/usr.bin/ipcs/ipcs.c