diff options
| author | Can Guo <cang@codeaurora.org> | 2021-01-13 19:13:28 -0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-01-14 22:12:35 -0500 |
| commit | 9cd20d3f473619d8d482551d15d4cebfb3ce73c8 (patch) | |
| tree | 73f24cb761cd4804be628e9306c242c5fe0f4b94 /tools/perf/scripts/python | |
| parent | scsi: ufs: Fix a possible NULL pointer issue (diff) | |
| download | linux-9cd20d3f473619d8d482551d15d4cebfb3ce73c8.tar.gz linux-9cd20d3f473619d8d482551d15d4cebfb3ce73c8.zip | |
scsi: ufs: Protect PM ops and err_handler from user access through sysfs
User layer may access sysfs nodes when system PM ops or error handling is
running. This can cause various problems. Rename eh_sem to host_sem and use
it to protect PM ops and error handling from user layer intervention.
Link: https://lore.kernel.org/r/1610594010-7254-3-git-send-email-cang@codeaurora.org
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Acked-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
