Searched refs:utsbuf (Results 1 – 3 of 3) sorted by relevance
/external/linux-kselftest/android/patches/ |
D | 0010-seccomp-detect-compat-mode-in-ARM64.patch | 23 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/ |
D | seccomp_bpf.c | 2098 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/ |
D | seccomp_bpf.c | 2665 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()
|