aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-04-25 07:39:54 -0400
committerTejun Heo <tj@kernel.org>2017-04-28 18:08:21 -0400
commitc6ade20f5e50e188d20b711a618b20dd1d50457e (patch)
treea6b882286df26b634acaf06a4a27639287b92fee /tools/perf/scripts/python/call-graph-from-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 <hch@lst.de> Cc: stable@vger.kernel.org Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions