From owner-freebsd-bugs@FreeBSD.ORG Sun May 28 08:23:06 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 262A916BCC7; Sun, 28 May 2006 08:17:01 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B06243D4C; Sun, 28 May 2006 08:17:00 +0000 (GMT) (envelope-from matteo@FreeBSD.org) Received: from freefall.freebsd.org (matteo@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4S8Gxeq003354; Sun, 28 May 2006 08:16:59 GMT (envelope-from matteo@freefall.freebsd.org) Received: (from matteo@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4S8Gx4C003350; Sun, 28 May 2006 08:16:59 GMT (envelope-from matteo) Date: Sun, 28 May 2006 08:16:59 GMT From: Matteo Riondato Message-Id: <200605280816.k4S8Gx4C003350@freefall.freebsd.org> To: bugreport@tux.linux666.com, matteo@FreeBSD.org, freebsd-bugs@FreeBSD.org Cc: Subject: Re: kern/83297: [bpf] Possible issue with FreeBSD 5.4 jailing and BPF X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 May 2006 08:23:32 -0000 Synopsis: [bpf] Possible issue with FreeBSD 5.4 jailing and BPF State-Changed-From-To: open->closed State-Changed-By: matteo State-Changed-When: Sun May 28 08:11:44 UTC 2006 State-Changed-Why: There are just too many ways for "breaking out" of a jail (in a weak sense) to check them all. Most of them derive from devfs misconfiguration. By instance you can easily panic the host system if /dev/mdctl is available inside the jail. The man page clearly states that devfs configuration is important. There's also a "default" devfs ruleset available for jails (check /etc/defaults/devfs.rules). Thank you for the report anyway http://www.freebsd.org/cgi/query-pr.cgi?pr=83297