diff options
| author | Joe Perches <[email protected]> | 2020-09-16 20:40:43 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-10-02 11:16:33 +0000 |
| commit | 7981593bf083801035b1f1377661849805acb216 (patch) | |
| tree | 2bbda781606b0bdc05ca2f183a84919d9d5659d3 /security/selinux/hooks.c | |
| parent | drivers core: Miscellaneous changes for sysfs_emit (diff) | |
| download | kernel-7981593bf083801035b1f1377661849805acb216.tar.gz kernel-7981593bf083801035b1f1377661849805acb216.zip | |
mm: and drivers core: Convert hugetlb_report_node_meminfo to sysfs_emit
Convert the unbound sprintf in hugetlb_report_node_meminfo to use
sysfs_emit_at so that no possible overrun of a PAGE_SIZE buf can occur.
Signed-off-by: Joe Perches <[email protected]>
Acked-by: Mike Kravetz <[email protected]>
Link: https://lore.kernel.org/r/894b351b82da6013cde7f36ff4b5493cd0ec30d0.1600285923.git.joe@perches.com
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
