Home
last modified time | relevance | path

Searched refs:efault (Results 1 – 25 of 115) sorted by relevance

12345

/external/strace/tests/
Dipc.c81 void *const efault = tail_alloc(1) + 1; in main() local
83 int rc = ipc_call(0, SEMCTL, 0, 0, 0, (long) efault, 0); in main()
86 printf("semctl(0, 0, IPC_RMID, %p) = -1 EFAULT (%m)\n", efault); in main()
94 rc = ipc_call(42, SEMCTL, 0, 0, 0, (long) efault, 0); in main()
98 efault, rc, errno2name()); in main()
101 efault, rc, errno2name()); in main()
109 msqid, msgsz, IPC_NOWAIT, (long) efault, msgtyp); in main()
111 msqid, efault, msgsz, msgtyp, rc, errno2name()); in main()
Dqual_fault-exit_group.test45 test_with -eexit,exit_group -efault=exit_group:error=ENOSYS ../answer
47 test_with -eexit,exit_group -efault=exit_group:error=ENOSYS \
48 -efault=\!process:error=1 ../answer
50 test_with -eexit,exit_group -efault=all:error=ENOSYS \
51 -efault=exit:error=1:when=2+ ../answer
53 test_with -eexit,exit_group -efault=exit_group:error=ENOSYS \
54 -efault=\!%desc,%file,%memory,%process,%signal,%network,%ipc:error=1 ../answer
Dppoll.c71 void *const efault = tail_alloc(1024) + 1024; in main() local
89 sys_ppoll((unsigned long) efault, 42, (unsigned long) efault + 8, in main()
90 (unsigned long) efault + 16, sigset_size); in main()
93 efault, 42, efault + 8, efault + 16, sigset_size, errstr); in main()
126 fds = efault - sizeof(fds1); in main()
196 fds = efault - sizeof(fds2); in main()
Dioctl_sg_io_v4.c51 const void *const efault = sg_io + 1; in main() local
52 ioctl(-1, SG_IO, efault); in main()
53 printf("ioctl(-1, SG_IO, %p) = -1 EBADF (%m)\n", efault); in main()
133 .iov_base = (void *) efault - 2, in main()
136 .iov_base = (void *) efault - 3, in main()
148 sg_io->din_xferp = (unsigned long) efault - in main()
152 sg_io->request = (unsigned long) efault - sg_io->request_len; in main()
154 sg_io->response = (unsigned long) efault - sg_io->response_len; in main()
Dxattr.c48 char *const efault = tail_alloc(1) + 1; in main() local
87 rc = fgetxattr(-1, name, efault, 4); in main()
89 name, efault, sprintrc(rc)); in main()
99 rc = flistxattr(-1, efault, 4); in main()
100 printf("flistxattr(-1, %p, 4) = %s\n", efault, sprintrc(rc)); in main()
102 rc = llistxattr("", efault + 1, 4); in main()
103 printf("llistxattr(\"\", %p, 4) = %s\n", efault + 1, sprintrc(rc)); in main()
Dfiltering_syscall-syntax.test61 check_e "invalid system call '$1'" -efault="$2"
63 check_e "invalid system call '$1'" -efault="$2:"
64 check_e "invalid system call '$1'" -efault="$2::"
65 check_e "invalid system call '$1'" -efault="$2:::"
69 check_e "invalid system call '$1'" -efault="$2:when=4"
Dxetitimer.c51 void *const efault = tail_alloc(sizeof(new) - 8); in main() local
92 rc = getitimer(ITIMER_REAL, efault); in main()
93 printf("getitimer(ITIMER_REAL, %p) = %s\n", efault, sprintrc(rc)); in main()
95 rc = setitimer(ITIMER_REAL, p_new, efault); in main()
103 efault, sprintrc(rc)); in main()
105 rc = setitimer(ITIMER_REAL, efault, p_old); in main()
107 efault, p_old, sprintrc(rc)); in main()
Dpread64-pwrite64.c153 void *efault = r1 - get_page_size(); in main() local
162 rc = pwrite(1, efault, 1, 0); in main()
166 tprintf("pwrite64(1, %p, 1, 0) = -1 EFAULT (%m)\n", efault); in main()
188 rc = pread(0, efault, 1, 0); in main()
191 tprintf("pread64(0, %p, 1, 0) = -1 EFAULT (%m)\n", efault); in main()
193 rc = pread(0, efault, 2, -7); in main()
196 tprintf("pread64(0, %p, 2, -7) = -1 EINVAL (%m)\n", efault); in main()
/external/strace/tests-mx32/
Dipc.c81 void *const efault = tail_alloc(1) + 1; in main() local
83 int rc = ipc_call(0, SEMCTL, 0, 0, 0, (long) efault, 0); in main()
86 printf("semctl(0, 0, IPC_RMID, %p) = -1 EFAULT (%m)\n", efault); in main()
94 rc = ipc_call(42, SEMCTL, 0, 0, 0, (long) efault, 0); in main()
98 efault, rc, errno2name()); in main()
101 efault, rc, errno2name()); in main()
109 msqid, msgsz, IPC_NOWAIT, (long) efault, msgtyp); in main()
111 msqid, efault, msgsz, msgtyp, rc, errno2name()); in main()
Dqual_fault-exit_group.test45 test_with -eexit,exit_group -efault=exit_group:error=ENOSYS ../answer
47 test_with -eexit,exit_group -efault=exit_group:error=ENOSYS \
48 -efault=\!process:error=1 ../answer
50 test_with -eexit,exit_group -efault=all:error=ENOSYS \
51 -efault=exit:error=1:when=2+ ../answer
53 test_with -eexit,exit_group -efault=exit_group:error=ENOSYS \
54 -efault=\!%desc,%file,%memory,%process,%signal,%network,%ipc:error=1 ../answer
Dppoll.c71 void *const efault = tail_alloc(1024) + 1024; in main() local
89 sys_ppoll((unsigned long) efault, 42, (unsigned long) efault + 8, in main()
90 (unsigned long) efault + 16, sigset_size); in main()
93 efault, 42, efault + 8, efault + 16, sigset_size, errstr); in main()
126 fds = efault - sizeof(fds1); in main()
196 fds = efault - sizeof(fds2); in main()
Dioctl_sg_io_v4.c51 const void *const efault = sg_io + 1; in main() local
52 ioctl(-1, SG_IO, efault); in main()
53 printf("ioctl(-1, SG_IO, %p) = -1 EBADF (%m)\n", efault); in main()
133 .iov_base = (void *) efault - 2, in main()
136 .iov_base = (void *) efault - 3, in main()
148 sg_io->din_xferp = (unsigned long) efault - in main()
152 sg_io->request = (unsigned long) efault - sg_io->request_len; in main()
154 sg_io->response = (unsigned long) efault - sg_io->response_len; in main()
Dxattr.c48 char *const efault = tail_alloc(1) + 1; in main() local
87 rc = fgetxattr(-1, name, efault, 4); in main()
89 name, efault, sprintrc(rc)); in main()
99 rc = flistxattr(-1, efault, 4); in main()
100 printf("flistxattr(-1, %p, 4) = %s\n", efault, sprintrc(rc)); in main()
102 rc = llistxattr("", efault + 1, 4); in main()
103 printf("llistxattr(\"\", %p, 4) = %s\n", efault + 1, sprintrc(rc)); in main()
Dfiltering_syscall-syntax.test61 check_e "invalid system call '$1'" -efault="$2"
63 check_e "invalid system call '$1'" -efault="$2:"
64 check_e "invalid system call '$1'" -efault="$2::"
65 check_e "invalid system call '$1'" -efault="$2:::"
69 check_e "invalid system call '$1'" -efault="$2:when=4"
Dpread64-pwrite64.c153 void *efault = r1 - get_page_size(); in main() local
162 rc = pwrite(1, efault, 1, 0); in main()
166 tprintf("pwrite64(1, %p, 1, 0) = -1 EFAULT (%m)\n", efault); in main()
188 rc = pread(0, efault, 1, 0); in main()
191 tprintf("pread64(0, %p, 1, 0) = -1 EFAULT (%m)\n", efault); in main()
193 rc = pread(0, efault, 2, -7); in main()
196 tprintf("pread64(0, %p, 2, -7) = -1 EINVAL (%m)\n", efault); in main()
Dxetitimer.c51 void *const efault = tail_alloc(sizeof(new) - 8); in main() local
92 rc = getitimer(ITIMER_REAL, efault); in main()
93 printf("getitimer(ITIMER_REAL, %p) = %s\n", efault, sprintrc(rc)); in main()
95 rc = setitimer(ITIMER_REAL, p_new, efault); in main()
103 efault, sprintrc(rc)); in main()
105 rc = setitimer(ITIMER_REAL, efault, p_old); in main()
107 efault, p_old, sprintrc(rc)); in main()
/external/strace/tests-m32/
Dipc.c81 void *const efault = tail_alloc(1) + 1; in main() local
83 int rc = ipc_call(0, SEMCTL, 0, 0, 0, (long) efault, 0); in main()
86 printf("semctl(0, 0, IPC_RMID, %p) = -1 EFAULT (%m)\n", efault); in main()
94 rc = ipc_call(42, SEMCTL, 0, 0, 0, (long) efault, 0); in main()
98 efault, rc, errno2name()); in main()
101 efault, rc, errno2name()); in main()
109 msqid, msgsz, IPC_NOWAIT, (long) efault, msgtyp); in main()
111 msqid, efault, msgsz, msgtyp, rc, errno2name()); in main()
Dqual_fault-exit_group.test45 test_with -eexit,exit_group -efault=exit_group:error=ENOSYS ../answer
47 test_with -eexit,exit_group -efault=exit_group:error=ENOSYS \
48 -efault=\!process:error=1 ../answer
50 test_with -eexit,exit_group -efault=all:error=ENOSYS \
51 -efault=exit:error=1:when=2+ ../answer
53 test_with -eexit,exit_group -efault=exit_group:error=ENOSYS \
54 -efault=\!%desc,%file,%memory,%process,%signal,%network,%ipc:error=1 ../answer
Dppoll.c71 void *const efault = tail_alloc(1024) + 1024; in main() local
89 sys_ppoll((unsigned long) efault, 42, (unsigned long) efault + 8, in main()
90 (unsigned long) efault + 16, sigset_size); in main()
93 efault, 42, efault + 8, efault + 16, sigset_size, errstr); in main()
126 fds = efault - sizeof(fds1); in main()
196 fds = efault - sizeof(fds2); in main()
Dioctl_sg_io_v4.c51 const void *const efault = sg_io + 1; in main() local
52 ioctl(-1, SG_IO, efault); in main()
53 printf("ioctl(-1, SG_IO, %p) = -1 EBADF (%m)\n", efault); in main()
133 .iov_base = (void *) efault - 2, in main()
136 .iov_base = (void *) efault - 3, in main()
148 sg_io->din_xferp = (unsigned long) efault - in main()
152 sg_io->request = (unsigned long) efault - sg_io->request_len; in main()
154 sg_io->response = (unsigned long) efault - sg_io->response_len; in main()
Dxattr.c48 char *const efault = tail_alloc(1) + 1; in main() local
87 rc = fgetxattr(-1, name, efault, 4); in main()
89 name, efault, sprintrc(rc)); in main()
99 rc = flistxattr(-1, efault, 4); in main()
100 printf("flistxattr(-1, %p, 4) = %s\n", efault, sprintrc(rc)); in main()
102 rc = llistxattr("", efault + 1, 4); in main()
103 printf("llistxattr(\"\", %p, 4) = %s\n", efault + 1, sprintrc(rc)); in main()
Dfiltering_syscall-syntax.test61 check_e "invalid system call '$1'" -efault="$2"
63 check_e "invalid system call '$1'" -efault="$2:"
64 check_e "invalid system call '$1'" -efault="$2::"
65 check_e "invalid system call '$1'" -efault="$2:::"
69 check_e "invalid system call '$1'" -efault="$2:when=4"
Dpread64-pwrite64.c153 void *efault = r1 - get_page_size(); in main() local
162 rc = pwrite(1, efault, 1, 0); in main()
166 tprintf("pwrite64(1, %p, 1, 0) = -1 EFAULT (%m)\n", efault); in main()
188 rc = pread(0, efault, 1, 0); in main()
191 tprintf("pread64(0, %p, 1, 0) = -1 EFAULT (%m)\n", efault); in main()
193 rc = pread(0, efault, 2, -7); in main()
196 tprintf("pread64(0, %p, 2, -7) = -1 EINVAL (%m)\n", efault); in main()
Dxetitimer.c51 void *const efault = tail_alloc(sizeof(new) - 8); in main() local
92 rc = getitimer(ITIMER_REAL, efault); in main()
93 printf("getitimer(ITIMER_REAL, %p) = %s\n", efault, sprintrc(rc)); in main()
95 rc = setitimer(ITIMER_REAL, p_new, efault); in main()
103 efault, sprintrc(rc)); in main()
105 rc = setitimer(ITIMER_REAL, efault, p_old); in main()
107 efault, p_old, sprintrc(rc)); in main()
Dsockopt-sol_netlink.c101 void *const efault = val + 1; in main() local
157 get_sockopt(fd, names[i].val, efault, len); in main()
161 printf("%p", efault); in main()
173 get_sockopt(fd, names[i].val, efault, len); in main()
175 fd, names[i].str, efault, *len, errstr); in main()
206 set_sockopt(fd, names[i].val, efault, sizeof(*val)); in main()
208 fd, names[i].str, efault, (int) sizeof(*val), errstr); in main()

12345