Messages in this thread | | | Date | Thu, 16 Apr 2020 07:10:08 -0500 | From | Josh Poimboeuf <> | Subject | Re: [PATCH 6/7] livepatch: Remove module_disable_ro() usage |
| |
On Thu, Apr 16, 2020 at 11:28:25AM +0200, Miroslav Benes wrote: > If I remember correctly, text_mutex must be held whenever text is modified > to prevent race due to the modification. It is not only about permission > changes even though it was how it manifested itself in our case.
Yeah, that's what confused me. We went years without using text_mutex and then only started using it because of a race with the permissions changes.
-- Josh
| |