From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis Chamberlain Subject: Re: [PATCH v2 1/1] userfaultfd/sysctl: add vm.unprivileged_userfaultfd Date: Thu, 21 Mar 2019 13:43:35 +0000 Message-ID: <20190321134335.GB1146@42.do-not-panic.com> References: <20190319030722.12441-1-peterx@redhat.com> <20190319030722.12441-2-peterx@redhat.com> <20190319110236.b6169d6b469a587a852c7e09@linux-foundation.org> <20190319182822.GK2727@work-vm> <20190320190112.GD23793@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20190320190112.GD23793@redhat.com> Sender: linux-kernel-owner@vger.kernel.org To: Andrea Arcangeli Cc: "Dr. David Alan Gilbert" , Andrew Morton , Peter Xu , linux-kernel@vger.kernel.org, Paolo Bonzini , Hugh Dickins , Maxime Coquelin , Maya Gokhale , Jerome Glisse , Pavel Emelyanov , Johannes Weiner , Martin Cracauer , Denis Plotnikov , linux-mm@kvack.org, Marty McFadden , Mike Kravetz , Mike Rapoport , Kees Cook , Mel Gorman , "Kirill A . Shutemov" , linux-ap List-Id: linux-api@vger.kernel.org On Wed, Mar 20, 2019 at 03:01:12PM -0400, Andrea Arcangeli wrote: > but > that would be better be achieved through SECCOMP and not globally.'. That begs the question why not use seccomp for this? What if everyone decided to add a knob for all syscalls to do the same? For the commit log, why is it OK then to justify a knob for this syscall? Luis