HomeSort by relevance Sort by last modified time
    Searched defs:shm_addr (Results 1 - 2 of 2) sorted by null

  /external/ltp/testcases/cve/
cve-2017-5669.c 44 static void *shm_addr; variable
53 if (shm_addr)
54 SAFE_SHMDT(shm_addr);
63 shm_addr = shmat(shm_id, ((void *)1), SHM_RND);
64 if (shm_addr == (void *)-1) {
65 shm_addr = NULL;
74 tst_res(TINFO, "Mapped shared memory to %p", shm_addr);
76 if (!((size_t)shm_addr & (~0U << 16)))
85 ((char *)shm_addr)[0] = 'P';
87 SAFE_SHMDT(shm_addr);
    [all...]
  /external/autotest/client/tests/synctest/src/
synctest.c 32 char* shm_addr, *data_array; local
60 shm_addr = shmat(shm_id, NULL, 0);
61 if (!shm_addr) { /* operation failed. */
66 post_sync = (int*) shm_addr;
143 if (shmdt(shm_addr) == -1) {

Completed in 222 milliseconds