Re: [PATCH 7/8] pkeys: add details of system call use to Documentation/

From: Jonathan Corbet
Date: Wed Jun 01 2016 - 12:43:49 EST


On Tue, 31 May 2016 08:28:24 -0700
Dave Hansen <dave@xxxxxxxx> 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