Home
last modified time | relevance | path

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

/freebsd-14-stable/tests/sys/posixshm/
HDposixshm_test.c89 shm_open_should_fail(const char *path, int flags, mode_t mode, int error) in shm_open_should_fail() function
604 shm_open_should_fail(test_path, O_RDONLY, 0777, ENOENT); in ATF_TC_BODY()
611 shm_open_should_fail("blah", O_RDONLY, 0777, EINVAL); in ATF_TC_BODY()
620 shm_open_should_fail(test_path, O_WRONLY, 0777, EINVAL); in ATF_TC_BODY()
629 shm_open_should_fail(test_path, O_RDONLY | O_DIRECT, 0777, EINVAL); in ATF_TC_BODY()
646 shm_open_should_fail(SHM_ANON, O_RDONLY, 0777, EINVAL); in ATF_TC_BODY()
653 shm_open_should_fail((char *)1024, O_RDONLY, 0777, EFAULT); in ATF_TC_BODY()
664 shm_open_should_fail(page, O_RDONLY, 0777, ENAMETOOLONG); in ATF_TC_BODY()
672 shm_open_should_fail("/notreallythere", O_RDONLY, 0777, ENOENT); in ATF_TC_BODY()
686 shm_open_should_fail(test_path, O_RDONLY|O_CREAT|O_EXCL, in ATF_TC_BODY()