Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-27 Thread Miroslav Benes
On Sun, 26 Apr 2015, Minfei Huang wrote: > On 04/15/15 at 01:58P, Miroslav Benes wrote: > > On Wed, 15 Apr 2015, Minfei Huang wrote: > > > > > On 04/15/15 at 10:30P, Miroslav Benes wrote: > > > > On Wed, 15 Apr 2015, Minfei Huang wrote: > > > > > > > > > > > > > > Yes, the function name can be

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-27 Thread Miroslav Benes
On Sun, 26 Apr 2015, Minfei Huang wrote: On 04/15/15 at 01:58P, Miroslav Benes wrote: On Wed, 15 Apr 2015, Minfei Huang wrote: On 04/15/15 at 10:30P, Miroslav Benes wrote: On Wed, 15 Apr 2015, Minfei Huang wrote: Yes, the function name can be changed, before the extra

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-26 Thread Minfei Huang
On 04/15/15 at 01:58P, Miroslav Benes wrote: > On Wed, 15 Apr 2015, Minfei Huang wrote: > > > On 04/15/15 at 10:30P, Miroslav Benes wrote: > > > On Wed, 15 Apr 2015, Minfei Huang wrote: > > > > > > > > > > > Yes, the function name can be changed, before the extra module is > > > > installed to

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-26 Thread Minfei Huang
On 04/15/15 at 01:58P, Miroslav Benes wrote: On Wed, 15 Apr 2015, Minfei Huang wrote: On 04/15/15 at 10:30P, Miroslav Benes wrote: On Wed, 15 Apr 2015, Minfei Huang wrote: Yes, the function name can be changed, before the extra module is installed to the production system.

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-15 Thread Minfei Huang
On 04/15/15 at 12:24pm, Justin Keller wrote: > I agree that 128+ function names are bad and there is no need for such > long names, epically for compatibility with 80 char/line displays. I > cannot think of an example even near as long as 127 characters. Are > there even such long function names

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-15 Thread Justin Keller
I agree that 128+ function names are bad and there is no need for such long names, epically for compatibility with 80 char/line displays. I cannot think of an example even near as long as 127 characters. Are there even such long function names anywhere in the kernel? Justin On Wed, Apr 15, 2015

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-15 Thread Miroslav Benes
On Wed, 15 Apr 2015, Minfei Huang wrote: > On 04/15/15 at 10:30P, Miroslav Benes wrote: > > On Wed, 15 Apr 2015, Minfei Huang wrote: > > > > > > > > Yes, the function name can be changed, before the extra module is > > > installed to the production system. > > > > > > We discuss around and

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-15 Thread Minfei Huang
On 04/15/15 at 10:30P, Miroslav Benes wrote: > On Wed, 15 Apr 2015, Minfei Huang wrote: > > > > > Yes, the function name can be changed, before the extra module is > > installed to the production system. > > > > We discuss around and around, there are still some confusion with it. > > > > 1)

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-15 Thread Minfei Huang
On 04/15/15 at 10:30P, Miroslav Benes wrote: > On Wed, 15 Apr 2015, Minfei Huang wrote: > > > > Yes, the function name can be changed, before the extra module is > > installed to the production system. > > > > We discuss around and around, there are still some confusion with it. > > > > 1) How

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-15 Thread Miroslav Benes
On Wed, 15 Apr 2015, Minfei Huang wrote: > On 04/14/15 at 08:41pm, Petr Mladek wrote: > > On Wed 2015-04-15 01:01:39, Minfei Huang wrote: > > > On 04/14/15 at 06:27pm, Petr Mladek wrote: > > > > On Tue 2015-04-14 23:55:36, Minfei Huang wrote: > > > > > On 04/14/15 at 10:11P, Josh Poimboeuf wrote:

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-15 Thread Miroslav Benes
On Wed, 15 Apr 2015, Minfei Huang wrote: On 04/15/15 at 10:30P, Miroslav Benes wrote: On Wed, 15 Apr 2015, Minfei Huang wrote: Yes, the function name can be changed, before the extra module is installed to the production system. We discuss around and around, there are still

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-15 Thread Justin Keller
I agree that 128+ function names are bad and there is no need for such long names, epically for compatibility with 80 char/line displays. I cannot think of an example even near as long as 127 characters. Are there even such long function names anywhere in the kernel? Justin On Wed, Apr 15, 2015

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-15 Thread Minfei Huang
On 04/15/15 at 12:24pm, Justin Keller wrote: I agree that 128+ function names are bad and there is no need for such long names, epically for compatibility with 80 char/line displays. I cannot think of an example even near as long as 127 characters. Are there even such long function names

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-15 Thread Minfei Huang
On 04/15/15 at 10:30P, Miroslav Benes wrote: On Wed, 15 Apr 2015, Minfei Huang wrote: Yes, the function name can be changed, before the extra module is installed to the production system. We discuss around and around, there are still some confusion with it. 1) How does end user

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-15 Thread Minfei Huang
On 04/15/15 at 10:30P, Miroslav Benes wrote: On Wed, 15 Apr 2015, Minfei Huang wrote: Yes, the function name can be changed, before the extra module is installed to the production system. We discuss around and around, there are still some confusion with it. 1) How does end user

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-15 Thread Miroslav Benes
On Wed, 15 Apr 2015, Minfei Huang wrote: On 04/14/15 at 08:41pm, Petr Mladek wrote: On Wed 2015-04-15 01:01:39, Minfei Huang wrote: On 04/14/15 at 06:27pm, Petr Mladek wrote: On Tue 2015-04-14 23:55:36, Minfei Huang wrote: On 04/14/15 at 10:11P, Josh Poimboeuf wrote: On Tue,

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-14 Thread Minfei Huang
On 04/14/15 at 08:41pm, Petr Mladek wrote: > On Wed 2015-04-15 01:01:39, Minfei Huang wrote: > > On 04/14/15 at 06:27pm, Petr Mladek wrote: > > > On Tue 2015-04-14 23:55:36, Minfei Huang wrote: > > > > On 04/14/15 at 10:11P, Josh Poimboeuf wrote: > > > > > On Tue, Apr 14, 2015 at 01:45:49PM +0800,

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-14 Thread Petr Mladek
On Wed 2015-04-15 01:01:39, Minfei Huang wrote: > On 04/14/15 at 06:27pm, Petr Mladek wrote: > > On Tue 2015-04-14 23:55:36, Minfei Huang wrote: > > > On 04/14/15 at 10:11P, Josh Poimboeuf wrote: > > > > On Tue, Apr 14, 2015 at 01:45:49PM +0800, Minfei Huang wrote: > > > > > On 04/14/15 at 12:32P,

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-14 Thread Minfei Huang
On 04/14/15 at 06:27pm, Petr Mladek wrote: > On Tue 2015-04-14 23:55:36, Minfei Huang wrote: > > On 04/14/15 at 10:11P, Josh Poimboeuf wrote: > > > On Tue, Apr 14, 2015 at 01:45:49PM +0800, Minfei Huang wrote: > > > > On 04/14/15 at 12:32P, Josh Poimboeuf wrote: > > > > > On Tue, Apr 14, 2015 at

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-14 Thread Petr Mladek
On Tue 2015-04-14 23:55:36, Minfei Huang wrote: > On 04/14/15 at 10:11P, Josh Poimboeuf wrote: > > On Tue, Apr 14, 2015 at 01:45:49PM +0800, Minfei Huang wrote: > > > On 04/14/15 at 12:32P, Josh Poimboeuf wrote: > > > > On Tue, Apr 14, 2015 at 01:29:50PM +0800, Minfei Huang wrote: > > > > > > > >

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-14 Thread Minfei Huang
On 04/14/15 at 10:11P, Josh Poimboeuf wrote: > On Tue, Apr 14, 2015 at 01:45:49PM +0800, Minfei Huang wrote: > > On 04/14/15 at 12:32P, Josh Poimboeuf wrote: > > > On Tue, Apr 14, 2015 at 01:29:50PM +0800, Minfei Huang wrote: > > > > > > > > For end user, they may know litter about restriction of

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-14 Thread Josh Poimboeuf
On Tue, Apr 14, 2015 at 01:45:49PM +0800, Minfei Huang wrote: > On 04/14/15 at 12:32P, Josh Poimboeuf wrote: > > On Tue, Apr 14, 2015 at 01:29:50PM +0800, Minfei Huang wrote: > > > > > > For end user, they may know litter about restriction of kallsyms and > > > livepatch. How can they know the

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-14 Thread Petr Mladek
On Tue 2015-04-14 23:55:36, Minfei Huang wrote: On 04/14/15 at 10:11P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 01:45:49PM +0800, Minfei Huang wrote: On 04/14/15 at 12:32P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 01:29:50PM +0800, Minfei Huang wrote: For end user,

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-14 Thread Josh Poimboeuf
On Tue, Apr 14, 2015 at 01:45:49PM +0800, Minfei Huang wrote: On 04/14/15 at 12:32P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 01:29:50PM +0800, Minfei Huang wrote: For end user, they may know litter about restriction of kallsyms and livepatch. How can they know the restriction

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-14 Thread Minfei Huang
On 04/14/15 at 06:27pm, Petr Mladek wrote: On Tue 2015-04-14 23:55:36, Minfei Huang wrote: On 04/14/15 at 10:11P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 01:45:49PM +0800, Minfei Huang wrote: On 04/14/15 at 12:32P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 01:29:50PM

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-14 Thread Minfei Huang
On 04/14/15 at 10:11P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 01:45:49PM +0800, Minfei Huang wrote: On 04/14/15 at 12:32P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 01:29:50PM +0800, Minfei Huang wrote: For end user, they may know litter about restriction of kallsyms and

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-14 Thread Minfei Huang
On 04/14/15 at 08:41pm, Petr Mladek wrote: On Wed 2015-04-15 01:01:39, Minfei Huang wrote: On 04/14/15 at 06:27pm, Petr Mladek wrote: On Tue 2015-04-14 23:55:36, Minfei Huang wrote: On 04/14/15 at 10:11P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 01:45:49PM +0800, Minfei Huang

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-14 Thread Petr Mladek
On Wed 2015-04-15 01:01:39, Minfei Huang wrote: On 04/14/15 at 06:27pm, Petr Mladek wrote: On Tue 2015-04-14 23:55:36, Minfei Huang wrote: On 04/14/15 at 10:11P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 01:45:49PM +0800, Minfei Huang wrote: On 04/14/15 at 12:32P, Josh Poimboeuf

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Minfei Huang
On 04/14/15 at 12:32P, Josh Poimboeuf wrote: > On Tue, Apr 14, 2015 at 01:29:50PM +0800, Minfei Huang wrote: > > On 04/14/15 at 12:11P, Josh Poimboeuf wrote: > > > On Tue, Apr 14, 2015 at 01:03:48PM +0800, Minfei Huang wrote: > > > > On 04/13/15 at 11:57P, Josh Poimboeuf wrote: > > > > > On Tue,

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Josh Poimboeuf
On Tue, Apr 14, 2015 at 01:29:50PM +0800, Minfei Huang wrote: > On 04/14/15 at 12:11P, Josh Poimboeuf wrote: > > On Tue, Apr 14, 2015 at 01:03:48PM +0800, Minfei Huang wrote: > > > On 04/13/15 at 11:57P, Josh Poimboeuf wrote: > > > > On Tue, Apr 14, 2015 at 08:26:29AM +0800, Minfei Huang wrote: >

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Minfei Huang
On 04/14/15 at 12:11P, Josh Poimboeuf wrote: > On Tue, Apr 14, 2015 at 01:03:48PM +0800, Minfei Huang wrote: > > On 04/13/15 at 11:57P, Josh Poimboeuf wrote: > > > On Tue, Apr 14, 2015 at 08:26:29AM +0800, Minfei Huang wrote: > > > > On 04/13/15 at 06:13P, Josh Poimboeuf wrote: > > > > > On Sun,

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Josh Poimboeuf
On Tue, Apr 14, 2015 at 01:03:48PM +0800, Minfei Huang wrote: > On 04/13/15 at 11:57P, Josh Poimboeuf wrote: > > On Tue, Apr 14, 2015 at 08:26:29AM +0800, Minfei Huang wrote: > > > On 04/13/15 at 06:13P, Josh Poimboeuf wrote: > > > > On Sun, Apr 12, 2015 at 09:15:54PM +0800, Minfei Huang wrote: >

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Minfei Huang
On 04/13/15 at 11:57P, Josh Poimboeuf wrote: > On Tue, Apr 14, 2015 at 08:26:29AM +0800, Minfei Huang wrote: > > On 04/13/15 at 06:13P, Josh Poimboeuf wrote: > > > On Sun, Apr 12, 2015 at 09:15:54PM +0800, Minfei Huang wrote: > > > > For now, the kallsyms will only store the first

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Josh Poimboeuf
On Tue, Apr 14, 2015 at 08:26:29AM +0800, Minfei Huang wrote: > On 04/13/15 at 06:13P, Josh Poimboeuf wrote: > > On Sun, Apr 12, 2015 at 09:15:54PM +0800, Minfei Huang wrote: > > > For now, the kallsyms will only store the first (KSYM_NAME_LEN-1). The > > > kallsyms name is same for the function

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Minfei Huang
On 04/13/15 at 06:13P, Josh Poimboeuf wrote: > On Sun, Apr 12, 2015 at 09:15:54PM +0800, Minfei Huang wrote: > > For now, the kallsyms will only store the first (KSYM_NAME_LEN-1). The > > kallsyms name is same for the function which first (KSYM_NAME_LEN-1) is > > same, but the rest is not. > > >

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Josh Poimboeuf
On Sun, Apr 12, 2015 at 09:15:54PM +0800, Minfei Huang wrote: > For now, the kallsyms will only store the first (KSYM_NAME_LEN-1). The > kallsyms name is same for the function which first (KSYM_NAME_LEN-1) is > same, but the rest is not. > > Then function will never be patched, although function

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Minfei Huang
On 04/13/15 at 10:44P, Petr Mladek wrote: > On Sun 2015-04-12 21:15:54, Minfei Huang wrote: > > For now, the kallsyms will only store the first (KSYM_NAME_LEN-1). The > > kallsyms name is same for the function which first (KSYM_NAME_LEN-1) is > > same, but the rest is not. > > > > Then function

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Petr Mladek
On Sun 2015-04-12 21:15:54, Minfei Huang wrote: > For now, the kallsyms will only store the first (KSYM_NAME_LEN-1). The > kallsyms name is same for the function which first (KSYM_NAME_LEN-1) is > same, but the rest is not. > > Then function will never be patched, although function name and

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Minfei Huang
On 04/13/15 at 06:13P, Josh Poimboeuf wrote: On Sun, Apr 12, 2015 at 09:15:54PM +0800, Minfei Huang wrote: For now, the kallsyms will only store the first (KSYM_NAME_LEN-1). The kallsyms name is same for the function which first (KSYM_NAME_LEN-1) is same, but the rest is not. Then

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Josh Poimboeuf
On Sun, Apr 12, 2015 at 09:15:54PM +0800, Minfei Huang wrote: For now, the kallsyms will only store the first (KSYM_NAME_LEN-1). The kallsyms name is same for the function which first (KSYM_NAME_LEN-1) is same, but the rest is not. Then function will never be patched, although function name

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Minfei Huang
On 04/14/15 at 12:11P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 01:03:48PM +0800, Minfei Huang wrote: On 04/13/15 at 11:57P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 08:26:29AM +0800, Minfei Huang wrote: On 04/13/15 at 06:13P, Josh Poimboeuf wrote: On Sun, Apr 12, 2015 at

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Minfei Huang
On 04/13/15 at 11:57P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 08:26:29AM +0800, Minfei Huang wrote: On 04/13/15 at 06:13P, Josh Poimboeuf wrote: On Sun, Apr 12, 2015 at 09:15:54PM +0800, Minfei Huang wrote: For now, the kallsyms will only store the first (KSYM_NAME_LEN-1). The

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Josh Poimboeuf
On Tue, Apr 14, 2015 at 01:29:50PM +0800, Minfei Huang wrote: On 04/14/15 at 12:11P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 01:03:48PM +0800, Minfei Huang wrote: On 04/13/15 at 11:57P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 08:26:29AM +0800, Minfei Huang wrote: On

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Minfei Huang
On 04/14/15 at 12:32P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 01:29:50PM +0800, Minfei Huang wrote: On 04/14/15 at 12:11P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 01:03:48PM +0800, Minfei Huang wrote: On 04/13/15 at 11:57P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Josh Poimboeuf
On Tue, Apr 14, 2015 at 01:03:48PM +0800, Minfei Huang wrote: On 04/13/15 at 11:57P, Josh Poimboeuf wrote: On Tue, Apr 14, 2015 at 08:26:29AM +0800, Minfei Huang wrote: On 04/13/15 at 06:13P, Josh Poimboeuf wrote: On Sun, Apr 12, 2015 at 09:15:54PM +0800, Minfei Huang wrote: For

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Josh Poimboeuf
On Tue, Apr 14, 2015 at 08:26:29AM +0800, Minfei Huang wrote: On 04/13/15 at 06:13P, Josh Poimboeuf wrote: On Sun, Apr 12, 2015 at 09:15:54PM +0800, Minfei Huang wrote: For now, the kallsyms will only store the first (KSYM_NAME_LEN-1). The kallsyms name is same for the function which

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Petr Mladek
On Sun 2015-04-12 21:15:54, Minfei Huang wrote: For now, the kallsyms will only store the first (KSYM_NAME_LEN-1). The kallsyms name is same for the function which first (KSYM_NAME_LEN-1) is same, but the rest is not. Then function will never be patched, although function name and address

Re: [PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-13 Thread Minfei Huang
On 04/13/15 at 10:44P, Petr Mladek wrote: On Sun 2015-04-12 21:15:54, Minfei Huang wrote: For now, the kallsyms will only store the first (KSYM_NAME_LEN-1). The kallsyms name is same for the function which first (KSYM_NAME_LEN-1) is same, but the rest is not. Then function will never

[PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-12 Thread Minfei Huang
For now, the kallsyms will only store the first (KSYM_NAME_LEN-1). The kallsyms name is same for the function which first (KSYM_NAME_LEN-1) is same, but the rest is not. Then function will never be patched, although function name and address are provided both. The reason caused this bug is

[PATCH 2/2] livepatch: Fix the bug if the function name is larger than KSYM_NAME_LEN-1

2015-04-12 Thread Minfei Huang
For now, the kallsyms will only store the first (KSYM_NAME_LEN-1). The kallsyms name is same for the function which first (KSYM_NAME_LEN-1) is same, but the rest is not. Then function will never be patched, although function name and address are provided both. The reason caused this bug is