Re: [kernel-hardening] [PATCH 17/23] dcache: define usercopy region in dentry_cache slab cache

2017-06-28 Thread Eric Biggers
On Wed, Jun 28, 2017 at 09:44:13AM -0700, Kees Cook wrote: > On Mon, Jun 19, 2017 at 9:08 PM, Eric Biggers wrote: > > On Mon, Jun 19, 2017 at 04:36:31PM -0700, Kees Cook wrote: > >> From: David Windsor > >> > >> When a dentry name is short enough, it can be stored directly in > >> the dentry itse

Re: [kernel-hardening] [PATCH 17/23] dcache: define usercopy region in dentry_cache slab cache

2017-06-28 Thread Kees Cook
On Mon, Jun 19, 2017 at 9:08 PM, Eric Biggers wrote: > On Mon, Jun 19, 2017 at 04:36:31PM -0700, Kees Cook wrote: >> From: David Windsor >> >> When a dentry name is short enough, it can be stored directly in >> the dentry itself. These dentry short names, stored in struct >> dentry.d_iname and t

Re: [kernel-hardening] [PATCH 17/23] dcache: define usercopy region in dentry_cache slab cache

2017-06-19 Thread Eric Biggers
On Mon, Jun 19, 2017 at 04:36:31PM -0700, Kees Cook wrote: > From: David Windsor > > When a dentry name is short enough, it can be stored directly in > the dentry itself. These dentry short names, stored in struct > dentry.d_iname and therefore contained in the dentry_cache slab cache, > need to

[PATCH 17/23] dcache: define usercopy region in dentry_cache slab cache

2017-06-19 Thread Kees Cook
From: David Windsor When a dentry name is short enough, it can be stored directly in the dentry itself. These dentry short names, stored in struct dentry.d_iname and therefore contained in the dentry_cache slab cache, need to be coped to/from userspace. In support of usercopy hardening, this pa