Searched refs:shmid (Results 1 – 7 of 7) sorted by relevance
| /openbmc/qemu/tests/tcg/multiarch/linux/ |
| H A D | linux-shmat-null.c | 13 int shmid; in main() local 18 shmid = shmget(IPC_PRIVATE, 1, IPC_CREAT | 0600); in main() 19 assert(shmid != -1); in main() 20 p = shmat(shmid, NULL, 0); in main() 27 p = shmat(shmid, NULL, 0); in main() 34 err = shmctl(shmid, IPC_RMID, NULL); in main()
|
| H A D | linux-shmat-maps.c | 17 int shmid; in main() local 21 shmid = shmget(IPC_PRIVATE, 1, IPC_CREAT | 0600); in main() 22 assert(shmid != -1); in main() 29 p = shmat(shmid, (void *)0x800000, SHM_RND); in main() 37 p = shmat(shmid, NULL, 0); in main() 51 err = shmctl(shmid, IPC_RMID, NULL); in main()
|
| H A D | linux-test.c | 524 int shmid; in test_shm() local 526 shmid = chk_error(shmget(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | 0777)); in test_shm() 527 ptr = shmat(shmid, NULL, 0); in test_shm() 534 chk_error(shmctl(shmid, IPC_RMID, 0)); in test_shm()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/x11vnc/files/ |
| H A D | CVE-2020-29074.patch | 22 shm->shmid = shmget(IPC_PRIVATE, 26 if (shm->shmid == -1) {
|
| /openbmc/qemu/linux-user/ |
| H A D | user-mmap.h | 46 abi_ulong target_shmat(CPUArchState *cpu_env, int shmid,
|
| H A D | mmap.c | 1305 abi_ulong target_shmat(CPUArchState *cpu_env, int shmid, in target_shmat() argument 1364 ret = get_errno(shmctl(shmid, IPC_STAT, &shm_info)); in target_shmat() 1436 test = shmat(shmid, want, shmflg); in target_shmat()
|
| H A D | syscall.c | 4506 static inline abi_long do_shmctl(int shmid, int cmd, abi_long buf) in do_shmctl() argument 4521 ret = get_errno(shmctl(shmid, cmd, &dsarg)); in do_shmctl() 4526 ret = get_errno(shmctl(shmid, cmd, (struct shmid_ds *)&shminfo)); in do_shmctl() 4531 ret = get_errno(shmctl(shmid, cmd, (struct shmid_ds *)&shm_info)); in do_shmctl() 4538 ret = get_errno(shmctl(shmid, cmd, NULL)); in do_shmctl()
|