Date | Tue, 27 Sep 2022 16:52:14 +0200 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH v10 02/27] kallsyms: avoid hardcoding buffer size |
| |
On Tue, Sep 27, 2022 at 03:14:33PM +0200, Miguel Ojeda wrote: > From: Boqun Feng <boqun.feng@gmail.com> > > This introduces `KSYM_NAME_LEN_BUFFER` in place of the previously > hardcoded size of the input buffer. > > It will also make it easier to update the size in a single place > in a later patch. > > Reviewed-by: Kees Cook <keescook@chromium.org> > Signed-off-by: Boqun Feng <boqun.feng@gmail.com> > Co-developed-by: Miguel Ojeda <ojeda@kernel.org> > Signed-off-by: Miguel Ojeda <ojeda@kernel.org> > --- > scripts/kallsyms.c | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) >
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|