/external/strace/tests-mx32/ |
D | qual_fault-exit_group.test | 45 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
|
D | ipc.c | 81 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()
|
D | ioctl_sg_io_v4.c | 51 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()
|
D | ppoll.c | 71 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()
|
D | xattr.c | 48 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()
|
D | filtering_syscall-syntax.test | 61 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"
|
D | pread64-pwrite64.c | 153 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()
|
D | xetitimer.c | 51 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()
|
D | sockopt-sol_netlink.c | 101 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()
|
/external/strace/tests/ |
D | qual_fault-exit_group.test | 45 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
|
D | ipc.c | 81 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()
|
D | ioctl_sg_io_v4.c | 51 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()
|
D | ppoll.c | 71 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()
|
D | xattr.c | 48 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()
|
D | filtering_syscall-syntax.test | 61 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"
|
D | xetitimer.c | 51 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()
|
D | pread64-pwrite64.c | 153 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-m32/ |
D | qual_fault-exit_group.test | 45 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
|
D | ipc.c | 81 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()
|
D | ioctl_sg_io_v4.c | 51 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()
|
D | ppoll.c | 71 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()
|
D | xattr.c | 48 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()
|
D | filtering_syscall-syntax.test | 61 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"
|
D | xetitimer.c | 51 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()
|
D | pread64-pwrite64.c | 153 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()
|