From owner-svn-src-all@FreeBSD.ORG Sat Dec 24 10:45:23 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07196106566C; Sat, 24 Dec 2011 10:45:23 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 74CB38FC0A; Sat, 24 Dec 2011 10:45:22 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so8588858obb.13 for ; Sat, 24 Dec 2011 02:45:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=5uT6MpL/ZgJzDIRNgZx4zS4iZnP9FTQpu0H8C5duwtk=; b=P+EqIs+q0f4aqlemGoG41vvYArIVaidQ6Ym0WPEW8PGJEtQXKj9Ixf/vWKJqvFc8Wf te18AKfV/cea8F8KPMp9uaUZzXIm/J8aT12P92uZoHw6TPUX5eeBVgbtivUBE+ndO99d krLHNV+CfCNC2ZRKT9LAAvp+t88m4XAj+re7Y= MIME-Version: 1.0 Received: by 10.182.76.134 with SMTP id k6mr7392325obw.10.1324723521923; Sat, 24 Dec 2011 02:45:21 -0800 (PST) Received: by 10.182.67.163 with HTTP; Sat, 24 Dec 2011 02:45:21 -0800 (PST) In-Reply-To: <20111224103948.GA10939@vniz.net> References: <201112231500.pBNF0c0O071712@svn.freebsd.org> <201112231058.46642.jhb@freebsd.org> <201112231122.34436.jhb@freebsd.org> <20111223120644.75fe944d@kan.dyndns.org> <20111223175143.GJ50300@deviant.kiev.zoral.com.ua> <20111224100509.GA98136@vniz.net> <20111224103948.GA10939@vniz.net> Date: Sat, 24 Dec 2011 02:45:21 -0800 Message-ID: From: Xin LI To: Andrey Chernov , Xin LI , Kostik Belousov , Alexander Kabaev , John Baldwin , Colin Percival , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: Re: svn commit: r228843 - head/contrib/telnet/libtelnet head/crypto/heimdal/appl/telnet/libtelnet head/include head/lib/libc/gen head/lib/libc/iconv head/lib/libc/include head/lib/libc/net head/libexec... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 10:45:23 -0000 On Sat, Dec 24, 2011 at 2:39 AM, Andrey Chernov wrote: > On Sat, Dec 24, 2011 at 02:26:20AM -0800, Xin LI wrote: >> chroot(2) can create legitimate and secure environment where dlopen(2) >> is safe and necessary. > > Yes, so ischroot() check can be used only into that places where libc's > libc_dlopen() currently used, i.e. placed into libc_dlopen() itself. So it's Okay to break NSS in chroot jail? Cheers, -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die