[PATCH V4 1/1] livepatch: Add stack_order sysfs attribute

2024-10-07 Thread Wardenjohn
Add "stack_order" sysfs attribute which holds the order in which a live patch module was loaded into the system. A user can then determine an active live patched version of a function. cat /sys/kernel/livepatch/livepatch_1/stack_order -> 1 means that livepatch_1 is the first live patch applied c

Re: [PATCH V4 1/1] livepatch: Add stack_order sysfs attribute

2024-10-07 Thread Josh Poimboeuf
On Mon, Oct 07, 2024 at 10:09:11PM +0800, Wardenjohn wrote: > +++ b/Documentation/ABI/testing/sysfs-kernel-livepatch > @@ -55,6 +55,15 @@ Description: > An attribute which indicates whether the patch supports > atomic-replace. > > +What:/sys/kernel/live

[PATCH V4 1/1] livepatch: Add stack_order sysfs attribute

2024-10-07 Thread Wardenjohn
Add "stack_order" sysfs attribute which holds the order in which a live patch module was loaded into the system. A user can then determine an active live patched version of a function. cat /sys/kernel/livepatch/livepatch_1/stack_order -> 1 means that livepatch_1 is the first live patch applied c