aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2017-04-25 13:39:54 +0200
committerTejun Heo <[email protected]>2017-04-28 18:08:21 -0400
commitc6ade20f5e50e188d20b711a618b20dd1d50457e (patch)
treea6b882286df26b634acaf06a4a27639287b92fee /tools/perf/scripts/python/export-to-postgresql.py
parent1a92e99a55e2689f9c13770fe0068b24476268ef (diff)
libata: reject passthrough WRITE SAME requests
The WRITE SAME to TRIM translation rewrites the DATA OUT buffer. While the SCSI code accomodates for this by passing a read-writable buffer userspace applications don't cater for this behavior. In fact it can be used to rewrite e.g. a readonly file through mmap and should be considered as a security fix. Signed-off-by: Christoph Hellwig <[email protected]> Cc: [email protected] Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions