History

Revert "misc: fastrpc: Restrict untrusted app to attach to privileged PD"

This reverts commit bab2f5e8fd5d2f759db26b78d9db57412888f187. Joel reported that this commit breaks userspace and stops sensors in SDM845 from working. Also breaks other qcom SoC devices running postmarketOS.

Griffin Kroah-Hartman committed 2 years ago

Commit 9bb5e741 parent ccbde4b2 files · +3 −22Browse files

Showing the changes to include/uapi/misc (1 of 2 files). Show all

Unified · Split

include/uapi/misc/fastrpc.h+0−3
@@ -8,14 +8,11 @@ · 7 unmodified lines
88 #define FASTRPC_IOCTL_ALLOC_DMA_BUFF _IOWR('R', 1, struct fastrpc_alloc_dma_buf)
99 #define FASTRPC_IOCTL_FREE_DMA_BUFF _IOWR('R', 2, __u32)
1010 #define FASTRPC_IOCTL_INVOKE _IOWR('R', 3, struct fastrpc_invoke)
11−/* This ioctl is only supported with secure device nodes */
1211 #define FASTRPC_IOCTL_INIT_ATTACH _IO('R', 4)
1312 #define FASTRPC_IOCTL_INIT_CREATE _IOWR('R', 5, struct fastrpc_init_create)
1413 #define FASTRPC_IOCTL_MMAP _IOWR('R', 6, struct fastrpc_req_mmap)
1514 #define FASTRPC_IOCTL_MUNMAP _IOWR('R', 7, struct fastrpc_req_munmap)
16−/* This ioctl is only supported with secure device nodes */
1715 #define FASTRPC_IOCTL_INIT_ATTACH_SNS _IO('R', 8)
18−/* This ioctl is only supported with secure device nodes */
1916 #define FASTRPC_IOCTL_INIT_CREATE_STATIC _IOWR('R', 9, struct fastrpc_init_create_static)
2017 #define FASTRPC_IOCTL_MEM_MAP _IOWR('R', 10, struct fastrpc_mem_map)
2118 #define FASTRPC_IOCTL_MEM_UNMAP _IOWR('R', 11, struct fastrpc_mem_unmap)