Home
last modified time | relevance | path

Searched hist:a1c1b55e (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dstring_override.ca1c1b55e Fri Jul 28 19:36:13 CDT 2023 Aaron Lewis <aaronlewis@google.com> 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>
/openbmc/linux/tools/testing/selftests/kvm/
H A DMakefilea1c1b55e Fri Jul 28 19:36:13 CDT 2023 Aaron Lewis <aaronlewis@google.com> 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>