Re: obtaining linux kernel command line from a module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 21 May 2010, Bernd Petrovitsch wrote:

> On Fre, 2010-05-21 at 12:48 +0200, Jason Nymble wrote:
> > On 21 May 2010, at 12:37 PM, Bernd Petrovitsch wrote:
> [...]
> > > Other than that the not-so-bright "idea": Send a patch to export
> > > saved_command_line (including a good reason to export it to modules) to
> > > LKML and see what people say to it.
> >
> > My feeling is if it hasn't been exported now, after existing for many
> > years, there is obviously no general need for it and such a patch will
> > probably not be accepted.

> First, you never know;-) Second, even if the patch is not accepted,
> you will get feedback (and probably hints). And the patch is pretty
> trivial too BTW (which makes is quite cheap).

  OTOH, there's always a cost to exporting a symbol (admittedly small,
an entry in the symbol table) so you generally need at least a
minimally compelling reason to convince people it's a good idea.  but,
as bernd points out, it's a trivial patch so maybe no one would
object.

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux