Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-30 Thread Michael Kerrisk (man-pages)
On 01/29/2015 05:06 PM, Scot Doyle wrote: > On Thu, 29 Jan 2015, Michael Kerrisk (man-pages) wrote: >> On 29 January 2015 at 02:27, Scot Doyle wrote: >>> On Wed, 28 Jan 2015, Vivek Goyal wrote: On Wed, Jan 28, 2015 at 10:10:59PM +, Scot Doyle wrote: > On Wed, 28 Jan 2015, Vivek Goyal

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-29 Thread Scot Doyle
On Thu, 29 Jan 2015, Michael Kerrisk (man-pages) wrote: > On 29 January 2015 at 02:27, Scot Doyle wrote: > > On Wed, 28 Jan 2015, Vivek Goyal wrote: > >> On Wed, Jan 28, 2015 at 10:10:59PM +, Scot Doyle wrote: > >> > On Wed, 28 Jan 2015, Vivek Goyal wrote: > >> > > On Wed, Jan 28, 2015 at 09:1

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-28 Thread Michael Kerrisk (man-pages)
On 29 January 2015 at 02:27, Scot Doyle wrote: > On Wed, 28 Jan 2015, Vivek Goyal wrote: >> On Wed, Jan 28, 2015 at 10:10:59PM +, Scot Doyle wrote: >> > On Wed, 28 Jan 2015, Vivek Goyal wrote: >> > > On Wed, Jan 28, 2015 at 09:14:03PM +, Scot Doyle wrote: >> > > > When I tested, kexec_file

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-28 Thread Vivek Goyal
On Wed, Jan 28, 2015 at 10:10:59PM +, Scot Doyle wrote: > On Wed, 28 Jan 2015, Vivek Goyal wrote: > > On Wed, Jan 28, 2015 at 09:14:03PM +, Scot Doyle wrote: > > > On Wed, 28 Jan 2015, Vivek Goyal wrote: > > > > On Wed, Jan 28, 2015 at 04:49:34PM +0100, Michael Kerrisk (man-pages) > > > >

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-28 Thread Michael Kerrisk (man-pages)
[Dropping Andi into CC, which I should have done to start with, since he wrote the original page, and might also have some comments] Hello Vivek, >> I've made various adjustments to the page in the light of your comments >> above. Thanks! > > Thank you for following it up and improving kexec man

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-28 Thread Scot Doyle
On Wed, 28 Jan 2015, Vivek Goyal wrote: > On Wed, Jan 28, 2015 at 04:49:34PM +0100, Michael Kerrisk (man-pages) wrote: > > Hello Vivek, > > > > >> I've made various adjustments to the page in the light of your comments > > >> above. Thanks! > > > > > > Thank you for following it up and improving k

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-28 Thread Vivek Goyal
On Wed, Jan 28, 2015 at 09:14:03PM +, Scot Doyle wrote: > On Wed, 28 Jan 2015, Vivek Goyal wrote: > > On Wed, Jan 28, 2015 at 04:49:34PM +0100, Michael Kerrisk (man-pages) wrote: > > > Hello Vivek, > > > > > > >> I've made various adjustments to the page in the light of your comments > > > >>

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-28 Thread Scot Doyle
On Wed, 28 Jan 2015, Vivek Goyal wrote: > On Wed, Jan 28, 2015 at 10:10:59PM +, Scot Doyle wrote: > > On Wed, 28 Jan 2015, Vivek Goyal wrote: > > > On Wed, Jan 28, 2015 at 09:14:03PM +, Scot Doyle wrote: > > > > When I tested, kexec_file_load required CONFIG_RELOCATABLE. Is the same > > >

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-28 Thread Scot Doyle
On Wed, 28 Jan 2015, Vivek Goyal wrote: > On Wed, Jan 28, 2015 at 09:14:03PM +, Scot Doyle wrote: > > On Wed, 28 Jan 2015, Vivek Goyal wrote: > > > On Wed, Jan 28, 2015 at 04:49:34PM +0100, Michael Kerrisk (man-pages) > > > wrote: > > > > Hello Vivek, > > > > > > > > >> I've made various adju

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-28 Thread Vivek Goyal
On Wed, Jan 28, 2015 at 09:04:38AM +0100, Michael Kerrisk (man-pages) wrote: Hi Michael, [..] > >> * the number of bytes copied from userspace is min(bufsz, memsz) > > > > Yes. bufsz can not be more than memsz. There is a check to validate > > this in kernel. > > > > result = -EINVAL; > >

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-28 Thread Michael Kerrisk (man-pages)
Hi Vivek, On 01/27/2015 03:24 PM, Vivek Goyal wrote: > On Fri, Jan 16, 2015 at 02:30:25PM +0100, Michael Kerrisk (man-pages) wrote: > [..] >> > > Hi Michael, > > Please find my responses below. Sorry, I got stuck in other work and > forgot about this thread. > >> So, returning to the kexeec_seg

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-28 Thread Vivek Goyal
On Wed, Jan 28, 2015 at 04:49:34PM +0100, Michael Kerrisk (man-pages) wrote: > [Dropping Andi into CC, which I should have done to start with, since > he wrote the original page, and might also have some comments] > > Hello Vivek, > > >> I've made various adjustments to the page in the light of y

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-27 Thread Vivek Goyal
On Fri, Jan 16, 2015 at 02:30:25PM +0100, Michael Kerrisk (man-pages) wrote: [..] > Hi Michael, Please find my responses below. Sorry, I got stuck in other work and forgot about this thread. > So, returning to the kexeec_segment structure: > >struct kexec_segment { >

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-27 Thread Michael Kerrisk (man-pages)
Hello Vivek, Ping! Cheers, Michael On 16 January 2015 at 14:30, Michael Kerrisk (man-pages) wrote: > Hello Vivek, > > Thanks for your comments! I've added some further text to > the page based on those comments. See some follow-up > questions below. > > On 01/12/2015 11:16 PM, Vivek Goyal wro

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-16 Thread Michael Kerrisk (man-pages)
Hello Vivek, Thanks for your comments! I've added some further text to the page based on those comments. See some follow-up questions below. On 01/12/2015 11:16 PM, Vivek Goyal wrote: > On Wed, Jan 07, 2015 at 10:17:56PM +0100, Michael Kerrisk (man-pages) wrote: > > [..] .BR KEXEC_ON_CRASH

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-12 Thread Vivek Goyal
On Wed, Jan 07, 2015 at 10:17:56PM +0100, Michael Kerrisk (man-pages) wrote: [..] > >> .BR KEXEC_ON_CRASH " (since Linux 2.6.13)" > >> Execute the new kernel automatically on a system crash. > >> .\" FIXME Explain in more detail how KEXEC_ON_CRASH is actually used > > I wasn't expecting that you

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2015-01-07 Thread Michael Kerrisk (man-pages)
Hi Vivek, Thanks for your comments, and my apologies for a the long delayed follow-up. On 11/11/2014 10:30 PM, Vivek Goyal wrote: > On Sun, Nov 09, 2014 at 08:17:49PM +0100, Michael Kerrisk (man-pages) wrote: >> Hello Vivek (and all), >> >> Thanks for the kexec_file_load() patch [for the kexec_lo

Re: Edited kexec_load(2) [kexec_file_load()] man page for review

2014-11-11 Thread Vivek Goyal
On Sun, Nov 09, 2014 at 08:17:49PM +0100, Michael Kerrisk (man-pages) wrote: > Hello Vivek (and all), > > Thanks for the kexec_file_load() patch [for the kexec_load(2) man page] > that you quite some time ago sent. I have merged it and done some > substantial editing as well. Could you please take

Edited kexec_load(2) [kexec_file_load()] man page for review

2014-11-09 Thread Michael Kerrisk (man-pages)
Hello Vivek (and all), Thanks for the kexec_file_load() patch [for the kexec_load(2) man page] that you quite some time ago sent. I have merged it and done some substantial editing as well. Could you please take a look at the draft below, and check that the kexec_file_load() material is okay. Ple