Searched refs:EFAULT (Results 1 - 25 of 461) sorted by relevance

1234567891011>>

/freebsd-current/contrib/pjdfstest/tests/symlink/
H A D12.t5 desc="symlink returns EFAULT if one of the pathnames specified is outside the process's allocated address space"
14 expect EFAULT symlink NULL ${n0}
15 expect EFAULT symlink DEADCODE ${n0}
16 expect EFAULT symlink test NULL
17 expect EFAULT symlink test DEADCODE
18 expect EFAULT symlink NULL DEADCODE
19 expect EFAULT symlink DEADCODE NULL
/freebsd-current/contrib/pjdfstest/tests/chmod/
H A D10.t5 desc="chmod returns EFAULT if the path argument points outside the process's allocated address space"
16 expect EFAULT chmod NULL 0644
17 expect EFAULT chmod DEADCODE 0644
19 expect EFAULT lchmod NULL 0644
20 expect EFAULT lchmod DEADCODE 0644
/freebsd-current/contrib/pjdfstest/tests/chown/
H A D10.t5 desc="chown returns EFAULT if the path argument points outside the process's allocated address space"
12 expect EFAULT chown NULL 65534 65534
13 expect EFAULT chown DEADCODE 65534 65534
14 expect EFAULT lchown NULL 65534 65534
15 expect EFAULT lchown DEADCODE 65534 65534
/freebsd-current/contrib/pjdfstest/tests/ftruncate/
H A D14.t5 desc="truncate returns EFAULT if the path argument points outside the process's allocated address space"
12 expect EFAULT truncate NULL 123
13 expect EFAULT truncate DEADCODE 123
/freebsd-current/contrib/pjdfstest/tests/mkdir/
H A D12.t5 desc="mkdir returns EFAULT if the path argument points outside the process's allocated address space"
12 expect EFAULT mkdir NULL 0755
13 expect EFAULT mkdir DEADCODE 0755
/freebsd-current/contrib/pjdfstest/tests/mkfifo/
H A D12.t5 desc="mkfifo returns EFAULT if the path argument points outside the process's allocated address space"
12 expect EFAULT mkfifo NULL 0644
13 expect EFAULT mkfifo DEADCODE 0644
/freebsd-current/contrib/pjdfstest/tests/mknod/
H A D10.t5 desc="mknod returns EFAULT if the path argument points outside the process's allocated address space"
12 expect EFAULT mknod NULL f 0644 0 0
13 expect EFAULT mknod DEADCODE f 0644 0 0
/freebsd-current/contrib/pjdfstest/tests/open/
H A D21.t5 desc="open returns EFAULT if the path argument points outside the process's allocated address space"
12 expect EFAULT open NULL O_RDONLY
13 expect EFAULT open DEADCODE O_RDONLY
/freebsd-current/contrib/pjdfstest/tests/rmdir/
H A D15.t5 desc="rmdir returns EFAULT if the path argument points outside the process's allocated address space"
12 expect EFAULT rmdir NULL
13 expect EFAULT rmdir DEADCODE
/freebsd-current/contrib/pjdfstest/tests/truncate/
H A D14.t5 desc="truncate returns EFAULT if the path argument points outside the process's allocated address space"
12 expect EFAULT truncate NULL 123
13 expect EFAULT truncate DEADCODE 123
/freebsd-current/contrib/pjdfstest/tests/unlink/
H A D13.t5 desc="unlink returns EFAULT if the path argument points outside the process's allocated address space"
12 expect EFAULT unlink NULL
13 expect EFAULT unlink DEADCODE
/freebsd-current/contrib/pjdfstest/tests/chflags/
H A D13.t5 desc="chflags returns EFAULT if the path argument points outside the process's allocated address space"
14 expect EFAULT chflags NULL UF_NODUMP
15 expect EFAULT chflags DEADCODE UF_NODUMP
/freebsd-current/contrib/pjdfstest/tests/link/
H A D17.t5 desc="link returns EFAULT if one of the pathnames specified is outside the process's allocated address space"
15 expect EFAULT link ${n0} NULL
16 expect EFAULT link ${n0} DEADCODE
18 expect EFAULT link NULL ${n0}
19 expect EFAULT link DEADCODE ${n0}
20 expect EFAULT link NULL DEADCODE
21 expect EFAULT link DEADCODE NULL
/freebsd-current/contrib/pjdfstest/tests/rename/
H A D17.t5 desc="rename returns EFAULT if one of the pathnames specified is outside the process's allocated address space"
15 expect EFAULT rename ${n0} NULL
16 expect EFAULT rename ${n0} DEADCODE
18 expect EFAULT rename NULL ${n0}
19 expect EFAULT rename DEADCODE ${n0}
20 expect EFAULT rename NULL DEADCODE
21 expect EFAULT rename DEADCODE NULL
/freebsd-current/sys/dev/qat/qat_common/
H A Dqat_common_module.c10 return EFAULT;
13 return EFAULT;
16 return EFAULT;
H A Dadf_pfvf_vf_msg.c26 return -EFAULT;
118 return -EFAULT;
148 return -EFAULT;
171 return -EFAULT;
178 return -EFAULT;
H A Dadf_init.c65 return EFAULT;
160 return EFAULT;
275 return EFAULT;
283 return EFAULT;
288 return EFAULT;
294 return EFAULT;
300 return EFAULT;
306 return EFAULT;
312 return EFAULT;
323 return EFAULT;
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/execve/
H A Dt_execve.c50 ATF_REQUIRE_MSG(errno == EFAULT,
51 "wrong error returned %d instead of %d", errno, EFAULT);
/freebsd-current/tests/sys/kern/
H A Dkern_copyin.c132 ATF_CHECK(copyin_checker(maxuser - 10, 11) == EFAULT);
135 ATF_CHECK(copyin_checker(maxuser, 1) == EFAULT);
136 ATF_CHECK(copyin_checker(maxuser, 2) == EFAULT);
138 ATF_CHECK(copyin_checker(maxuser + 1, 2) == EFAULT);
139 ATF_CHECK(copyin_checker(FMAX - 10, 9) == EFAULT);
140 ATF_CHECK(copyin_checker(FMAX - 10, 10) == EFAULT);
141 ATF_CHECK(copyin_checker(FMAX - 10, 11) == EFAULT);
143 ATF_CHECK(copyin_checker(ADDR_SIGNED, 1) == EFAULT);
144 ATF_CHECK(copyin_checker2(ADDR_SIGNED) == EFAULT);
/freebsd-current/contrib/netbsd-tests/rump/rumpkern/
H A Dt_copy.c117 atf_tc_set_md_var(tc, "descr", "Tests that copy(9) functions can return EFAULT");
123 ATF_REQUIRE_EQ(rumpns_copyin(NULL, buf, sizeof(buf)), EFAULT); local
124 ATF_REQUIRE_EQ(rumpns_copyout(buf, NULL, sizeof(buf)), EFAULT); local
126 ATF_REQUIRE_EQ(rumpns_copyinstr(NULL, buf, sizeof(buf), NULL), EFAULT); local
127 ATF_REQUIRE_EQ(rumpns_copyoutstr(buf, NULL, sizeof(buf), NULL), EFAULT); local
/freebsd-current/tools/regression/capsicum/syscalls/
H A Dcap_getmode.c59 /* Expect EFAULT. */
62 CHECK(errno == EFAULT);
65 CHECK(errno == EFAULT);
115 /* Expect EFAULT. */
118 CHECK(errno == EFAULT);
121 CHECK(errno == EFAULT);
/freebsd-current/lib/libc/gen/
H A Dgetentropy.c84 * no EFAULT. For compatibility with the kernel getrandom(2), detect
88 errno = EFAULT;
92 if (errno == EFAULT)
100 * buffer EFAULT, give up (like for arc4random(3)'s arc4_stir).
137 case EFAULT:
/freebsd-current/sys/arm/annapurna/alpine/
H A Dalpine_machdep.c91 return (EFAULT);
94 return (EFAULT);
98 return (EFAULT);
101 return (EFAULT);
/freebsd-current/sys/i386/linux/
H A Dlinux_copyout.c71 return (EFAULT);
93 return (EFAULT);
119 return (EFAULT);
145 return (EFAULT);
171 return (EFAULT);
/freebsd-current/sys/dev/bnxt/bnxt_en/
H A Dbnxt_mgmt.c111 return -EFAULT;
147 ret = -EFAULT;
154 ret = -EFAULT;
178 return -EFAULT;
191 return -EFAULT;
225 ret = -EFAULT;
250 ret = -EFAULT;
272 ret = -EFAULT;
292 ret = -EFAULT;
301 ret = -EFAULT;
[all...]

Completed in 490 milliseconds

1234567891011>>