| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | shm.c | 105 static int ShmDetachSegment(void *value, XID shmseg); 129 #define VERIFY_SHMSEG(shmseg,shmdesc,client) \ argument 132 tmprc = dixLookupResourceByType((void **)&(shmdesc), shmseg, ShmSegType, \ 138 #define VERIFY_SHMPTR(shmseg,offset,needwrite,shmdesc,client) \ argument 140 VERIFY_SHMSEG(shmseg, shmdesc, client); \ 384 LEGAL_NEW_RESOURCE(stuff->shmseg, client); in ProcShmAttach() 429 if (!AddResource(stuff->shmseg, ShmSegType, (void *) shmdesc)) in ProcShmAttach() 465 VERIFY_SHMSEG(stuff->shmseg, shmdesc, client); in ProcShmDetach() 466 FreeResource(stuff->shmseg, RT_NONE); in ProcShmDetach() 532 VERIFY_SHMPTR(stuff->shmseg, stuff->offset, FALSE, shmdesc, client); in ProcShmPutImage() [all …]
|
| H A D | xvdisp.c | 912 status = dixLookupResourceByType((void **) &shmdesc, stuff->shmseg, in ProcXvShmPutImage() 940 .shmseg = stuff->shmseg, in ProcXvShmPutImage() 1282 swapl(&stuff->shmseg); in SProcXvShmPutImage()
|
| /OK3568_Linux_fs/kernel/arch/xtensa/include/uapi/asm/ |
| H A D | shmbuf.h | 43 unsigned long shmseg; member
|
| /OK3568_Linux_fs/kernel/include/uapi/asm-generic/ |
| H A D | shmbuf.h | 51 unsigned long shmseg; member
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/uapi/asm/ |
| H A D | shmbuf.h | 49 unsigned long shmseg; member
|
| /OK3568_Linux_fs/kernel/arch/parisc/include/uapi/asm/ |
| H A D | shmbuf.h | 43 unsigned long shmseg; member
|
| /OK3568_Linux_fs/kernel/arch/sparc/include/uapi/asm/ |
| H A D | shmbuf.h | 40 unsigned long shmseg; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/asm-generic/ |
| H A D | shmbuf.h | 51 unsigned long shmseg; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/asm-generic/ |
| H A D | shmbuf.h | 51 unsigned long shmseg; member
|
| /OK3568_Linux_fs/kernel/arch/mips/include/uapi/asm/ |
| H A D | shmbuf.h | 50 unsigned long shmseg; member
|
| /OK3568_Linux_fs/kernel/arch/x86/include/uapi/asm/ |
| H A D | shmbuf.h | 33 __kernel_ulong_t shmseg; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/ |
| H A D | shm.h | 65 __syscall_ulong_t shmseg; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/ |
| H A D | shm.h | 65 __syscall_ulong_t shmseg; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | shm.h | 95 int shmseg; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | shm.h | 95 int shmseg; member
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | shm.h | 97 int shmseg; member
|
| /OK3568_Linux_fs/kernel/ipc/ |
| H A D | shm.c | 913 out.shmseg = in->shmseg; in copy_shminfo_to_user() 1042 shminfo->shmmni = shminfo->shmseg = ns->shm_ctlmni; in shmctl_ipc_info() 1328 compat_ulong_t shmseg; member 1353 info.shmseg = in->shmseg; in copy_compat_shminfo_to_user() 1362 info.shmseg = in->shmseg; in copy_compat_shminfo_to_user()
|
| /OK3568_Linux_fs/external/xserver/hw/kdrive/ephyr/ |
| H A D | hostx.c | 457 shminfo->shmseg = xcb_generate_id(HostX.conn); in hostx_create_shm_segment() 458 cookie = xcb_shm_create_segment(HostX.conn, shminfo->shmseg, size, TRUE); in hostx_create_shm_segment() 471 xcb_shm_detach(HostX.conn, shminfo->shmseg); in hostx_create_shm_segment() 488 shminfo->shmseg = xcb_generate_id(HostX.conn); in hostx_create_shm_segment() 489 cookie = xcb_shm_attach_checked(HostX.conn, shminfo->shmseg, shminfo->shmid, TRUE); in hostx_create_shm_segment() 507 xcb_shm_detach(HostX.conn, shminfo->shmseg); in hostx_destroy_shm_segment()
|
| /OK3568_Linux_fs/external/xserver/ |
| H A D | ChangeLog | 12634 Xext/shm: Validate shmseg resource id (CVE-2017-13721)
|