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

1 2 3 4 5 6 7 8 91011>>

  /external/u-boot/arch/arm/mach-socfpga/
pinmux_arria10.c 23 return -EFAULT;
34 return -EFAULT;
61 return -EFAULT;
74 return -EFAULT;
77 return -EFAULT;
92 return -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/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");
  /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 28 /* Test with nullptr buffer. Should fail with EFAULT. */
30 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/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/uname/
uname02.c 31 * issue a PASS message if we get EFAULT - errno 14
89 case EFAULT:
  /external/u-boot/fs/yaffs2/
yaffs_error.c 41 { EFAULT, "EFAULT"},
  /external/ltp/testcases/kernel/syscalls/capget/
capget02.c 35 * 1) capget() fails with errno set to EFAULT if an invalid address
37 * 2) capget() fails with errno set to EFAULT if an invalid address
108 (cap_user_header_t) - 1, &data, EFAULT, "EFAULT"}, {
109 &header, (cap_user_data_t) - 1, EFAULT, "EFAULT"},
  /external/ltp/testcases/kernel/syscalls/fremovexattr/
fremovexattr02.c 18 * fremovexattr(2) should return -1 and set errno to EFAULT.
59 .exp_err = EFAULT,
102 if (!tc[i].key && tc[i].exp_err == EFAULT)
  /external/ltp/testcases/kernel/syscalls/ipc/semctl/
semctl03.c 25 * semctl03 - test for EINVAL and EFAULT errors
32 * issue a PASS message if we get EINVAL or EFAULT
87 /* EFAULT - the union arg is invalid when expecting "ushort *array" */
89 &sem_id_1, GETALL, SEMUN_CAST - 1, EFAULT},
90 /* EFAULT - the union arg is invalid when expecting */
93 &sem_id_1, IPC_SET, SEMUN_CAST - 1, EFAULT}
  /external/ltp/testcases/kernel/syscalls/pipe/
pipe05.c 29 * Check that we get EFAULT.
83 TEST_ERRNO = EFAULT;
93 if (TEST_ERRNO != EFAULT) {
  /external/ltp/testcases/kernel/syscalls/set_thread_area/
set_thread_area01.c 62 {VALUE_AND_STRING(__NR_set_thread_area), (void *)-9, -1, EFAULT},
63 {VALUE_AND_STRING(__NR_get_thread_area), (void *)-9, -1, EFAULT},
  /external/ltp/testcases/kernel/syscalls/sysctl/
sysctl04.c 21 * the process, and expect EFAULT.
23 * the process, and expect EFAULT.
47 {{CTL_KERN, KERN_OSRELEASE}, 2, (void *) -1, &length, EFAULT},
48 {{CTL_KERN, KERN_VERSION}, 2, osname, (void *) -1, EFAULT},

Completed in 2361 milliseconds

1 2 3 4 5 6 7 8 91011>>