Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4559480img; Tue, 26 Mar 2019 11:49:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqwBlmGtusRC6hEwJ/yLKBYblbGUH9pcR2K3a7h+haobxU3z6mbTMNdhz3Pbg+XPcVl3uS1o X-Received: by 2002:a63:1003:: with SMTP id f3mr21430176pgl.227.1553626164455; Tue, 26 Mar 2019 11:49:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553626164; cv=none; d=google.com; s=arc-20160816; b=ue+QcoC7zN0t7OdbW1sEZwPrSvR3b5G/G8kxoCE8dTdMts8LVNLYrmL5kMibJxXkj6 wOxgS0kuJMW8G/yx4Yg6DSPVrJvUaMkKzYYUNeqcDihgjFHC9LF/Wm3Pg9oOr6cYApil UJhf4Mwajit782oOrk3qUOWnYmtpmFFHuHOLu70qPigorNY9ffAth5vPrDZaJ/ejKHNU +2rjsOdRkY7Cqq1OBEEI4905zUhEmPkPNV3zqC2c31Tj8qnw3lCiDdNDSQ6dqlwzWBvD mmZVoCxT3ZRPKw/32FKflq+hR1RTB1bmp7+mtvvqdb9OkPdFKxGgjSeAGolcsVwVyPjT PQrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=evtkEUyvRrRjvFyaDDCUAHLJNhiHLTjq1BGqSD9rLwE=; b=edqo0gzlCaT58++EtTXvpuUe/Ns2GSzPWMhP+VztlW5Ujc56xyaZhvqUnl0qBZtoBB JS+0xNPnF+q0Irw9I9LnyiWvb0doXsbctM4CqvwcZ6GSWScII5pe8+Wqb5uUTmPl0K95 vqxgixGRmRu4f4e00AsNpH4MCeGYrxUGT1qEApjpXatsi/6+JTMnPizQmbbW2J1VM6Xt 5yVnnjBrVP7Cnm2FiZ6qtAYOigBml8hmbUBb6XiZHT0L+jLTHwZmaKr50nNfCcOl+HZi akkbv0PashI/RuNTaI06vEGgeJnEG+I9vQRV2HzUsbxxBXZwanlHWFe0nqp/hbrohwvv rKBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=juYc8dxx; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e5si17731690plb.426.2019.03.26.11.49.07; Tue, 26 Mar 2019 11:49:24 -0700 (PDT) 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; dkim=pass header.i=@joelfernandes.org header.s=google header.b=juYc8dxx; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732543AbfCZSrv (ORCPT + 99 others); Tue, 26 Mar 2019 14:47:51 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:42679 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732424AbfCZSru (ORCPT ); Tue, 26 Mar 2019 14:47:50 -0400 Received: by mail-pg1-f193.google.com with SMTP id p6so8672431pgh.9 for ; Tue, 26 Mar 2019 11:47:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=evtkEUyvRrRjvFyaDDCUAHLJNhiHLTjq1BGqSD9rLwE=; b=juYc8dxxUea//n1Hd389Y6XXw+JRdzgr6KWfi60d+DVMR+DwBBe+z3gszu3y06evB3 WJOFyWghHGeAOMNJrtGutkBgy1uHss0qo2dTi0hFtZ2inaYHd3JfyEip29EgOcR/6hwU +zYrLtHbZFt4gY9FtHAUxBOfPpszIPdqGJme0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=evtkEUyvRrRjvFyaDDCUAHLJNhiHLTjq1BGqSD9rLwE=; b=pnaNza4BxdqaKbJrq10LSKghxY/NZ6CYdwhY/SC2zxFBgKF6UZ+u3KuV3Ut7wkq1Rk O3mPgKrEGAymdHE68b9fZmKPkMLsefkhxN0coBlIVAvztXmuroKn3Ymue2lxDOrwk1ey WGCAd1UV15Siso4TaIGLOA1bN2bojR6mhx4UJQOc8y7neMvVoqHJ3IfwGPonuG9h1OIv PfUndUUpipzr87lKiI98zuShCjMNcAq7Sv7Fsmu2WjOfAlmKp9hBx55VDHgQ+PfAh2RK IdcosG+ajE8ZB333Rfq7H2oAFAxRhfpVu6ajdgXqZ+Bs98jIeZIrfqKO//ZWRvgLa2+G lrhw== X-Gm-Message-State: APjAAAXnSFcoR7bRjF+/8Gn3ecmNCnJezo+GM0pfdanJsq440GkCti8p sjcA4YHoxjvZVi7zaesT/ugpBg== X-Received: by 2002:a65:6489:: with SMTP id e9mr15178068pgv.364.1553626070089; Tue, 26 Mar 2019 11:47:50 -0700 (PDT) Received: from localhost ([2620:15c:6:12:9c46:e0da:efbf:69cc]) by smtp.gmail.com with ESMTPSA id i126sm27983052pfc.101.2019.03.26.11.47.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Mar 2019 11:47:49 -0700 (PDT) Date: Tue, 26 Mar 2019 14:47:47 -0400 From: Joel Fernandes To: Christian Brauner Cc: jannh@google.com, khlebnikov@yandex-team.ru, luto@kernel.org, dhowells@redhat.com, serge@hallyn.com, ebiederm@xmission.com, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, arnd@arndb.de, keescook@chromium.org, adobriyan@gmail.com, tglx@linutronix.de, mtk.manpages@gmail.com, bl0pbl33p@gmail.com, ldv@altlinux.org, akpm@linux-foundation.org, oleg@redhat.com, nagarathnam.muthusamy@oracle.com, cyphar@cyphar.com, viro@zeniv.linux.org.uk, dancol@google.com Subject: Re: [PATCH v1 2/4] pid: add pidctl() Message-ID: <20190326184747.GB114492@google.com> References: <20190326155513.26964-1-christian@brauner.io> <20190326155513.26964-3-christian@brauner.io> <20190326170601.GA101741@google.com> <20190326172231.daa5a53lxf6nz6jn@brauner.io> <20190326181012.GA138478@google.com> <20190326181929.eypk2hzprdltcrqd@brauner.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190326181929.eypk2hzprdltcrqd@brauner.io> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 26, 2019 at 07:19:30PM +0100, Christian Brauner wrote: [snip] > > > > I am actually supportive of Daniel's view that by combining too many > > > > arguments into a single syscall, becomes confusing and sometimes some > > > > arguments have to be forced to 0 in the single shoe-horned syscall. Like you > > > > > > There's a difference between an ioctl() and say seccomp() which this is > > > close to: > > > int seccomp(unsigned int operation, unsigned int flags, void *args); > > > The point is that the functionality is closely related not just randomly > > > unrelated stuff. But as I said I'm more than willing to compromise. > > > > Sounds great, yeah whatever makes sense. > > In case I haven't said this enough: I really appreciate the discussion > and in general the help on this. That probably sometimes gets lost in > mails sometimes. :) I appreciate you saying that and thanks for the work on this :) - Joel