Home
last modified time | relevance | path

Searched refs:bogus_fd (Results 1 – 24 of 24) sorted by relevance

/external/strace/tests/
Dfinit_module.c46 static const kernel_ulong_t bogus_fd = in main() local
76 rc = syscall(__NR_finit_module, bogus_fd, bogus_param1, flags[0].val); in main()
79 printf("finit_module(%d, \"", (int) bogus_fd); in main()
85 rc = syscall(__NR_finit_module, bogus_fd, bogus_param1, flags[1].val); in main()
88 printf("finit_module(%d, \"", (int) bogus_fd); in main()
92 rc = syscall(__NR_finit_module, bogus_fd, bogus_param2 + PARAM2_LEN, in main()
95 (int) bogus_fd, bogus_param2 + PARAM2_LEN, flags[2].str, in main()
98 rc = syscall(__NR_finit_module, bogus_fd, bogus_param2, flags[3].val); in main()
100 (int) bogus_fd, bogus_param2, flags[3].str, sprintrc(rc)); in main()
104 rc = syscall(__NR_finit_module, bogus_fd, bogus_param2, flags[4].val); in main()
[all …]
Dinotify.c49 static const kernel_ulong_t bogus_fd = in main() local
66 rc = syscall(__NR_inotify_add_watch, bogus_fd, bogus_path + 4096, 0); in main()
68 (int) bogus_fd, bogus_path + 4096, 0, sprintrc(rc)); in main()
70 rc = syscall(__NR_inotify_add_watch, bogus_fd, bogus_path, bogus_mask); in main()
72 (int) bogus_fd, bogus_path_str.str, bogus_mask_str, in main()
78 rc = syscall(__NR_inotify_rm_watch, bogus_fd, bogus_fd); in main()
80 (int) bogus_fd, (int) bogus_fd, sprintrc(rc)); in main()
Dmq_sendrecv.c214 static const kernel_ulong_t bogus_fd = in main() local
295 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE, bogus_size, in main()
298 (int) bogus_fd, msg + MSG_SIZE, (unsigned long long) bogus_size, in main()
302 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
306 (int) bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
312 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
315 printf("mq_timedsend(%d, ", (int) bogus_fd); in main()
323 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_CUT, MSG_SIZE, in main()
326 printf("mq_timedsend(%d, ", (int) bogus_fd); in main()
342 rc = syscall(__NR_mq_timedreceive, bogus_fd, msg + MSG_SIZE, bogus_size, in main()
[all …]
Dsetns.c42 static const kernel_ulong_t bogus_fd = in main() local
59 rc = syscall(__NR_setns, bogus_fd, nstypes[i].val); in main()
61 (int) bogus_fd, nstypes[i].str, sprintrc(rc)); in main()
Dfallocate.c46 static const int bogus_fd = 0xbeefface; in main() local
51 long rc = fallocate(bogus_fd, bogus_mode, bogus_offset, bogus_len); in main()
61 printf("fallocate(%d, ", bogus_fd); in main()
Dfadvise.h46 static const long bogus_fd = (long) 0xfeedf00dbeeffaceULL; in main() local
51 do_fadvise(bogus_fd, bogus_offset, bogus_len, bogus_advice); in main()
Dfutimesat.c65 static const kernel_ulong_t bogus_fd = in main() local
82 k_futimesat(bogus_fd, kfname, 0); in main()
83 printf("futimesat(%d, %s, NULL) = %s\n", (int) bogus_fd, qname, errstr); in main()
Dutimensat.c107 static const kernel_ulong_t bogus_fd = in main() local
124 k_utimensat(bogus_fd, kfname, 0, 0); in main()
126 (int) bogus_fd, qname, errstr); in main()
/external/strace/tests-m32/
Dfinit_module.c46 static const kernel_ulong_t bogus_fd = in main() local
76 rc = syscall(__NR_finit_module, bogus_fd, bogus_param1, flags[0].val); in main()
79 printf("finit_module(%d, \"", (int) bogus_fd); in main()
85 rc = syscall(__NR_finit_module, bogus_fd, bogus_param1, flags[1].val); in main()
88 printf("finit_module(%d, \"", (int) bogus_fd); in main()
92 rc = syscall(__NR_finit_module, bogus_fd, bogus_param2 + PARAM2_LEN, in main()
95 (int) bogus_fd, bogus_param2 + PARAM2_LEN, flags[2].str, in main()
98 rc = syscall(__NR_finit_module, bogus_fd, bogus_param2, flags[3].val); in main()
100 (int) bogus_fd, bogus_param2, flags[3].str, sprintrc(rc)); in main()
104 rc = syscall(__NR_finit_module, bogus_fd, bogus_param2, flags[4].val); in main()
[all …]
Dinotify.c49 static const kernel_ulong_t bogus_fd = in main() local
66 rc = syscall(__NR_inotify_add_watch, bogus_fd, bogus_path + 4096, 0); in main()
68 (int) bogus_fd, bogus_path + 4096, 0, sprintrc(rc)); in main()
70 rc = syscall(__NR_inotify_add_watch, bogus_fd, bogus_path, bogus_mask); in main()
72 (int) bogus_fd, bogus_path_str.str, bogus_mask_str, in main()
78 rc = syscall(__NR_inotify_rm_watch, bogus_fd, bogus_fd); in main()
80 (int) bogus_fd, (int) bogus_fd, sprintrc(rc)); in main()
Dmq_sendrecv.c214 static const kernel_ulong_t bogus_fd = in main() local
295 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE, bogus_size, in main()
298 (int) bogus_fd, msg + MSG_SIZE, (unsigned long long) bogus_size, in main()
302 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
306 (int) bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
312 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
315 printf("mq_timedsend(%d, ", (int) bogus_fd); in main()
323 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_CUT, MSG_SIZE, in main()
326 printf("mq_timedsend(%d, ", (int) bogus_fd); in main()
342 rc = syscall(__NR_mq_timedreceive, bogus_fd, msg + MSG_SIZE, bogus_size, in main()
[all …]
Dsetns.c42 static const kernel_ulong_t bogus_fd = in main() local
59 rc = syscall(__NR_setns, bogus_fd, nstypes[i].val); in main()
61 (int) bogus_fd, nstypes[i].str, sprintrc(rc)); in main()
Dfallocate.c46 static const int bogus_fd = 0xbeefface; in main() local
51 long rc = fallocate(bogus_fd, bogus_mode, bogus_offset, bogus_len); in main()
61 printf("fallocate(%d, ", bogus_fd); in main()
Dfadvise.h46 static const long bogus_fd = (long) 0xfeedf00dbeeffaceULL; in main() local
51 do_fadvise(bogus_fd, bogus_offset, bogus_len, bogus_advice); in main()
Dfutimesat.c65 static const kernel_ulong_t bogus_fd = in main() local
82 k_futimesat(bogus_fd, kfname, 0); in main()
83 printf("futimesat(%d, %s, NULL) = %s\n", (int) bogus_fd, qname, errstr); in main()
Dutimensat.c107 static const kernel_ulong_t bogus_fd = in main() local
124 k_utimensat(bogus_fd, kfname, 0, 0); in main()
126 (int) bogus_fd, qname, errstr); in main()
/external/strace/tests-mx32/
Dfinit_module.c46 static const kernel_ulong_t bogus_fd = in main() local
76 rc = syscall(__NR_finit_module, bogus_fd, bogus_param1, flags[0].val); in main()
79 printf("finit_module(%d, \"", (int) bogus_fd); in main()
85 rc = syscall(__NR_finit_module, bogus_fd, bogus_param1, flags[1].val); in main()
88 printf("finit_module(%d, \"", (int) bogus_fd); in main()
92 rc = syscall(__NR_finit_module, bogus_fd, bogus_param2 + PARAM2_LEN, in main()
95 (int) bogus_fd, bogus_param2 + PARAM2_LEN, flags[2].str, in main()
98 rc = syscall(__NR_finit_module, bogus_fd, bogus_param2, flags[3].val); in main()
100 (int) bogus_fd, bogus_param2, flags[3].str, sprintrc(rc)); in main()
104 rc = syscall(__NR_finit_module, bogus_fd, bogus_param2, flags[4].val); in main()
[all …]
Dinotify.c49 static const kernel_ulong_t bogus_fd = in main() local
66 rc = syscall(__NR_inotify_add_watch, bogus_fd, bogus_path + 4096, 0); in main()
68 (int) bogus_fd, bogus_path + 4096, 0, sprintrc(rc)); in main()
70 rc = syscall(__NR_inotify_add_watch, bogus_fd, bogus_path, bogus_mask); in main()
72 (int) bogus_fd, bogus_path_str.str, bogus_mask_str, in main()
78 rc = syscall(__NR_inotify_rm_watch, bogus_fd, bogus_fd); in main()
80 (int) bogus_fd, (int) bogus_fd, sprintrc(rc)); in main()
Dmq_sendrecv.c214 static const kernel_ulong_t bogus_fd = in main() local
295 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE, bogus_size, in main()
298 (int) bogus_fd, msg + MSG_SIZE, (unsigned long long) bogus_size, in main()
302 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
306 (int) bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
312 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
315 printf("mq_timedsend(%d, ", (int) bogus_fd); in main()
323 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_CUT, MSG_SIZE, in main()
326 printf("mq_timedsend(%d, ", (int) bogus_fd); in main()
342 rc = syscall(__NR_mq_timedreceive, bogus_fd, msg + MSG_SIZE, bogus_size, in main()
[all …]
Dsetns.c42 static const kernel_ulong_t bogus_fd = in main() local
59 rc = syscall(__NR_setns, bogus_fd, nstypes[i].val); in main()
61 (int) bogus_fd, nstypes[i].str, sprintrc(rc)); in main()
Dfallocate.c46 static const int bogus_fd = 0xbeefface; in main() local
51 long rc = fallocate(bogus_fd, bogus_mode, bogus_offset, bogus_len); in main()
61 printf("fallocate(%d, ", bogus_fd); in main()
Dfadvise.h46 static const long bogus_fd = (long) 0xfeedf00dbeeffaceULL; in main() local
51 do_fadvise(bogus_fd, bogus_offset, bogus_len, bogus_advice); in main()
Dfutimesat.c65 static const kernel_ulong_t bogus_fd = in main() local
82 k_futimesat(bogus_fd, kfname, 0); in main()
83 printf("futimesat(%d, %s, NULL) = %s\n", (int) bogus_fd, qname, errstr); in main()
Dutimensat.c107 static const kernel_ulong_t bogus_fd = in main() local
124 k_utimensat(bogus_fd, kfname, 0, 0); in main()
126 (int) bogus_fd, qname, errstr); in main()