HomeSort by relevance Sort by last modified time
    Searched refs:EFAULT (Results 1 - 25 of 441) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/valgrind/memcheck/tests/solaris/
sendfilev.stdout.exp 2 Received EFAULT as expected.
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
kvm_para.h 14 #define KVM_EFAULT EFAULT
  /external/ltp/testcases/kernel/syscalls/setgroups/
setgroups04.c 24 * Verify that, setgroups() fails with -1 and sets errno to EFAULT if the list has an invalid address.
101 test_desc = "EFAULT";
113 EFAULT);
116 if (TEST_ERRNO == EFAULT) {
119 "error EFAULT errno:%d", TEST_ERRNO);
123 test_desc, TEST_ERRNO, EFAULT);
  /bionic/tests/
sys_timex_test.cpp 33 ASSERT_EQ(EFAULT, errno);
46 ASSERT_EQ(EFAULT, errno);
sys_random_test.cpp 54 ASSERT_EQ(EFAULT, errno);
90 ASSERT_EQ(EFAULT, errno);
  /bionic/libc/kernel/uapi/linux/
kvm_para.h 22 #define KVM_EFAULT EFAULT
  /external/kernel-headers/original/uapi/linux/
kvm_para.h 15 #define KVM_EFAULT EFAULT
  /external/ltp/testcases/kernel/syscalls/mkdir/
mkdir01.c 62 * mkdir(2) test for errno(s) EFAULT.
80 * -1 and sets errno to EFAULT when the path argument points
148 if (TEST_ERRNO == EFAULT) {
155 "mkdir - path argument pointing below allocated address space failed with errno %d : %s but expected %d (EFAULT)",
157 strerror(TEST_ERRNO), EFAULT);
178 if (TEST_ERRNO == EFAULT) {
185 "mkdir - path argument pointing above allocated address space failed with errno %d : %s but expected %d (EFAULT)",
187 strerror(TEST_ERRNO), EFAULT);
  /external/ltp/testcases/kernel/timers/clock_gettime/
clock_gettime03.c 81 EFAULT, /* Bad timespec */
82 EFAULT, /* Bad timespec */
114 testcase[4] = EFAULT;
115 testcase[5] = EFAULT;
  /external/ltp/testcases/kernel/timers/timer_create/
timer_create04.c 83 EFAULT, /* bad sigevent */
84 EFAULT /* bad timer_id */
125 testcase[4] = EFAULT;
126 testcase[5] = EFAULT;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/speculative/
7-1.c 11 * Test if sched_getparam() sets errno == EFAULT or EINVAL if param points to
28 if (result == -1 && errno == EFAULT) {
29 printf("sched_getparam() sets errno == EFAULT "
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/speculative/
5-1.c 11 * Test if sched_rr_get_interval() sets errno == EFAULT or EINVAL if *interval
29 if (result == -1 && errno == EFAULT) {
31 ("sched_rr_get_interval() sets errno == EFAULT when interval argument points to NULL\n");
  /external/ltp/testcases/kernel/syscalls/sigpending/
sigpending02.c 30 * Call sigpending(sigset_t*=-1), it should return -1 with errno EFAULT
96 if (TEST_ERRNO != EFAULT)
100 EFAULT, TEST_ERRNO,
  /bionic/libc/kernel/uapi/asm-generic/
errno-base.h 34 #define EFAULT 14
  /external/autotest/client/site_tests/security_AltSyscall/src/
adjtimex.c 24 /* Test with nullptr buffer. Should fail with EFAULT. */
26 if (ret != -1 || errno != EFAULT)
clock_adjtime.c 24 /* Test with nullptr buffer. Should fail with EFAULT. */
26 if (ret != -1 || errno != EFAULT)
  /external/kernel-headers/original/uapi/asm-generic/
errno-base.h 18 #define EFAULT 14 /* Bad address */
  /external/ltp/testcases/kernel/syscalls/rmdir/
rmdir05.c 37 * rmdir(2) test for errno(s) EINVAL, EMLINK, EFAULT
129 if (TEST_ERRNO == EFAULT) {
136 "rmdir() - path argument points below the minimum allocated address space failed with errno %d : %s but expected %d (EFAULT)",
138 strerror(TEST_ERRNO), EFAULT);
156 if (TEST_ERRNO == EFAULT) {
163 "rmdir() - path argument points above the maximum allocated address space failed with errno %d : %s but expected %d (EFAULT)",
165 strerror(TEST_ERRNO), EFAULT);
  /external/syslinux/dos/
errno.h 17 #define EFAULT 14 /* Bad address */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/asm-generic/
errno-base.h 17 #define EFAULT 14 /* Bad address */
  /external/ltp/testcases/kernel/syscalls/fcntl/
fcntl13.c 71 } else if (errno != EFAULT) {
72 tst_resm(TFAIL, "F_SETLK: Expected EFAULT got %d",
75 tst_resm(TPASS, "F_SETLK: got EFAULT");
80 } else if (errno != EFAULT) {
81 tst_resm(TFAIL, "F_SETLKW: Expected EFAULT got %d",
84 tst_resm(TPASS, "F_SETLKW: got EFAULT");
89 } else if (errno != EFAULT) {
90 tst_resm(TFAIL, "F_GETLK: Expected EFAULT got %d",
93 tst_resm(TPASS, "F_GETLK: got EFAULT");
97 tst_resm(TCONF, "Skip EFAULT on uClinux")
    [all...]
  /external/ltp/testcases/kernel/syscalls/rename/
rename08.c 25 * This test will verify that rename(2) syscall failed in EFAULT
39 * verify rename() failed with error EFAULT
44 * verify rename() failed with error EFAULT
48 * verify rename() failed with error EFAULT
91 /* "new" file is invalid - EFAULT */
93 fname, (char *)-1, EFAULT},
94 /* "old" file is invalid - EFAULT */
96 (char *)-1, fname, EFAULT},
98 /* both files are NULL - EFAULT */
100 NULL, NULL, EFAULT}
    [all...]
  /external/ltp/testcases/kernel/device-drivers/dev_sim_framework/kernel_space/
tmod.c 118 return (-EFAULT);
133 return (-EFAULT);
178 rc = -EFAULT;
185 rc = -EFAULT;
  /external/ltp/testcases/kernel/syscalls/link/
link04.c 77 {high_addr, "address beyond address space", "nefile", "nefile", EFAULT},
79 {(char *)-1, "negative address", "nefile", "nefile", EFAULT},
89 "address beyond address space", EFAULT},
91 {"regfile", "regfile", (char *)-1, "negative address", EFAULT},
  /external/ltp/testcases/kernel/syscalls/uname/
uname02.c 31 * issue a PASS message if we get EFAULT - errno 14
89 case EFAULT:

Completed in 1276 milliseconds

1 2 3 4 5 6 7 8 91011>>