Home
last modified time | relevance | path

Searched refs:bad_ptr (Results 1 – 3 of 3) sorted by relevance

/minix3/minix/tests/
H A Dtest75.c93 sub75b(int mode, void * bad_ptr) in sub75b() argument
119 if (wait4(-1, &status, 0, bad_ptr) != -1) e(0); in sub75b()
H A Dtest88.c64 static void *bad_ptr; variable
950 if (semop(id, bad_ptr, 1) != -1) e(0); in test88b()
954 sops2 = ((struct sembuf *)bad_ptr) - 1; in test88b()
1859 if (semctl(id, 0, GETALL, bad_ptr) != -1) e(0); in test88c()
1862 if (semctl(id, 0, GETALL, ((unsigned short *)bad_ptr) - 2) != -1) e(0); in test88c()
1865 if (semctl(id, 0, GETALL, ((unsigned short *)bad_ptr) - 3) != 0) e(0); in test88c()
1906 if (semctl(id, 0, IPC_STAT, bad_ptr) != -1) e(0); in test88c()
1909 if (semctl(id, 0, IPC_STAT, ((struct semid_ds *)bad_ptr) - 1) != 0) in test88c()
1960 if (semctl(i, 0, SEM_STAT, bad_ptr) != -1) e(0); in test88c()
2076 if (semctl(id, 0, SETALL, bad_ptr) != -1) e(0); in test88c()
[all …]
H A Dtest87.c20 static void *bad_ptr; /* a pointer to unmapped memory */ variable
289 if (sysctl(mib, 3, bad_ptr, &oldlen, NULL, 0) != -1) e(0); in test87a()
360 if (sysctl(mib, 3, NULL, NULL, bad_ptr, sizeof(q)) != -1) e(0); in test87a()
888 if (sysctl(mib, 4, NULL, &oldlen, bad_ptr, sizeof(scn[0])) != -1) e(0); in test87b()
892 if (sysctl(mib, 4, bad_ptr, &oldlen, NULL, 0) != -1) e(0); in test87b()
1156 if (sysctl(mib, 3, NULL, NULL, bad_ptr, sizeof(scn)) != -1) e(0); in test87c()
1250 scn.sysctl_data = bad_ptr; in test87c()
1327 if (sysctl(mib, 3, bad_ptr, &oldlen, &scn, sizeof(scn)) != -1) e(0); in test87c()
1438 if (sysctl(mib, 3, bad_ptr, &oldlen, &scn, sizeof(scn)) != -1) e(0); in test87c()
1519 scn.sysctl_data = bad_ptr; in test87c()
[all …]