Re: [PATCH 03/13] kexec: Move segment verification code in a separate function

2014-06-05 Thread Borislav Petkov
On Thu, Jun 05, 2014 at 10:05:06AM -0400, Vivek Goyal wrote: > Ok, given that you feel so strongly about it, I will change it next > version of patches. :-). Hehe, thanks! :-) -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this li

Re: [PATCH 03/13] kexec: Move segment verification code in a separate function

2014-06-05 Thread Vivek Goyal
On Wed, Jun 04, 2014 at 10:30:41PM +0200, Borislav Petkov wrote: > On Wed, Jun 04, 2014 at 02:47:43PM -0400, Vivek Goyal wrote: > > Hmm..., Interesting. I never noticed it. So google search seems to say > > that unuseable is also not wrong. > > Nope, it seems more like "unuseable" is simply a very

Re: [PATCH 03/13] kexec: Move segment verification code in a separate function

2014-06-04 Thread Borislav Petkov
On Wed, Jun 04, 2014 at 02:47:43PM -0400, Vivek Goyal wrote: > Hmm..., Interesting. I never noticed it. So google search seems to say > that unuseable is also not wrong. Nope, it seems more like "unuseable" is simply a very common misspelling which has managed to spread out uncontrollably, even in

Re: [PATCH 03/13] kexec: Move segment verification code in a separate function

2014-06-04 Thread Vivek Goyal
On Wed, Jun 04, 2014 at 11:32:55AM +0200, Borislav Petkov wrote: > On Tue, Jun 03, 2014 at 09:06:52AM -0400, Vivek Goyal wrote: > > Previously do_kimage_alloc() will allocate a kimage structure, copy > > segment list from user space and then do the segment list sanity > > verification. > > > > Br

Re: [PATCH 03/13] kexec: Move segment verification code in a separate function

2014-06-04 Thread Borislav Petkov
On Tue, Jun 03, 2014 at 09:06:52AM -0400, Vivek Goyal wrote: > Previously do_kimage_alloc() will allocate a kimage structure, copy > segment list from user space and then do the segment list sanity verification. > > Break down this function in 3 parts. do_kimage_alloc_init() to do actual > allocat

[PATCH 03/13] kexec: Move segment verification code in a separate function

2014-06-03 Thread Vivek Goyal
Previously do_kimage_alloc() will allocate a kimage structure, copy segment list from user space and then do the segment list sanity verification. Break down this function in 3 parts. do_kimage_alloc_init() to do actual allocation and basic initialization of kimage structure. copy_user_segment_lis