Re: [PATCH] pstore: use memdup_user

2017-06-27 Thread Kees Cook
On Fri, Apr 28, 2017 at 6:45 PM, Geliang Tang wrote: > Use memdup_user() helper instead of open-coding to simplify the code. > > Signed-off-by: Geliang Tang Thanks! Applied for -next. -Kees > --- > fs/pstore/platform.c | 11 --- > 1 file

Re: [PATCH] pstore: use memdup_user

2017-06-27 Thread Kees Cook
On Fri, Apr 28, 2017 at 6:45 PM, Geliang Tang wrote: > Use memdup_user() helper instead of open-coding to simplify the code. > > Signed-off-by: Geliang Tang Thanks! Applied for -next. -Kees > --- > fs/pstore/platform.c | 11 --- > 1 file changed, 4 insertions(+), 7 deletions(-) > >

[PATCH] pstore: use memdup_user

2017-04-28 Thread Geliang Tang
Use memdup_user() helper instead of open-coding to simplify the code. Signed-off-by: Geliang Tang --- fs/pstore/platform.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index 43b3ca5..903e0fe

[PATCH] pstore: use memdup_user

2017-04-28 Thread Geliang Tang
Use memdup_user() helper instead of open-coding to simplify the code. Signed-off-by: Geliang Tang --- fs/pstore/platform.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index 43b3ca5..903e0fe 100644 ---