Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760145AbaJ3NtE (ORCPT ); Thu, 30 Oct 2014 09:49:04 -0400 Received: from mail-lb0-f176.google.com ([209.85.217.176]:45045 "EHLO mail-lb0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759768AbaJ3NtB (ORCPT ); Thu, 30 Oct 2014 09:49:01 -0400 MIME-Version: 1.0 In-Reply-To: References: <1414620056-6675-1-git-send-email-gregkh@linuxfoundation.org> <20141029222729.GB8129@kroah.com> <87bnourxx4.fsf@x220.int.ebiederm.org> From: Andy Lutomirski Date: Thu, 30 Oct 2014 06:48:40 -0700 Message-ID: Subject: Re: [PATCH 00/12] Add kdbus implementation To: Tom Gundersen Cc: "Eric W. Biederman" , Greg Kroah-Hartman , Linux API , "linux-kernel@vger.kernel.org" , John Stultz , Arnd Bergmann , Tejun Heo , Marcel Holtmann , Ryan Lortie , Bastien Nocera , David Herrmann , Djalal Harouni , Simon McVittie , Daniel Mack , alban.crequy@collabora.co.uk, Javier Martinez Canillas , Linus Torvalds , Linux Containers Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 30, 2014 at 3:15 AM, Tom Gundersen wrote: > Do I understand you correctly that what you want is unnamed/anonymous > domains? Considering that domain creation is anyway privileged, why is > this necessary? As an executive summary, this is the *problem*, not a mitigation. Domain creation *should not require privilege*. You should be able to do it in a user namespace in which you have appropriate capabilities without needing systemd's (or whatever other daemon's) help from outside. Once you fix that (which may not have broken whatever you tested with but will absolutely break anyone who tries to use this in LXC, Docker, Sandstorm, etc. without awful hacks) then you will have all of the problems that you've currently mitigated. --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/