fun Linux fact: a shared mmap() mapping of an O_RDWR file can fail when mmap() w...
Jann Horn @jann@infosec.exchange
fun Linux fact: a shared mmap() mapping of an O_RDWR file can fail when mmap() with the same flags would succeed for an O_RDONLY file for the same inode
(because making a shared mapping of a writable file for an append-only inode is forbidden. even if you don't request a writable mapping.)