Thread (22 messages) 22 messages, 4 authors, 2016-06-03

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

From: Jonathan Corbet <corbet@lwn.net>
Date: 2016-06-01 16:43:41
Also in: linux-api, linux-arch, lkml

On Tue, 31 May 2016 08:28:24 -0700
Dave Hansen [off-list ref] 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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help