mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
No description
- C 98.2%
- Assembly 1%
- Makefile 0.3%
- Shell 0.2%
- Python 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Fd is a user-accessible value, referring it multiple times leads to TOCTOU issues. Dma_buf can be freed after the 1st use of fd and userspace can create another dma_buf but with same fd. In such scenario, during 2nd use of fd, we may get a different dma_buf with different length. To avoid this, we can use same dma_buf instead of retrieving it twice using same fd. In this change FD is accessed only once in syscall. CRs-Fixed: 3159446 Change-Id: I00eb6dd3d798165f5c6c0bd59feabe80a68592b1 Signed-off-by: Yash Upadhyay <quic_yupadhya@quicinc.com> |
||
| config | ||
| drivers | ||
| include/uapi | ||
| Makefile | ||