Re: [PATCH] livepatch: add sysfs interface /sys/kernel/livepatch/state

2015-06-17 Thread Li Bin
On 2015/6/17 21:20, Miroslav Benes wrote: > On Wed, 17 Jun 2015, Li Bin wrote: > >> On 2015/6/17 16:13, Miroslav Benes wrote: >>> On Wed, 17 Jun 2015, Li Bin wrote: >> >>> The list of applied patches can be obtained just by 'ls >>> /sys/kernel/livepatch' and their state is in enabled attribute in

Re: [PATCH] livepatch: add sysfs interface /sys/kernel/livepatch/state

2015-06-17 Thread Miroslav Benes
On Wed, 17 Jun 2015, Li Bin wrote: > On 2015/6/17 16:13, Miroslav Benes wrote: > > On Wed, 17 Jun 2015, Li Bin wrote: > > > The list of applied patches can be obtained just by 'ls > > /sys/kernel/livepatch' and their state is in enabled attribute in each > > respective patch (no, you cannot obta

Re: [PATCH] livepatch: add sysfs interface /sys/kernel/livepatch/state

2015-06-17 Thread Li Bin
On 2015/6/17 16:13, Miroslav Benes wrote: > On Wed, 17 Jun 2015, Li Bin wrote: > >> The added sysfs interface /sys/kernel/livepatch/state is read-only, >> it shows the patches that have been applied, incluing the stack index >> and the state of each patch. >> >> $ cat /sys/kernel/livepatch/state >

Re: [PATCH] livepatch: add sysfs interface /sys/kernel/livepatch/state

2015-06-17 Thread Miroslav Benes
On Wed, 17 Jun 2015, Li Bin wrote: > The added sysfs interface /sys/kernel/livepatch/state is read-only, > it shows the patches that have been applied, incluing the stack index > and the state of each patch. > > $ cat /sys/kernel/livepatch/state > Index Patch State > ---

[PATCH] livepatch: add sysfs interface /sys/kernel/livepatch/state

2015-06-16 Thread Li Bin
The added sysfs interface /sys/kernel/livepatch/state is read-only, it shows the patches that have been applied, incluing the stack index and the state of each patch. $ cat /sys/kernel/livepatch/state Index Patch State --- 1