On Fri, Mar 20, 2015 at 04:58:46PM +0800, Xiubo Li wrote: > When enabling or disabling the live patch which is already in enabled > or disabled state, the /sys/kernel/livepatch/<patch>/enabled will just > return -EINVAL error value, so in user space will complaint like: > "bash: echo: write error: Invalid argument" > and this will confuse users. I actually prefer the current behavior. I think the user should be notified if they're trying to do something which doesn't make sense. -- Josh -- To unsubscribe from this list: send the line "unsubscribe live-patching" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html