Home
last modified time | relevance | path

Searched refs:str_vsyscall (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/proc/
H A Dproc-pid-vm.c220 static const char *str_vsyscall; variable
291 str_vsyscall = str_vsyscall_0; in main()
294 str_vsyscall = str_vsyscall_1; in main()
297 str_vsyscall = str_vsyscall_2; in main()
355 const size_t len = strlen(buf0) + strlen(str_vsyscall); in main()
369 assert(memcmp(buf + strlen(buf0), str_vsyscall, strlen(str_vsyscall)) == 0); in main()
416 assert(memmem(buf, rv, str_vsyscall, strlen(str_vsyscall))); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/proc/
H A Dproc-pid-vm.c214 static const char str_vsyscall[] = variable
315 const size_t len = strlen(buf0) + (g_vsyscall ? strlen(str_vsyscall) : 0); in main()
329 assert(memcmp(buf + strlen(buf0), str_vsyscall, strlen(str_vsyscall)) == 0); in main()
376 assert(memmem(buf, rv, str_vsyscall, strlen(str_vsyscall))); in main()

Completed in 2 milliseconds