/openbmc/openbmc/poky/meta/recipes-devtools/qemu/qemu/ |
H A D | 0005-tests-tcg-Check-that-shmat-does-not-break-proc-self-.patch | 4 Subject: [PATCH 5/5] tests/tcg: Check that shmat() does not break 7 Add a regression test for a recently fixed issue, where shmat() 18 tests/tcg/multiarch/linux/linux-shmat-maps.c | 55 ++++++++++++++++++++ 20 create mode 100644 tests/tcg/multiarch/linux/linux-shmat-maps.c 22 diff --git a/tests/tcg/multiarch/linux/linux-shmat-maps.c b/tests/tcg/multiarch/linux/linux-shmat-m… 26 +++ b/tests/tcg/multiarch/linux/linux-shmat-maps.c 29 + * Test that shmat() does not break /proc/self/maps. 56 + p = shmat(shmid, (void *)0x800000, SHM_RND); 64 + p = shmat(shmid, NULL, 0);
|
H A D | 0004-linux-user-Rewrite-target_shmat.patch | 45 /* shmat pointers are always untagged */ 49 + * Because we can't use host shmat() unless the address is sufficiently 78 + * use host shmat at all. 125 - host_raddr = shmat(shmid, (void *)g2h_untagged(shmaddr), shmflg); 134 + * If host page size > target page size, the host shmat may map 151 - /* In order to use the host shmat, we need to honor host SHMLBA. */ 172 + /* shmat returns EINVAL not EEXIST like mmap. */ 180 - host_raddr = shmat(shmid, g2h_untagged(mmap_start), 190 + test = shmat(shmid, want, shmflg); 225 + fprintf(f, "page layout changed following shmat\n");
|
H A D | 0003-linux-user-Add-strace-for-shmat.patch | 4 Subject: [PATCH 3/5] linux-user: Add strace for shmat 50 + print_shmat(cpu_env, &(const struct syscallname){ .name = "shmat" }, 64 -{ TARGET_NR_shmat, "shmat" , NULL, NULL, print_syscall_ret_addr }, 65 +{ TARGET_NR_shmat, "shmat" , NULL, print_shmat, print_syscall_ret_addr },
|
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-tm-spr.c | 37 cptr = (struct shared *)shmat(shm_id, NULL, 0); in tm_spr() 38 cptr1 = (int *)shmat(shm_id1, NULL, 0); in tm_spr() 130 pptr = (struct shared *)shmat(shm_id, NULL, 0); in ptrace_tm_spr() 131 pptr1 = (int *)shmat(shm_id1, NULL, 0); in ptrace_tm_spr()
|
H A D | ptrace-vsx.c | 22 cptr = (int *)shmat(shm_id, NULL, 0); in vsx() 84 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_vsx()
|
H A D | ptrace-tar.c | 20 cptr = (int *)shmat(shm_id, NULL, 0); in tar() 95 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tar()
|
H A D | ptrace-tm-gpr.c | 26 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_gpr() 127 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_gpr()
|
H A D | ptrace-tm-spd-gpr.c | 33 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_gpr() 134 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_gpr()
|
H A D | ptrace-tm-tar.c | 21 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_tar() 126 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_tar()
|
H A D | ptrace-tm-spd-tar.c | 27 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_tar() 138 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_tar()
|
H A D | ptrace-tm-spd-vsx.c | 47 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_vsx() 152 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_vsx()
|
H A D | ptrace-tm-vsx.c | 34 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_vsx() 135 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_vsx()
|
H A D | ptrace-gpr.c | 28 cptr = (int *)shmat(shm_id, NULL, 0); in child() 142 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_gpr()
|
/openbmc/qemu/tests/tcg/multiarch/linux/ |
H A D | linux-shmat-null.c | 20 p = shmat(shmid, NULL, 0); in main() 27 p = shmat(shmid, NULL, 0); in main()
|
H A D | linux-shmat-maps.c | 29 p = shmat(shmid, (void *)0x800000, SHM_RND); in main() 37 p = shmat(shmid, NULL, 0); in main()
|
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | lse2-fault.c | 21 p = shmat(id, NULL, 0); in main()
|
/openbmc/linux/tools/testing/selftests/powerpc/syscalls/ |
H A D | ipc.h | 35 DO_TEST(shmat, __NR_shmat)
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | hugepage-shm.c | 64 shmaddr = shmat(shmid, ADDR, SHMAT_FLAGS); in main()
|
H A D | write_to_hugetlbfs.c | 210 ptr = shmat(shmid, NULL, 0); in main()
|
H A D | thuge-gen.c | 162 char *map = shmat(id, NULL, 0600); in test_shmget()
|
/openbmc/linux/kernel/ |
H A D | sys_ni.c | 140 COND_SYSCALL(shmat); 141 COND_SYSCALL_COMPAT(shmat);
|
/openbmc/qemu/bsd-user/ |
H A D | bsd-mem.h | 370 host_raddr = shmat(shmid, (void *)g2h_untagged(shmaddr), shmflg); in do_bsd_shmat() 379 host_raddr = shmat(shmid, g2h_untagged(mmap_start), in do_bsd_shmat()
|
/openbmc/linux/tools/testing/selftests/futex/functional/ |
H A D | futex_wait.c | 103 shared_data = shmat(shm_id, NULL, 0); in main()
|
/openbmc/openbmc/poky/meta/recipes-support/apr/apr/ |
H A D | 0001-configure-Remove-runtime-test-for-mmap-that-can-map-.patch | 22 @@ -1303,36 +1303,6 @@ AC_CHECK_FUNCS([mmap munmap shm_open shm_unlink shmget shmat shmdt shmctl \
|
/openbmc/linux/tools/testing/selftests/powerpc/mm/ |
H A D | tlbie_test.c | 658 map1 = shmat(shmid, NULL, 0); in main() 663 map2 = shmat(shmid, NULL, 0); in main()
|