Re: [PATCH v3 3/3] selftests: livepatch: test livepatching a kprobed function

From: Miroslav Benes
Date: Fri Sep 27 2024 - 08:54:52 EST


Hi,

On Fri, 20 Sep 2024, Michael Vetter wrote:

> +# Kprobe a function and verify that we can't livepatch that same function
> +# when it uses a post_handler since only one IPMODIFY maybe be registered
> +# to any given function at a time.
> +
> +start_test "livepatch interaction with kprobed function with post_handler"
> +
> +echo 1 > /sys/kernel/debug/kprobes/enabled

opencoded here again.

The rest looks good to me.

Miroslav