Date: Tue, 12 Dec 2000 16:12:42 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: current@FreeBSD.org, darrenr@FreeBSD.org Subject: World almost fixed.. Message-ID: <XFMail.001212161242.jhb@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001212161242.jhb>