RE: [PATCH 04/36] usercopy: Prepare for usercopy whitelisting
From: David Laight <hidden>
Date: 2018-01-12 15:10:42
Also in:
linux-arch, linux-fsdevel, linux-mm, linux-xfs, lkml
From: David Laight <hidden>
Date: 2018-01-12 15:10:42
Also in:
linux-arch, linux-fsdevel, linux-mm, linux-xfs, lkml
From: Christopher Lameter
Sent: 10 January 2018 18:28 On Tue, 9 Jan 2018, Kees Cook wrote:quoted
+struct kmem_cache *kmem_cache_create_usercopy(const char *name, + size_t size, size_t align, slab_flags_t flags, + size_t useroffset, size_t usersize, + void (*ctor)(void *));Hmmm... At some point we should switch kmem_cache_create to pass a struct containing all the parameters. Otherwise the API will blow up with additional functions.
Or add an extra function to 'configure' the kmem_cache with the extra parameters. David -- 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>