Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/ipc/shmat/
Dshmat02.c40 static int shm_id2 = -1; variable
53 {&shm_id2, &unaligned_addr, EINVAL, 0},
54 {&shm_id2, &aligned_addr, EACCES, 1},
102 shm_id2 = SAFE_SHMGET(shm_key1, INT_SIZE, SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
109 if (shm_id2 != -1) in cleanup()
110 SAFE_SHMCTL(shm_id2, IPC_RMID, NULL); in cleanup()