/external/ltp/testcases/kernel/syscalls/mlock/ |
H A 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) function
|
/external/ltp/testcases/kernel/syscalls/munlock/ |
H A 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) function
|
/external/ltp/testcases/kernel/syscalls/fdatasync/ |
H A D | fdatasync02.c | 98 static int setup1(void); 103 {EBADF, "invalid file descriptor", setup1, NULL}, 151 int setup1(void) function
|
/external/ltp/testcases/kernel/syscalls/iopl/ |
H A D | iopl02.c | 87 static int setup1(void); 123 if (setup1()) { 124 /* setup1() failed, skip this test */ 163 /* setup1() - set up non-super user for second test case */ 164 int setup1(void) function
|
/external/ltp/testcases/kernel/syscalls/syslog/ |
H A 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) function
|
H A D | syslog12.c | 106 static int setup1(void); 115 {2, &buf, 0, EPERM, setup1, cleanup1, "non-root user"}, 187 int setup1(void) function
|
/external/ltp/testcases/kernel/module/delete_module/ |
H A D | delete_module02.c | 61 static void setup1(void); 76 { modname, EPERM, "non-superuser", setup1, cleanup1}, 122 static void setup1(void) function
|
/external/ltp/testcases/kernel/module/query_module/ |
H A D | query_module03.c | 125 static int setup1(void); 142 "accessible address space", setup1, cleanup1} 146 "results for too small buffer size", setup1, cleanup1}, 194 int setup1(void) function
|
H A D | query_module01.c | 128 static int setup1(void); 137 setup1, cleanup1}, 146 setup1, cleanup1}, 149 setup1, cleanup1}, 292 int setup1(void) function
|
/external/ltp/testcases/kernel/syscalls/bind/ |
H A D | bind01.c | 64 void setup(void), setup0(void), setup1(void), setup2(void), 90 sizeof(sin1), -1, ENOTSOCK, setup1, cleanup1, 187 void setup1(void) function
|
/external/ltp/testcases/kernel/syscalls/chown/ |
H A D | chown02.c | 93 int setup1(); /* Test specific setup functions */ 105 TESTFILE1, 700, 701, 1, setup1}, 229 * setup1() - Setup function for chown(2) to verify setuid/setgid bits 233 int setup1(void) function
|
/external/ltp/testcases/kernel/syscalls/getsockname/ |
H A 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) function
|
/external/ltp/testcases/kernel/syscalls/ioperm/ |
H A D | ioperm02.c | 92 static int setup1(void); 126 if (setup1()) { 127 /* setup1() failed, skip this test */ 167 /* setup1() - set up non-super user for second test case */ 168 int setup1(void) function
|
/external/ltp/testcases/kernel/syscalls/listen/ |
H A 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) function
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
H A D | mknod06.c | 91 int setup1(); /* setup function to test mknod for EEXIST */ 105 "tnode_1", "Specified node already exists", EEXIST, setup1}, 259 * setup1() - setup function for a test condition for which mknod(2) 265 int setup1(void) function 269 tst_brkm(TBROK, cleanup, "Fails to create node in setup1()");
|
/external/ltp/testcases/kernel/syscalls/mprotect/ |
H A 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) function
|
/external/ltp/testcases/kernel/syscalls/setgroups/ |
H A D | setgroups03.c | 89 int setup1(); /* setup function to test error EPERM */ 102 0, 2, "Permission denied, not super-user", EPERM, setup1} 184 * setup1 - Setup function to test setgroups() which returns -1 190 int setup1(void) function
|
/external/ltp/testcases/kernel/syscalls/socketcall/ |
H A D | socketcall03.c | 85 void setup1(void); 100 AF_INET, SOCK_STREAM, 6, SYS_BIND, setup1, "bind call"}; 139 /*setup1()*/ 140 void setup1(void) function
|
H A D | socketcall04.c | 85 void setup1(void); 100 AF_INET, SOCK_STREAM, 6, SYS_LISTEN, setup1, "listen call"}; 137 /*setup1()*/ 138 void setup1(void) function
|
/external/ltp/testcases/kernel/module/create_module/ |
H A D | create_module02.c | 127 static int setup1(void); 134 "non-superuser", setup1, cleanup1}, 200 int setup1(void) function
|
/external/ltp/testcases/kernel/syscalls/accept/ |
H A 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) function 173 setup1(); /* get a socket in s */ 181 setup1();
|
/external/ltp/testcases/kernel/syscalls/getsockopt/ |
H A 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) function
|
/external/ltp/testcases/kernel/syscalls/llseek/ |
H A D | llseek02.c | 96 int setup1(); /* setup function to test llseek() for EINVAL */ 110 1, SEEK_TOP, "'whence' argument is not valid", EINVAL, setup1}, { 208 * setup1() - setup function for a test condition for which llseek(2) 214 int setup1(void) function 267 /* Close the temporary file(s) created in setup1/setup2 */
|
/external/ltp/testcases/kernel/syscalls/mincore/ |
H A D | mincore01.c | 61 static void setup1(struct test_case_t *tc); 73 {NULL, 0, NULL, EINVAL, setup1}, 102 static void setup1(struct test_case_t *tc) function
|
/external/ltp/testcases/kernel/syscalls/mremap/ |
H A D | mremap05.c | 67 static void setup1(struct test_case_t *); 91 .setup = setup1, 168 static void setup1(struct test_case_t *t) function
|