> > Jesse, can you please take a look? While I believe that 4Kb for kernel > command line is enough, you might prefer to use getline(3). > > As I can see bootlogd.c already uses stdio.h, but is malloc-free. Use of > getline(3) would break this wonderful propery :(
I have accepted the patch to make the kernel command line buffer 4kB, with a small modification. The size of the buffer is defined as KERNEL_COMMAND_LENGTH so it'll be easy for distributions to patch it to be larger or smaller as required. - Jesse