/external/ltp/testcases/kernel/syscalls/getsockopt/ |
D | getsockopt01.c | 66 void setup(void), setup0(void), setup1(void), 98 EFAULT, setup1, cleanup1, "invalid option buffer"} 102 EFAULT, setup1, cleanup1, "invalid optlen"} 108 EOPNOTSUPP, setup1, cleanup1, "invalid level"} 112 -1, EOPNOTSUPP, setup1, cleanup1, "invalid option name"} 116 -1, EOPNOTSUPP, setup1, cleanup1, 121 ENOPROTOOPT, setup1, cleanup1, "invalid option name (IP)"} 125 ENOPROTOOPT, setup1, cleanup1, "invalid option name (TCP)"} 195 void setup1(void) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/mlock/ |
D | mlock01.c | 55 void setup1(int); 73 &addr1, 1, setup1}, { 74 &addr1, 1024, setup1}, { 75 &addr1, 1024 * 1024, setup1}, { 76 &addr1, 1024 * 1024 * 10, setup1} 136 void setup1(int len) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/munlock/ |
D | munlock01.c | 72 void setup1(int); 86 &addr1, 1, setup1}, { 87 &addr1, 1024, setup1}, { 88 &addr1, 1024 * 1024, setup1}, { 89 &addr1, 1024 * 1024 * 10, setup1} 131 void setup1(int i) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt01.c | 66 void setup(void), setup0(void), setup1(void), 100 sizeof(fsin1), -1, EFAULT, setup1, cleanup1, 107 EINVAL, setup1, cleanup1, "invalid optlen"} 111 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1, 116 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1, 121 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1, 126 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1, 202 void setup1(void) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/accept/ |
D | accept01.c | 51 static void setup1(void); 76 &sinlen, -1, EINVAL, setup1, cleanup1, 79 (socklen_t *) 1, -1, EINVAL, setup1, cleanup1, 88 &sinlen, -1, EOPNOTSUPP, setup1, cleanup1, 157 static void setup1(void) in setup1() function 173 setup1(); /* get a socket in s */ in setup2() 181 setup1(); in setup3()
|
/external/ltp/testcases/kernel/syscalls/sendto/ |
D | sendto01.c | 72 static void setup1(void); 121 .setup = setup1, 136 .setup = setup1, 164 .setup = setup1, 180 .setup = setup1, 195 .setup = setup1, 223 .setup = setup1, 396 static void setup1(void) in setup1() function 411 setup1(); in setup2()
|
/external/ltp/testcases/kernel/syscalls/getsockname/ |
D | getsockname01.c | 64 void setup(void), setup0(void), setup1(void), 90 &sinlen, -1, EFAULT, setup1, cleanup1, 94 NULL, -1, EFAULT, setup1, cleanup1, 98 (socklen_t *) 1, -1, EFAULT, setup1, cleanup1, 169 void setup1(void) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/connect/ |
D | connect01.c | 65 void setup(void), setup0(void), setup1(void), setup2(void), 90 sizeof(struct sockaddr_in), -1, EFAULT, setup1, 95 3, -1, EINVAL, setup1, cleanup1, "invalid salen"}, { 105 sizeof(sin2), -1, ECONNREFUSED, setup1, cleanup1, 109 sizeof(sin4), -1, EAFNOSUPPORT, setup1, cleanup1, 222 void setup1(void) in setup1() function 236 setup1(); /* get a socket in s */ in setup2()
|
/external/ltp/testcases/kernel/syscalls/recvfrom/ |
D | recvfrom01.c | 70 void setup1(void); 105 0, ENOTSOCK, setup1, cleanup1, "invalid socket buffer"}, 115 -1, EFAULT, setup1, cleanup1, "invalid recv buffer"}, 120 -1, EINVAL, setup1, cleanup1, "invalid MSG_OOB flag set"}, 125 -1, EAGAIN, setup1, cleanup1, "invalid MSG_ERRQUEUE flag set"},}; 212 void setup1(void) in setup1() function 238 setup1(); in setup2()
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg01.c | 78 void setup1(void); 125 ENOTSOCK, setup1, cleanup1, "invalid socket buffer"} 131 EINVAL, setup1, cleanup1, "invalid socket length"}, 136 -1, EFAULT, setup1, cleanup1, "invalid recv buffer"} 142 -1, EFAULT, setup1, cleanup1, "invalid iovec buffer"} 148 -1, EMSGSIZE, setup1, cleanup1, "invalid iovec count"} 160 sizeof(from), -1, EINVAL, setup1, cleanup1, 167 sizeof(from), -1, EAGAIN, setup1, cleanup1, 292 void setup1(void) in setup1() function 322 setup1(); in setup2()
|
/external/ltp/testcases/kernel/syscalls/sendmsg/ |
D | sendmsg01.c | 70 static void setup1(void); 152 .setup = setup1, 203 .setup = setup1, 219 .setup = setup1, 235 .setup = setup1, 269 .setup = setup1, 286 .setup = setup1, 320 .setup = setup1, 590 static void setup1(void) in setup1() function 609 setup1(); /* get a socket in s */ in setup2() [all …]
|
/external/ltp/testcases/kernel/syscalls/send/ |
D | send01.c | 73 static void setup1(void); 113 .setup = setup1, 126 .setup = setup1, 152 .setup = setup1, 326 static void setup1(void) in setup1() function 341 setup1(); in setup2()
|
/external/ltp/testcases/kernel/syscalls/socketcall/ |
D | socketcall04.c | 85 void setup1(void); 100 AF_INET, SOCK_STREAM, 6, SYS_LISTEN, setup1, "listen call"}; 138 void setup1(void) in setup1() function
|
D | socketcall03.c | 85 void setup1(void); 100 AF_INET, SOCK_STREAM, 6, SYS_BIND, setup1, "bind call"}; 140 void setup1(void) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/fdatasync/ |
D | fdatasync02.c | 98 static int setup1(void); 103 {EBADF, "invalid file descriptor", setup1, NULL}, 151 int setup1(void) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/iopl/ |
D | iopl02.c | 87 static int setup1(void); 123 if (setup1()) { in main() 164 int setup1(void) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/recv/ |
D | recv01.c | 66 void do_child(void), setup(void), setup0(void), setup1(void), 94 -1, EFAULT, setup1, cleanup1, "invalid recv buffer"} 99 -1, EINVAL, setup1, cleanup1, "invalid MSG_OOB flag set"} 103 -1, EAGAIN, setup1, cleanup1, "invalid MSG_ERRQUEUE flag set"} 190 void setup1(void) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/listen/ |
D | listen01.c | 63 void setup(void), setup0(void), setup1(void), 80 PF_INET, SOCK_DGRAM, 0, 0, -1, EOPNOTSUPP, setup1, cleanup1, 142 void setup1(void) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/sockioctl/ |
D | sockioctl01.c | 59 static void setup1(void); 94 EFAULT, setup1, cleanup1, "invalid option buffer"} 100 EINVAL, setup1, cleanup1, "ATMARK on UDP"} 206 static void setup1(void) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/setgroups/ |
D | setgroups03.c | 89 int setup1(); /* setup function to test error EPERM */ 102 0, 2, "Permission denied, not super-user", EPERM, setup1} 190 int setup1(void) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod06.c | 91 int setup1(); /* setup function to test mknod for EEXIST */ 103 {"tnode_1", "Specified node already exists", EEXIST, setup1}, { 239 int setup1(void) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/syslog/ |
D | syslog11.c | 94 static int setup1(void); 105 {3, &buf, 0, setup1, cleanup1, "type 3/Read ring buffer for non-root " 166 int setup1(void) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/mprotect/ |
D | mprotect01.c | 61 static void setup1(struct test_case *self); 69 {NULL, 0, PROT_READ, ENOMEM, setup1}, 122 static void setup1(struct test_case *self) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/ioperm/ |
D | ioperm02.c | 92 static int setup1(void); 126 if (setup1()) { in main() 168 int setup1(void) in setup1() function
|
/external/ltp/testcases/kernel/syscalls/llseek/ |
D | llseek02.c | 96 int setup1(); /* setup function to test llseek() for EINVAL */ 110 1, SEEK_TOP, "'whence' argument is not valid", EINVAL, setup1}, { 214 int setup1(void) in setup1() function
|