2

I'm writing a livepatch module to hook a function and replace it with one that causes the process to terminate. I can't call abort() because that calls BUG() and my kernel will panic on oops.

Importantly, the function must terminate the process immediately and must not return.

1 Answer 1

0

Well, I'm dumb. Turns out I was still using do_exit_group() and forgot to switch to do_exit().

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .