Defending against page-cache attacks
Defending against page-cache attacks
Posted Jan 18, 2019 14:47 UTC (Fri) by bof (subscriber, #110741)In reply to: Defending against page-cache attacks by mangix
Parent article: Defending against page-cache attacks
> wonder how many programs will use O_DIRECT now.
Anything with a use case that wants to *avoid* perturbing the page cache. As a sysadmin I regularly use dd iflag=direct or oflag=direct when checksumming or network copying block devices. Applicable to all do-once I/O, actually, and the last time I played with fadvise FADV_NOREUSE (which dd does not support anyway) it was much less reliable.
