enable ioctl filtering on other filesystem types
ebc3a1a3 enabled ioctl filtering on normal files and directories. However, no per-ioctl permissions were enforced for symbolic links, named pipes ("mkfifo"), or named sockets. Start enforcing fine-grain ioctl restrictions for symbolic links, named pipes, and named sockets. Motivation: Prevent FS_IOC_ENABLE_VERIFY and FS_IOC_MEASURE_VERITY from being usable on nonsensical filesystem objects and provide a layer of defense for kernel bugs. Test: Device boots and no obvious problem. Change-Id: Id81b496ab64f37a0918f3dfd8fa9aaa3227009cc
Loading
Please register or sign in to comment