Home
last modified time | relevance | path

Searched refs:utsbuf (Results 1 – 3 of 3) sorted by relevance

/external/linux-kselftest/android/patches/
D0010-seccomp-detect-compat-mode-in-ARM64.patch23 struct utsname utsbuf;
36 ASSERT_EQ(0, uname(&utsbuf));
37 - if (strncmp(utsbuf.machine, "arm", 3) == 0) {
38 + if (sscanf(utsbuf.machine, "armv%d", &arm_version) == 1 &&
/external/seccomp-tests/linux/
Dseccomp_bpf.c2098 struct utsname utsbuf; in TEST() local
2212 ASSERT_EQ(0, uname(&utsbuf)); in TEST()
2213 if (strncmp(utsbuf.machine, "arm", 3) == 0) { in TEST()
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2665 struct utsname utsbuf; in TEST() local
2784 ASSERT_EQ(0, uname(&utsbuf)); in TEST()
2785 if (sscanf(utsbuf.machine, "armv%d", &arm_version) == 1 && in TEST()