aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorHao Xu <[email protected]>2023-08-01 16:06:45 +0800
committerMiklos Szeredi <[email protected]>2023-08-16 12:20:37 +0200
commit80e4f25262f9f1a5f08154fafaa6ac4371043d35 (patch)
tree7c26489425a478e5461ed04beb89ea86e3d7ca70 /lib/test_fortify/write_overflow-strncpy-src.c
parentb8bd342d50cbf606666488488f9fea374aceb2d5 (diff)
fuse: invalidate page cache pages before direct write
In FOPEN_DIRECT_IO, page cache may still be there for a file since private mmap is allowed. Direct write should respect that and invalidate the corresponding pages so that page cache readers don't get stale data. Signed-off-by: Hao Xu <[email protected]> Tested-by: Jiachen Zhang <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions