Received: by 10.223.164.202 with SMTP id h10csp556054wrb; Thu, 9 Nov 2017 10:29:34 -0800 (PST) X-Google-Smtp-Source: ABhQp+RqkV+RwaFedES98kRCqB8Tzm1MIIFTZ3Pm2KOHw+8b3JfiYUyorLkYvFXuNkPZq3zQqLaa X-Received: by 10.84.242.131 with SMTP id d3mr1239341pll.269.1510252174187; Thu, 09 Nov 2017 10:29:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510252174; cv=none; d=google.com; s=arc-20160816; b=s19sBW3EZbjESX8365t1/T6CfFg3+u05pGPE7Ee32R//JsH8DyTpaaDMn2ZWkDaHXD mZeIdsnJXlx/hieSIilmKr8uxXV0mXYEDV4TrgRFSJ7mlyS7L5qdnmUrM4WYkY+2oHc2 aO2E1olZugcCwypOfxX7Txcp40I9PvxdMH9Z1H2wft1uhJYw9+wimr2YqKQcTepsGTgJ RUenG09Jn8scFQqcQqD6IEsUuPvP/VO31XqAZlJ9e36LoAcGfS5sJZZ9nArquttjHpFk uj5kV8P+r8mLoLkvPF4IbGZFMaMS+Q64DMRNjSRhY0sLJf5DlC3OPnZumPJvg0gFIE1P Bjsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=6KbXi9QjRHGvM1Iik2MfJ/cRocWarwbnoCYfNaFnQ/c=; b=UnJTx1hifARadBl9X7+p6aXLc7gvMSsFEpPc5q4olRNCk+iS7bWnSpLq8OFF+QSDBv 7UAhiwwZLi0MUpDEm2mQh8D1Tjml21TANzNpNYxM+X0Flj4PtrHVhvaNESk9bF8fl/0m 9f0jestHF4bwoVkC41iCKlLl5RJzitlkfj+IHz12Mqr8LiAO4s5FnQCaJJ0s8GMlKrLk 3gGBIX286IDlO/X0h2iflS1xiGTEkNi9GJanzsMBfXNr7eTnhCfl6ucD5JQ2vyLuoIf9 Htb6BQWrk7ESSS6QsReUf+B/7QODWApU28R7DFt8WxTIyBWn/uWhOqqn5VIn1LTHQxeO 8B4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u26si912362pgo.182.2017.11.09.10.29.22; Thu, 09 Nov 2017 10:29:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753702AbdKIS2h (ORCPT + 82 others); Thu, 9 Nov 2017 13:28:37 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:33657 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751065AbdKIS2g (ORCPT ); Thu, 9 Nov 2017 13:28:36 -0500 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vA9IS428016897 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 9 Nov 2017 18:28:04 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vA9IS2Js009255 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 9 Nov 2017 18:28:02 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id vA9IRxNr025914; Thu, 9 Nov 2017 18:28:01 GMT Received: from [192.168.0.171] (/69.207.174.138) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 09 Nov 2017 10:27:58 -0800 Subject: Re: [kernel-hardening] Re: [PATCH resend 2/2] userns: control capabilities of some user namespaces To: "Serge E. Hallyn" Cc: Daniel Micay , =?UTF-8?B?TWFoZXNoIEJhbmRld2FyICjgpK7gpLngpYfgpLYg4KSs4KSC4KSh4KWH4KS14KS+?= =?UTF-8?B?4KSwKQ==?= , Mahesh Bandewar , LKML , Netdev , Kernel-hardening , Linux API , Kees Cook , "Eric W . Biederman" , Eric Dumazet , David Miller References: <20171103004436.40026-1-mahesh@bandewar.net> <20171104235346.GA17170@mail.hallyn.com> <20171106150302.GA26634@mail.hallyn.com> <1510003994.736.0.camel@gmail.com> <20171106221418.GA32543@mail.hallyn.com> <1510020963.736.42.camel@gmail.com> <20171107032310.GA6429@mail.hallyn.com> <20171109180536.GA27994@mail.hallyn.com> From: chris hyser Message-ID: <6b2cbf61-f1d7-76c7-1361-7d807d05829f@oracle.com> Date: Thu, 9 Nov 2017 13:27:47 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171109180536.GA27994@mail.hallyn.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/09/2017 01:05 PM, Serge E. Hallyn wrote: > Would the existing capability bounding set not suffice for that? > > The 'permanent' bounding set turns out to not be a good fit for > the problem being discussed in this thread, but please feel free > to start a new thread if you want to discuss your use case. Sure. I will formulate something for a new thread. What seems to be asked for here is a way to globally patch the capability sets of a entire process subtree. -chrish From 1583612747592433642@xxx Thu Nov 09 18:06:44 +0000 2017 X-GM-THRID: 1583003759650790753 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread