mirror of
https://github.com/dynup/kpatch
synced 2024-12-23 21:52:07 +00:00
Merge pull request #124 from jpoimboe/taint
kmod/core: taint kernel with TAINT_USER
This commit is contained in:
commit
2fd20a7a30
@ -266,8 +266,11 @@ int kpatch_register(struct module *mod, struct kpatch_func *funcs,
|
||||
goto out;
|
||||
}
|
||||
|
||||
pr_notice("loaded patch module \"%s\"\n", mod->name);
|
||||
/* TODO: need TAINT_KPATCH */
|
||||
pr_notice_once("tainting kernel with TAINT_USER\n");
|
||||
add_taint(TAINT_USER, LOCKDEP_STILL_OK);
|
||||
|
||||
pr_notice("loaded patch module \"%s\"\n", mod->name);
|
||||
out:
|
||||
up(&kpatch_mutex);
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user