Received: by mail.netbsd.org (Postfix, from userid 605) id 0685414A150; Mon, 19 Dec 2011 21:53:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2D56514A14E for ; Mon, 19 Dec 2011 21:53:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id hpbAjlVC7moJ for ; Mon, 19 Dec 2011 21:53:52 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 8483014A146 for ; Mon, 19 Dec 2011 21:53:52 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 0865C175DD; Mon, 19 Dec 2011 21:53:53 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Mon, 19 Dec 2011 21:53:52 +0000 From: "Alan Barrett" Subject: CVS commit: src/sys To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20111219215353.0865C175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Alan Barrett" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: apb Date: Mon Dec 19 21:53:52 UTC 2011 Modified Files: src/sys/compat/common: Makefile src/sys/dev: rndpseudo.c Added Files: src/sys/compat/common: rndpseudo_50.c src/sys/compat/sys: rnd.h Log Message: Add COMPAT_50 and COMPAT_NETBSD32 compatibility code for rnd(4) ioctl commands. Tested with "rndctl -ls" using an old 32-bit version of rndctl(8) (built for NetBSD-5.99.56/i386) and a new 64-bit kernel (NetBSD-5.99.59/amd64). To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/compat/common/Makefile cvs rdiff -u -r0 -r1.1 src/sys/compat/common/rndpseudo_50.c cvs rdiff -u -r0 -r1.1 src/sys/compat/sys/rnd.h cvs rdiff -u -r1.3 -r1.4 src/sys/dev/rndpseudo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.