They are not needed. I considered also adding prot and maxprot
parameters to kmem_suballoc(), but that doesn't appear to have any
effect on submaps, so I didn't bother.
Reported by: jhb
Differential D17827
Remove execute permissions from mappings in exec_map and pipe_map. markj on Nov 3 2018, 5:12 PM. Authored by Tags None Referenced Files
Details They are not needed. I considered also adding prot and maxprot Reported by: jhb I used kgdb to examine PTEs in the range managed by the two I audited uses of exec_map and pipe_map in the kernel (exec_map
Diff Detail
Event Timeline
|