From: Mike Travis <travis@sgi.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Jason Wessel <jason.wessel@windriver.com>,
Dimitri Sivanich <sivanich@sgi.com>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>,
Andrew Morton <akpm@linux-foundation.org>,
kgdb-bugreport@lists.sourceforge.net, x86@kernel.org,
linux-kernel@vger.kernel.org, Tim Bird <tim.bird@am.sony.com>,
Anton Vorontsov <anton.vorontsov@linaro.org>,
Sasha Levin <sasha.levin@oracle.com>,
Rusty Russell <rusty@rustcorp.com.au>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Cong Wang <amwang@redhat.com>,
Stephen Boyd <sboyd@codeaurora.org>,
Al Viro <viro@zeniv.linux.org.uk>,
Oleg Nesterov <oleg@redhat.com>,
Serge Hallyn <serge.hallyn@canonical.com>
Subject: Re: [PATCH 05/14] KDB: add more exports for supporting KDB modules
Date: Tue, 12 Mar 2013 15:03:17 -0700 [thread overview]
Message-ID: <513FA625.2020300@sgi.com> (raw)
In-Reply-To: <87obeo7530.fsf@xmission.com>
Let me see if I can understand the concept better. By denying
an external hardware vendor the use of KDB to support a significant
piece of proprietary hardware on Linux, I furthering the interests
of Linux and the community how?
Looking back at the KDB sources originally posted on oss.sgi.com I
did not see any restrictions on the use of KDB. How/why was that
restriction granted and by whom? Was SGI, the original copyright
owner of KDB, asked or even informed of that decision? I'm not
trying to be a lawyer here, but someone decided (perhaps wrongly)
that KDB should only be used by GPL modules.
I'm not married to this matter by any means and I will change them all
if that's what's needed for acceptance. But I do think that placing
unnecessary roadblocks in the path of developing more capabilities
for the Linux system, is causing a disservice to the the users of
Linux and the overall Linux community.
Thanks,
Mike
On 3/12/2013 1:09 PM, Eric W. Biederman wrote:
> Mike Travis <travis@sgi.com> writes:
>
>> This patch adds some important KDB functions to be externally
>> usable by loadable KDB modules. Note that often drivers bring
>> in KDB modules for debugging, and in the past KDB has not been
>> limited to use by GPL only modules. This patch restores KDB
>> usefullness to non-GPL modules.
>
> It is not ok to change EXPORT_SYMBOL_GPL to EXPORT_SYMBOL.
>
> The symbols you are changing to EXPORT_SYMBOL from EXPORT_SYMBOL_GPL you
> should not even be messing with if your source code is not in the main
> kernel tree.
>
> This patch is totally not ok.
>
> I don't know what past you are referring to but you are changing symbols
> that have never been exported as anything other than EXPORT_SYMBOL_GPL
> to EXPORT_SYMBOL. The past I remember is the past where kdb was not in
> the kernel tree at all.
>
> Please go back to the drawing board and come back with a solution where
> you are working with the community instead of trying asking the rest of
> us to support something you won't share.
>
> Nacked-by: "Eric W. Biederman" <ebiederm@xmission.com>
>
>> --- linux.orig/kernel/signal.c
>> +++ linux/kernel/signal.c
>> @@ -1419,7 +1419,7 @@ out_unlock:
>> rcu_read_unlock();
>> return ret;
>> }
>> -EXPORT_SYMBOL_GPL(kill_pid_info_as_cred);
>> +EXPORT_SYMBOL(kill_pid_info_as_cred);
>>
>> /*
>> * kill_something_info() interprets pid in interesting ways just like kill(2).
>> @@ -2491,7 +2491,7 @@ out:
>> }
>>
>> EXPORT_SYMBOL(recalc_sigpending);
>> -EXPORT_SYMBOL_GPL(dequeue_signal);
>> +EXPORT_SYMBOL(dequeue_signal);
>> EXPORT_SYMBOL(flush_signals);
>> EXPORT_SYMBOL(force_sig);
>> EXPORT_SYMBOL(send_sig);
>> @@ -3661,4 +3661,5 @@ kdb_send_sig_info(struct task_struct *t,
>> else
>> kdb_printf("Signal %d is sent to process %d.\n", sig, t->pid);
>> }
>> +EXPORT_SYMBOL(kdb_send_sig_info);
>> #endif /* CONFIG_KGDB_KDB */
next prev parent reply other threads:[~2013-03-12 22:03 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-12 19:38 [PATCH 00/14] x86/UV/KDB/NMI: Updates for NMI/KDB handler for SGI UV Mike Travis
2013-03-12 19:38 ` [PATCH 01/14] KDB: fix the interrupt of the KDB btc command Mike Travis
2013-03-12 19:38 ` [PATCH 02/14] KDB: fix errant character in KDB show regs Mike Travis
2013-03-12 19:38 ` [PATCH 03/14] KDB: up the default LINES value Mike Travis
2013-03-12 19:38 ` [PATCH 04/14] KDB: allow KDB modules to be external modules Mike Travis
2013-03-12 19:38 ` [PATCH 05/14] KDB: add more exports for supporting KDB modules Mike Travis
2013-03-12 20:09 ` Eric W. Biederman
2013-03-12 22:03 ` Mike Travis [this message]
2013-03-12 22:13 ` Greg Kroah-Hartman
2013-03-12 22:26 ` Mike Travis
2013-03-12 22:39 ` Eric W. Biederman
2013-03-12 23:03 ` Mike Travis
2013-03-12 20:23 ` Greg Kroah-Hartman
2013-03-12 22:01 ` Thomas Gleixner
2013-03-12 22:08 ` Mike Travis
2013-03-12 19:38 ` [PATCH 06/14] KDB: consolidate KDB grep code Mike Travis
2013-03-12 19:38 ` [PATCH 07/14] KDB: clean up KDB grep code, add some options Mike Travis
2013-03-12 19:38 ` [PATCH 08/14] KDB: Restore call to kdump from KDB Mike Travis
2013-03-12 19:38 ` [PATCH 09/14] KDB: Add pshelp command Mike Travis
2013-03-12 19:38 ` [PATCH 10/14] KGDB/KDB: add support for external NMI handler to call KGDB/KDB Mike Travis
2013-03-12 19:38 ` [PATCH 11/14] x86/UV: Move NMI support Mike Travis
2013-03-12 19:38 ` [PATCH 12/14] x86/UV: Add uvtrace support Mike Travis
2013-03-12 19:38 ` [PATCH 13/14] x86/UV: Update UV support for external NMI signals Mike Travis
2013-03-14 7:20 ` Ingo Molnar
2013-03-20 6:13 ` Mike Travis
2013-03-21 11:51 ` Ingo Molnar
2013-03-12 19:38 ` [PATCH 14/14] x86/UV: Add call to KGDB/KDB from NMI handler Mike Travis
-- strict thread matches above, loose matches on Subject: below --
2013-03-13 14:53 [PATCH 05/14] KDB: add more exports for supporting KDB modules Scott Lurndal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=513FA625.2020300@sgi.com \
--to=travis@sgi.com \
--cc=akpm@linux-foundation.org \
--cc=amwang@redhat.com \
--cc=anton.vorontsov@linaro.org \
--cc=ebiederm@xmission.com \
--cc=gregkh@linuxfoundation.org \
--cc=hpa@zytor.com \
--cc=jason.wessel@windriver.com \
--cc=kgdb-bugreport@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=oleg@redhat.com \
--cc=rusty@rustcorp.com.au \
--cc=sasha.levin@oracle.com \
--cc=sboyd@codeaurora.org \
--cc=serge.hallyn@canonical.com \
--cc=sivanich@sgi.com \
--cc=tglx@linutronix.de \
--cc=tim.bird@am.sony.com \
--cc=viro@zeniv.linux.org.uk \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.