Home
last modified time | relevance | path

Searched refs:ENOSYS (Results 1 – 18 of 18) sorted by relevance

/bionic/tests/
Dsys_shm_test.cpp36 if (shmctl(-1, IPC_STAT, nullptr) == -1 && errno == ENOSYS) { in TEST()
66 ASSERT_TRUE(errno == EINVAL || errno == ENOSYS); in TEST()
72 ASSERT_TRUE(errno == EINVAL || errno == ENOSYS); in TEST()
80 ASSERT_TRUE(errno == EINVAL || errno == ENOSYS); in TEST()
87 ASSERT_TRUE(errno == ENOENT || errno == ENOSYS); in TEST()
Dpidfd_test.cpp48 if (pidfd.get() == -1 && errno == ENOSYS) GTEST_SKIP() << "no pidfd_open() in this kernel"; in TEST()
67 if (self.get() == -1 && errno == ENOSYS) GTEST_SKIP() << "no pidfd_open() in this kernel"; in TEST()
71 if (dup.get() == -1 && errno == ENOSYS) GTEST_SKIP() << "no pidfd_getfd() in this kernel"; in TEST()
85 if (self.get() == -1 && errno == ENOSYS) GTEST_SKIP() << "no pidfd_open() in this kernel"; in TEST_F()
89 if (rc == -1 && errno == ENOSYS) GTEST_SKIP() << "no pidfd_send_signal() in this kernel"; in TEST_F()
Dsys_msg_test.cpp37 if (msgctl(-1, IPC_STAT, nullptr) == -1 && errno == ENOSYS) { in TEST()
82 ASSERT_TRUE(errno == EINVAL || errno == ENOSYS); in TEST()
89 ASSERT_TRUE(errno == ENOENT || errno == ENOSYS); in TEST()
97 ASSERT_TRUE(errno == EINVAL || errno == ENOSYS); in TEST()
108 ASSERT_TRUE(errno == EINVAL || errno == ENOSYS); in TEST()
Dsys_sem_test.cpp39 if (semctl(-1, 0, IPC_RMID) == -1 && errno == ENOSYS) { in TEST()
82 ASSERT_TRUE(errno == EINVAL || errno == ENOSYS); in TEST()
88 ASSERT_TRUE(errno == EINVAL || errno == ENOSYS); in TEST()
96 ASSERT_TRUE(errno == EINVAL || errno == ENOSYS); in TEST()
105 ASSERT_TRUE(errno == EINVAL || errno == ENOSYS); in TEST()
Dsys_epoll_test.cpp67 if (rc == -1 && errno == ENOSYS) GTEST_SKIP() << "no epoll_pwait2() in this kernel"; in TEST()
97 if (rc == -1 && errno == ENOSYS) GTEST_SKIP() << "no epoll_pwait2() in this kernel"; in TEST()
115 if (rc == -1 && errno == ENOSYS) GTEST_SKIP() << "no epoll_pwait2() in this kernel"; in TEST()
Dfdtrack_test.cpp238 if (rc == -1 && errno == ENOSYS) GTEST_SKIP() << "no pidfd_open() in this kernel";
246 if (pidfd_self == -1 && errno == ENOSYS) GTEST_SKIP() << "no pidfd_open() in this kernel";
252 if (rc == -1 && errno == ENOSYS) GTEST_SKIP() << "no pidfd_getfd() in this kernel";
Dmembarrier_test.cpp42 if (supported == -1 && errno == ENOSYS) GTEST_SKIP() << "no membarrier() in this kernel"; in TEST()
Dsys_stat_test.cpp112 if (rc == -1 && errno == ENOSYS) GTEST_SKIP() << "no statx() in this kernel"; in TEST()
Dsys_mman_test.cpp298 if (fd == -1 && errno == ENOSYS) GTEST_SKIP() << "no memfd_create() in this kernel"; in TEST()
Dunistd_test.cpp1728 if (rc == -1 && errno == ENOSYS) GTEST_SKIP() << "no close_range() in this kernel"; in TEST()
Dstring_test.cpp1695 ASSERT_STREQ("ENOSYS", strerrorname_np(ENOSYS)); in TEST()
Ddlext_test.cpp968 if (memfd == -1 && errno == ENOSYS) GTEST_SKIP() << "no memfd_create() in this kernel"; in TEST()
/bionic/libc/bionic/
Dsemaphore.cpp125 errno = ENOSYS; in sem_open()
130 errno = ENOSYS; in sem_close()
135 errno = ENOSYS; in sem_unlink()
Dandroid_profiling_dynamic.cpp201 auto ret = -ENOSYS; in HandleSigsysSeccompOverride()
Dndk_cruft.cpp97 return ENOSYS; in pthread_attr_setstackaddr()
/bionic/libc/kernel/uapi/asm-generic/
Derrno.h13 #define ENOSYS 38 macro
/bionic/tests/headers/posix/
Derrno_h.c89 MACRO(ENOSYS); in errno_h()
/bionic/libc/private/
Dbionic_errdefs.h76 __BIONIC_ERRDEF(ENOSYS, "Function not implemented")