Date: Thu, 16 Nov 2000 22:42:41 +0100 From: Gerhard Sittig <Gerhard.Sittig@gmx.net> To: Jordan Hubbard <jkh@winston.osd.bsdi.com> Cc: stable@FreeBSD.ORG, jkh@FreeBSD.ORG, rwatson@FreeBSD.ORG Subject: Re: Running inetd in jail panics system Message-ID: <20001116224241.V27042@speedy.gsinet> In-Reply-To: <52971.974402736@winston.osd.bsdi.com>; from jkh@winston.osd.bsdi.com on Thu, Nov 16, 2000 at 11:25:36AM -0800 References: <Gerhard.Sittig@gmx.net> <52971.974402736@winston.osd.bsdi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 16, 2000 at 11:25 -0800, Jordan Hubbard wrote: > > I cc'ed jkh and rwatson (sorry to do so, I don't like getting > > list messages multiple times myself -- but I feel the MFC is > > really needed!) for approval and verification that is a fix > > to an existing problem. > > I'm not sure I understand you. You're quoting a PR which > references a fix which is already in both -current and -stable. > Is there another diff from -current relative to -stable you > meant to cite instead? No, it's in -CURRENT *only* and not (yet) in -STABLE. See (I know, Q&D and inelegant, but who cares? and you surely can read it) the following: $ F=/usr/src/sys/kern/uipc_socket.c; head -150 $F | tail -16; echo; ident $F if (proto) prp = pffindproto(dom, proto, type); else prp = pffindtype(dom, type); if (p->p_prison && jail_socket_unixiproute_only && prp->pr_domain->dom_family != PF_LOCAL && prp->pr_domain->dom_family != PF_INET && prp->pr_domain->dom_family != PF_ROUTE) { return (EPROTONOSUPPORT); } if (prp == 0 || prp->pr_usrreqs->pru_attach == 0) return (EPROTONOSUPPORT); if (prp->pr_type != type) return (EPROTOTYPE); /usr/src/sys/kern/uipc_socket.c: $FreeBSD: src/sys/kern/uipc_socket.c,v 1.68.2.9 2000/10/29 19:25:38 rwatson Exp $ Applying the "diff -r1.73 -r1.74" (i.e. the -CURRENT fix as applied in June) to -STABLE does help against the panics (it's what I did in my local copy in another installation). It just hasn't happened in the FreeBSD repo as of when I last cvsupped: $ ls -ltr /usr/sup/src-all total 3960 -rw-r--r-- 1 root wheel 4041169 Nov 14 18:38 checkouts.cvs there wasn't one when I checked the cvsweb.cgi today and neither did I see an appropriate commit message on cvs-all. I assure you this bug is known to exist, has a fix in -CURRENT but is still open in -STABLE. virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001116224241.V27042>