From owner-freebsd-current Tue Dec 12 16:13:39 2000 From owner-freebsd-current@FreeBSD.ORG Tue Dec 12 16:13:37 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 0B4E137B400; Tue, 12 Dec 2000 16:13:37 -0800 (PST) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id eBD0DSE03679; Tue, 12 Dec 2000 16:13:28 -0800 (PST) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.11.1/8.11.0) id eBD0ChU21380; Tue, 12 Dec 2000 16:12:43 -0800 (PST) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Tue, 12 Dec 2000 16:12:42 -0800 (PST) Organization: BSD, Inc. From: John Baldwin To: current@FreeBSD.org, darrenr@FreeBSD.org Subject: World almost fixed.. Sender: jhb@foo.osd.bsdi.com Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG World should now be fixed after the kinfo_proc change, except for one needed patch for ipfilter that can be found at http://www.FreeBSD.org/~jhb/patches/ipfilter.patch. Since it's contrib'd code, I dno't want to commit and bring the file of the vendor branch and incur all the wrath that comes along with that. In the meantime, this patch should get you through world now. Index: sock.c =================================================================== RCS file: /host/ares/usr/home/ncvs/src/contrib/ipfilter/ipsend/sock.c,v retrieving revision 1.3 diff -u -r1.3 sock.c --- sock.c 2000/02/10 03:17:46 1.3 +++ sock.c 2000/12/12 23:57:52 @@ -283,10 +283,10 @@ return NULL; fd = (struct filedesc *)malloc(sizeof(*fd)); - if (KMCPY(fd, p->kp_proc.p_fd, sizeof(*fd)) == -1) + if (KMCPY(fd, p->ki_fd, sizeof(*fd)) == -1) { fprintf(stderr, "read(%#lx,%#lx) failed\n", - (u_long)p, (u_long)p->kp_proc.p_fd); + (u_long)p, (u_long)p->ki_fd); return NULL; } -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.Baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message