Home
last modified time | relevance | path

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

/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.c48 static const kernel_ulong_t bogus_fd = in main() local
65 rc = syscall(__NR_inotify_add_watch, bogus_fd, bogus_path + 4096, 0); in main()
67 (int) bogus_fd, bogus_path + 4096, 0, sprintrc(rc)); in main()
69 rc = syscall(__NR_inotify_add_watch, bogus_fd, bogus_path, bogus_mask); in main()
71 (int) bogus_fd, bogus_path_str.str, bogus_mask_str, in main()
77 rc = syscall(__NR_inotify_rm_watch, bogus_fd, bogus_fd); in main()
79 (int) bogus_fd, (int) bogus_fd, sprintrc(rc)); in main()
Dmq_sendrecv.c215 static const kernel_ulong_t bogus_fd = in main() local
296 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE, bogus_size, in main()
299 (int) bogus_fd, msg + MSG_SIZE, (unsigned long long) bogus_size, in main()
303 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
307 (int) bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
313 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
316 printf("mq_timedsend(%d, ", (int) bogus_fd); in main()
324 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_CUT, MSG_SIZE, in main()
327 printf("mq_timedsend(%d, ", (int) bogus_fd); in main()
343 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.c66 static const kernel_ulong_t bogus_fd = in main() local
83 k_utimensat(bogus_fd, kfname, 0, 0); in main()
85 (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.c48 static const kernel_ulong_t bogus_fd = in main() local
65 rc = syscall(__NR_inotify_add_watch, bogus_fd, bogus_path + 4096, 0); in main()
67 (int) bogus_fd, bogus_path + 4096, 0, sprintrc(rc)); in main()
69 rc = syscall(__NR_inotify_add_watch, bogus_fd, bogus_path, bogus_mask); in main()
71 (int) bogus_fd, bogus_path_str.str, bogus_mask_str, in main()
77 rc = syscall(__NR_inotify_rm_watch, bogus_fd, bogus_fd); in main()
79 (int) bogus_fd, (int) bogus_fd, sprintrc(rc)); in main()
Dmq_sendrecv.c215 static const kernel_ulong_t bogus_fd = in main() local
296 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE, bogus_size, in main()
299 (int) bogus_fd, msg + MSG_SIZE, (unsigned long long) bogus_size, in main()
303 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
307 (int) bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
313 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
316 printf("mq_timedsend(%d, ", (int) bogus_fd); in main()
324 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_CUT, MSG_SIZE, in main()
327 printf("mq_timedsend(%d, ", (int) bogus_fd); in main()
343 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.c66 static const kernel_ulong_t bogus_fd = in main() local
83 k_utimensat(bogus_fd, kfname, 0, 0); in main()
85 (int) bogus_fd, qname, errstr); in main()
/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.c48 static const kernel_ulong_t bogus_fd = in main() local
65 rc = syscall(__NR_inotify_add_watch, bogus_fd, bogus_path + 4096, 0); in main()
67 (int) bogus_fd, bogus_path + 4096, 0, sprintrc(rc)); in main()
69 rc = syscall(__NR_inotify_add_watch, bogus_fd, bogus_path, bogus_mask); in main()
71 (int) bogus_fd, bogus_path_str.str, bogus_mask_str, in main()
77 rc = syscall(__NR_inotify_rm_watch, bogus_fd, bogus_fd); in main()
79 (int) bogus_fd, (int) bogus_fd, sprintrc(rc)); in main()
Dmq_sendrecv.c215 static const kernel_ulong_t bogus_fd = in main() local
296 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE, bogus_size, in main()
299 (int) bogus_fd, msg + MSG_SIZE, (unsigned long long) bogus_size, in main()
303 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
307 (int) bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
313 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
316 printf("mq_timedsend(%d, ", (int) bogus_fd); in main()
324 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_CUT, MSG_SIZE, in main()
327 printf("mq_timedsend(%d, ", (int) bogus_fd); in main()
343 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.c66 static const kernel_ulong_t bogus_fd = in main() local
83 k_utimensat(bogus_fd, kfname, 0, 0); in main()
85 (int) bogus_fd, qname, errstr); in main()