Messages in this thread | | | Date | Thu, 7 Oct 2021 08:01:48 -0700 | From | Kees Cook <> | Subject | Re: [PATCH v2 4/4] kernel/kthread: show a warning if kthread's comm is truncated |
| |
On Thu, Oct 07, 2021 at 12:07:52PM +0000, Yafang Shao wrote: > Show a warning if task comm is truncated. Below is the result > of my test case: > > truncated kthread comm:I-am-a-kthread-with-lon, pid:14 by 6 characters > > Suggtested-by: Petr Mladek <pmladek@suse.com> > Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
I like that we get a warning now. :)
Reviewed-by: Kees Cook <keescook@chromium.org>
-- Kees Cook
| |