diff options
| author | Martin Krastev <[email protected]> | 2021-06-09 13:23:05 -0400 |
|---|---|---|
| committer | Zack Rusin <[email protected]> | 2021-06-12 00:01:03 -0400 |
| commit | b7d0949f6ce691131323fafabd48bf2f5074ae8d (patch) | |
| tree | 793352bc2fdcc8c897a827d3b5b5fb4cf7b964c5 /tools/perf/scripts/python/bin/export-to-sqlite-report | |
| parent | 8d9a8d9bd5034a88afef470664918aa914b1c3dc (diff) | |
drm/vmwgfx: Refactor vmw_mksstat_remove_ioctl to expect pgid match with vmw_mksstat_add_ioctl to authorise removal.
Original vmw_mksstat_remove_ioctl expected pid to match the corresponding vmw_mksstat_add_ioctl.
That made impossible en-masse removals by one pid, which is a valid use case, so pid match was
discarded. Current change enforces a broader pgid match as a form of protection from arbitrary
processes interrupting an ongoing mks-guest-stats.
Reviewed-by: Zack Rusin <[email protected]>
Signed-off-by: Martin Krastev <[email protected]>
Signed-off-by: Zack Rusin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions