diff options
author | 2023-07-28 17:36:13 -0700 | |
---|---|---|
committer | 2023-08-02 14:41:59 -0700 | |
commit | a1c1b55e116c14de4f8a78286b502101f2a1620c (patch) | |
tree | 189c0f6003701b55341ee3d315a857d59fa43e4a /lib/bitmap.c | |
parent | KVM: selftests: Add a shameful hack to preserve/clobber GPRs across ucall (diff) | |
download | wireguard-linux-a1c1b55e116c14de4f8a78286b502101f2a1620c.tar.xz wireguard-linux-a1c1b55e116c14de4f8a78286b502101f2a1620c.zip |
KVM: selftests: Add strnlen() to the string overrides
Add strnlen() to the string overrides to allow it to be called in the
guest.
The implementation for strnlen() was taken from the kernel's generic
version, lib/string.c.
This will be needed when printf() is introduced.
Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Link: https://lore.kernel.org/r/20230729003643.1053367-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions