aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-01-09 15:02:43 -0800
committerSean Christopherson <[email protected]>2024-01-30 15:29:41 -0800
commit45e4755c39fc2df55f58ea893615a7d45a0fbcc8 (patch)
tree2ad49d62071728b02908779b092fcd80a7d6614e /lib/test_fortify/write_overflow-strncpy-src.c
parentc85e986716b03bccfec2e5a577cc1aab4f172ffd (diff)
KVM: selftests: Add helpers to read integer module params
Add helpers to read integer module params, which is painfully non-trivial because the pain of dealing with strings in C is exacerbated by the kernel inserting a newline. Don't bother differentiating between int, uint, short, etc. They all fit in an int, and KVM (thankfully) doesn't have any integer params larger than an int. Tested-by: Dapeng Mi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions