From owner-svn-src-all@freebsd.org Fri Dec 9 20:13:17 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66A26C6F71A; Fri, 9 Dec 2016 20:13:17 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-qt0-f176.google.com (mail-qt0-f176.google.com [209.85.216.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 29C1511DA; Fri, 9 Dec 2016 20:13:16 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-qt0-f176.google.com with SMTP id p16so26407713qta.0; Fri, 09 Dec 2016 12:13:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=PFfoELrcVZ4KtWXCh4XnFkz6S07LaErLNBNT6R4+X00=; b=L068IX189H4se7ewM6nZ7xPyePM4bqX6Ymf3mJpW9yRpRgXihdeSVw5+79BBiFo9IE +Fj0+QVu0jrLtEh40pU5tX+gCH4S9XP3ymZ+8XMwo6EI2DXN1aCI0xhDuywH5GYS+CD/ VAgEneEc80IHPnFdlzFNCFQK9nX4ndGS5RfXS1donmeU3ZBTywmsOrWv3qGA5cUS5fbr lZc44bVc97jEeIzAVX9h/kYc9HzcO58lYyqkU4bueZAkf88k00i+XaF+wKhtXNKc6JfI UDOoeHAZapd/lXDfdRAqdJXYNiglCjAYoWRwW75X02ngHwb2tohktXSdSRSqbUlLjmJ3 gmiw== X-Gm-Message-State: AKaTC02PKJJa1mMH1PerHclO10s9ZXo2l4zajJmumWaFfNGZ/AN2aMLeq4j/jovxfwNs8g== X-Received: by 10.237.62.89 with SMTP id m25mr69830113qtf.119.1481314390329; Fri, 09 Dec 2016 12:13:10 -0800 (PST) Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com. [209.85.220.173]) by smtp.gmail.com with ESMTPSA id t7sm20622363qtd.13.2016.12.09.12.13.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Dec 2016 12:13:10 -0800 (PST) Received: by mail-qk0-f173.google.com with SMTP id n21so28720452qka.3; Fri, 09 Dec 2016 12:13:10 -0800 (PST) X-Received: by 10.55.12.10 with SMTP id 10mr70015963qkm.49.1481314389914; Fri, 09 Dec 2016 12:13:09 -0800 (PST) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 10.200.58.165 with HTTP; Fri, 9 Dec 2016 12:13:09 -0800 (PST) In-Reply-To: <201611021243.uA2ChGIg003295@repo.freebsd.org> References: <201611021243.uA2ChGIg003295@repo.freebsd.org> From: Conrad Meyer Date: Fri, 9 Dec 2016 12:13:09 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r308212 - in head/sys: fs/nfsserver kern sys To: Konstantin Belousov Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 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: Fri, 09 Dec 2016 20:13:17 -0000 On Wed, Nov 2, 2016 at 5:43 AM, Konstantin Belousov wrote: > Author: kib > Date: Wed Nov 2 12:43:15 2016 > New Revision: 308212 > URL: https://svnweb.freebsd.org/changeset/base/308212 > > Log: > Allow some dotdot lookups in capability mode. > > If dotdot lookup does not escape from the file descriptor passed as > the lookup root, we can allow the component traversal. Track the > directories traversed, and check the result of dotdot lookup against > the recorded list of the directory vnodes. > > Dotdot lookups are enabled by sysctl vfs.lookup_cap_dotdot, currently > disabled by default until more verification of the approach is done. Hi Konstantin, Are we waiting on a specific reviewer or something else? It would be very nice to have this enabled by default. Thanks, Conrad