diff options
| author | 2026-05-25 05:26:54 +0000 | |
|---|---|---|
| committer | 2026-05-28 04:27:03 +0000 | |
| commit | 4178de898c341e6c259851a2be1c7649ac4f40ad (patch) | |
| tree | 752075b614b3acb4de46c068107cf0c1fcdbe11d /tools/lib/python/kdoc/python_version.py | |
| parent | platform/chrome: cros_ec_chardev: Add event relayer (diff) | |
platform/chrome: cros_ec_chardev: Introduce rwsem for protecting ec_dev
Introduce a rwsem for protecting `ec_dev` to prevent Use-After-Free on
the `ec_dev`.
- Writers: In driver's probe() and remove().
- Readers: In file operations.
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20260525052654.4076429-5-tzungbi@kernel.org
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
