From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Corbet Subject: Re: [PATCH 7/8] pkeys: add details of system call use to Documentation/ Date: Wed, 1 Jun 2016 10:43:33 -0600 Message-ID: <20160601104333.7c2014fa@lwn.net> References: <20160531152814.36E0B9EE@viggo.jf.intel.com> <20160531152824.2B18E890@viggo.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20160531152824.2B18E890@viggo.jf.intel.com> Sender: owner-linux-mm@kvack.org To: Dave Hansen 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 List-Id: linux-api@vger.kernel.org On Tue, 31 May 2016 08:28:24 -0700 Dave Hansen 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? jon -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org