From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932751AbcFAQqP (ORCPT ); Wed, 1 Jun 2016 12:46:15 -0400 Received: from www.sr71.net ([198.145.64.142]:42389 "EHLO blackbird.sr71.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755961AbcFAQqN (ORCPT ); Wed, 1 Jun 2016 12:46:13 -0400 Subject: Re: [PATCH 7/8] pkeys: add details of system call use to Documentation/ To: Jonathan Corbet References: <20160531152814.36E0B9EE@viggo.jf.intel.com> <20160531152824.2B18E890@viggo.jf.intel.com> <20160601104333.7c2014fa@lwn.net> Cc: linux-kernel@vger.kernel.org, x86@kernel.org, linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, dave.hansen@linux.intel.com From: Dave Hansen Message-ID: <574F114F.8010701@sr71.net> Date: Wed, 1 Jun 2016 09:46:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160601104333.7c2014fa@lwn.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/01/2016 09:43 AM, Jonathan Corbet wrote: >> > +There are 5 system calls which directly interact with pkeys: >> > + >> > + int pkey_alloc(unsigned long flags, unsigned long init_access_rights) >> > + int pkey_free(int pkey); >> > + int sys_pkey_mprotect(unsigned long start, size_t len, >> > + unsigned long prot, int pkey); >> > + unsigned long pkey_get(int pkey); >> > + int pkey_set(int pkey, unsigned long access_rights); > sys_pkey_mprotect() should just be pkey_mprotect(), right? Yes, and that are a few more instances of that farther down in the file. I'll fix them all up.