Searched refs:TH_LOG (Results 1 - 25 of 27) sorted by relevance

12

/linux-master/tools/testing/selftests/net/
H A Dip_local_port_range.c191 ASSERT_GE(fd, 0) TH_LOG("socket failed");
196 EXPECT_TRUE(err) TH_LOG("expected setsockopt(IP_LOCAL_PORT_RANGE) to fail");
202 EXPECT_TRUE(err) TH_LOG("expected setsockopt(IP_LOCAL_PORT_RANGE) to fail");
208 EXPECT_TRUE(err) TH_LOG("expected setsockopt(IP_LOCAL_PORT_RANGE) to fail");
212 ASSERT_TRUE(!err) TH_LOG("close failed");
234 TH_LOG("lo %5hu, hi %5hu", t->range_lo, t->range_hi);
241 ASSERT_GE(fd, 0) TH_LOG("#%d: socket failed", i);
245 ASSERT_TRUE(!err) TH_LOG("#%d: setsockopt(IP_LOCAL_PORT_RANGE) failed", i);
248 ASSERT_TRUE(!err) TH_LOG("#%d: bind failed", i);
252 ASSERT_GE(port, 40000) TH_LOG("#
[all...]
H A Dreuseaddr_ports_exhausted.c61 ASSERT_NE(-1, fd) TH_LOG("failed to open socket.");
64 ASSERT_EQ(0, ret) TH_LOG("failed to setsockopt: SO_REUSEADDR.");
67 ASSERT_EQ(0, ret) TH_LOG("failed to setsockopt: SO_REUSEPORT.");
92 ASSERT_NE(-1, fd[0]) TH_LOG("failed to bind.");
93 EXPECT_EQ(-1, fd[1]) TH_LOG("should fail to bind.");
112 ASSERT_NE(-1, fd[0]) TH_LOG("failed to bind.");
115 EXPECT_EQ(-1, fd[1]) TH_LOG("should fail to bind because both sockets succeed to be listened.");
117 EXPECT_NE(-1, fd[1]) TH_LOG("should succeed to bind to connect to different destinations.");
137 ASSERT_EQ(0, ret) TH_LOG("failed to seteuid: %d.", euid[j]);
142 ASSERT_EQ(0, ret) TH_LOG("faile
[all...]
H A Dso_incoming_cpu.c231 TH_LOG("SO_INCOMING_CPU is very likely to be "
/linux-master/tools/testing/selftests/mincore/
H A Dmincore_selftest.c53 TH_LOG("mmap error: %s", strerror(errno));
97 TH_LOG("mmap error: %s", strerror(errno));
102 TH_LOG("Page found in memory before use");
111 TH_LOG("Page not found in memory after use");
123 TH_LOG("Page in memory after being zapped");
156 TH_LOG("mmap error: %s", strerror(errno));
161 TH_LOG("Page found in memory before use");
169 TH_LOG("Page not found in memory after use");
205 TH_LOG("Can't allocate array");
212 TH_LOG("Ca
[all...]
/linux-master/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c45 TH_LOG("%s - Failed to unshare mount namespace",
51 TH_LOG("%s - Failed to mount / as private",
73 TH_LOG("%s - Failed to create binderfs mountpoint",
82 TH_LOG("%s - Failed to mount binderfs", strerror(errno));
93 TH_LOG("%s - Failed to open binder-control device",
103 TH_LOG("%s - Failed to allocate new binder device",
108 TH_LOG("Allocated new binder device with major %d, minor %d, and name %s",
116 TH_LOG("%s - Failed to open my-binder device",
126 TH_LOG("%s - Failed to open perform BINDER_VERSION request",
131 TH_LOG("Detecte
[all...]
/linux-master/tools/testing/selftests/clone3/
H A Dclone3_cap_checkpoint_restore.c53 TH_LOG("%s - Failed to create new process", strerror(errno));
61 TH_LOG("I am the child, my PID is %d (expected %d)", getpid(), set_tid[0]);
68 TH_LOG("I am the parent (%d). My child's pid is %d", getpid(), pid);
71 TH_LOG("Child returned %s", strerror(errno));
86 TH_LOG("[%d] Trying clone3() with CLONE_SET_TID to %d", getpid(), set_tid[0]);
88 TH_LOG("[%d] clone3() with CLONE_SET_TID %d says:%d", getpid(), set_tid[0], ret);
153 TH_LOG("Child has PID %d", getpid());
157 TH_LOG("Waiting for child %d failed", pid);
163 TH_LOG("Could not set CAP_CHECKPOINT_RESTORE");
168 TH_LOG("Faile
[all...]
/linux-master/tools/testing/selftests/syscall_user_dispatch/
H A Dsud_test.c70 TH_LOG("Kernel does not support CONFIG_SYSCALL_USER_DISPATCH");
78 TH_LOG("Unreachable!");
130 TH_LOG("Should reject bad syscall range");
138 TH_LOG("Should reject bad syscall range");
203 TH_LOG("Kernel does not support CONFIG_SYSCALL_USER_DISPATCH");
210 TH_LOG("Dispatch triggered unexpectedly");
219 TH_LOG("Failed to intercept syscall");
222 TH_LOG("Failed to emulate syscall");
225 TH_LOG("Bad si_code in SIGSYS");
228 TH_LOG("Ba
[all...]
/linux-master/tools/testing/selftests/arm64/pauth/
H A Dpac.c210 ASSERT_TRUE(0) TH_LOG("SIGSEGV/SIGILL signal did not occur");
234 ASSERT_NE(0, keyia) TH_LOG("keyia instructions did nothing");
235 ASSERT_NE(0, keyib) TH_LOG("keyib instructions did nothing");
236 ASSERT_NE(0, keyda) TH_LOG("keyda instructions did nothing");
237 ASSERT_NE(0, keydb) TH_LOG("keydb instructions did nothing");
249 ASSERT_NE(0, keyg) TH_LOG("keyg instructions did nothing");
263 TH_LOG("WARNING: Generic PAUTH not enabled. Skipping generic key checks");
287 ASSERT_EQ(0, same) TH_LOG("%d keys clashed every time", same);
306 TH_LOG("WARNING: Generic PAUTH not enabled. Skipping generic key checks");
312 ASSERT_EQ(0, ret) TH_LOG("faile
[all...]
/linux-master/tools/testing/selftests/prctl/
H A Dset-anon-vma-name-test.c93 TH_LOG("Try to rename the VMA with correct parameters");
97 TH_LOG("Try to pass invalid name (with non-printable character \\1) to rename the VMA");
100 TH_LOG("Try to rename non-anonymous VMA");
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_setns_test.c138 TH_LOG("%m - Failed to open /proc/self/ns");
147 TH_LOG("%m - Failed to open %s namespace for process %d",
155 TH_LOG("%m - Failed to open pidfd for process %d", self->pid);
170 TH_LOG("%m - Failed to open pidfd for process %d", self->pid);
240 TH_LOG("%m - Failed to open %s namespace for process %d",
253 TH_LOG("%m - Failed to open %s namespace for process %d",
266 TH_LOG("%m - Failed to open %s namespace for process %d",
392 TH_LOG("%m - Failed to setns to %s namespace of %d via pidfd %d",
404 TH_LOG("setns failed to place us correctly into %s namespace of %d via pidfd %d",
408 TH_LOG("Manage
[all...]
H A Dpidfd_getfd_test.c141 TH_LOG("%s: failed to create socketpair", strerror(errno));
231 TH_LOG("getfd succeeded while fetching unknown fd");
234 TH_LOG("%s: getfd did not get EBADF", strerror(errno));
/linux-master/tools/testing/selftests/hid/
H A Dhid_bpf.c108 TH_LOG(fmt, ##__VA_ARGS__); \
123 TH_LOG("Cannot write to uhid: %m");
126 TH_LOG("Wrong size written to uhid: %zd != %zu",
225 TH_LOG("Invalid event from uhid-dev: %u", ev.type);
251 TH_LOG("Cannot poll for fds: %m");
275 TH_LOG("Could not start the uhid thread: %d", err);
309 ASSERT_GE(fd, 0) TH_LOG("open uhid-cdev failed; %d", fd);
313 TH_LOG("create uhid device failed: %d", ret);
475 TH_LOG(fmt, ##__VA_ARGS__); \
524 TH_LOG("to
[all...]
/linux-master/tools/testing/selftests/rtc/
H A Drtctest.c52 TH_LOG("Current RTC date/time is %02d/%02d/%02d %02d:%02d:%02d.",
95 TH_LOG("Continuously reading RTC time for %ds (with %dms breaks after every read).",
122 TH_LOG("Performed %ld RTC time reads.", iter_count);
137 TH_LOG("skip update IRQs not supported.");
166 TH_LOG("skip update IRQs not supported.");
214 TH_LOG("skip alarms are not supported.");
221 TH_LOG("Alarm time now set to %02d:%02d:%02d.",
241 TH_LOG("data: %lx", data);
274 TH_LOG("skip alarms are not supported.");
281 TH_LOG("Alar
[all...]
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c313 /* Have TH_LOG report actual location filecmp() is used. */
320 TH_LOG("kcmp() syscall missing (test is less accurate)");\
342 TH_LOG("Kernel does not support CONFIG_SECCOMP");
353 TH_LOG("Kernel does not support CONFIG_SECCOMP");
358 TH_LOG("Unreachable!");
369 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!");
380 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!");
385 TH_LOG("Kernel does not support CONFIG_SECCOMP_FILTER!");
404 TH_LOG("Expected 0 or unsupported for NO_NEW_PRIVS");
446 TH_LOG("Installin
[all...]
/linux-master/tools/testing/selftests/exec/
H A Dnon-regular.c27 TH_LOG("Not ENOENT: %s", pathname);
31 TH_LOG("Failed to remove: %s", pathname);
69 TH_LOG("Could not find viable 'true' binary");
/linux-master/tools/testing/selftests/ptrace/
H A Dget_syscall_info.c39 TH_LOG("wait #%d: " fmt, \
80 TH_LOG("fork: %m");
87 TH_LOG("PTRACE_TRACEME: %m");
91 TH_LOG("kill SIGSTOP: %m");
H A Dget_set_sud.c29 TH_LOG("PTRACE_TRACEME: %m");
/linux-master/tools/testing/selftests/user_events/
H A Duser_events_selftests.h102 TH_LOG("Setup failed due to: %s", message); \
/linux-master/tools/testing/selftests/landlock/
H A Dcommon.h87 TH_LOG("Failed to set capabilities: %s", strerror(errno));
117 TH_LOG("Failed to set capability %d: %s", cap, strerror(errno));
141 TH_LOG("Failed to set ambient capability %d: %s", cap,
226 TH_LOG("Failed to enforce ruleset: %s", strerror(errno));
H A Dptrace_test.c39 TH_LOG("Failed to create a ruleset: %s", strerror(errno));
269 TH_LOG("Incomplete tests due to Yama restrictions (scope %d)",
H A Dfs_test.c173 TH_LOG("Failed to create directory \"%s\": %s", parent,
187 TH_LOG("Failed to create directory \"%s\": %s", path,
198 TH_LOG("Failed to create file \"%s\": %s", path,
272 TH_LOG("Failed to mount the %s filesystem: %s", mnt->type,
684 TH_LOG("Failed to open directory \"%s\": %s", path,
690 TH_LOG("Failed to update the ruleset with \"%s\": %s", path,
724 TH_LOG("No rule list");
728 TH_LOG("Empty rule list");
735 TH_LOG("Failed to create a ruleset: %s", strerror(errno));
1622 TH_LOG("Faile
[all...]
H A Dnet_test.c453 TH_LOG("Failed to create socket: %s", strerror(errno));
470 TH_LOG("Failed to bind to socket: %s", strerror(errno));
498 TH_LOG("Failed to connect to socket: %s",
698 TH_LOG("Failed to bind to unspec/any socket: %s",
741 TH_LOG("Wrong bind error: %s", strerror(errno));
960 TH_LOG("Wrong bind error: %s", strerror(errno));
1264 TH_LOG("Failed to add rule with access 0x%llx: %s",
/linux-master/tools/testing/selftests/uevent/
H A Duevent_filtering.c356 TH_LOG("Uevent filtering tests require root privileges. Skipping test");
363 TH_LOG(__DEV_FULL " does not exist. Skipping test");
/linux-master/tools/testing/selftests/mm/
H A Dmdwe_test.c192 TH_LOG("PR_SET_MDWE failed or unsupported");
201 TH_LOG("fork failed\n");
/linux-master/tools/testing/selftests/sgx/
H A Dmain.c188 TH_LOG("Failed to load the test enclave.");
231 TH_LOG("0x%016lx 0x%016lx 0x%02x", seg->offset, seg->size, seg->prot);
240 TH_LOG("%s", maps_line);
246 TH_LOG("Failed to initialize the test enclave.");
278 TH_LOG("0x%02x 0x%02x 0x%016llx", (run)->exception_vector, \
402 TH_LOG("Creating an enclave with %lu bytes heap may take a while ...",
457 TH_LOG("Changing type of %zd bytes to trimmed may take a while ...",
473 TH_LOG("Entering enclave to run EACCEPT for each page of %zd bytes may take a while ...",
494 TH_LOG("Removing %zd bytes from enclave may take a while ...",

Completed in 264 milliseconds

12