diff options
| author | Boqun Feng <[email protected]> | 2022-07-27 18:54:19 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2022-09-28 06:54:39 +0000 |
| commit | b471927ebf9bb54ba6e99f20848d70193e645eed (patch) | |
| tree | f003b07f779a9b0cee0a465ee8002cc7eaf9dbd5 /rust/helpers.c | |
| parent | kallsyms: use `ARRAY_SIZE` instead of hardcoded size (diff) | |
| download | kernel-b471927ebf9bb54ba6e99f20848d70193e645eed.tar.gz kernel-b471927ebf9bb54ba6e99f20848d70193e645eed.zip | |
kallsyms: avoid hardcoding buffer size
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 <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Boqun Feng <[email protected]>
Co-developed-by: Miguel Ojeda <[email protected]>
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
