diff options
| author | Koichiro Den <koichiro.den@canonical.com> | 2025-04-13 00:01:19 +0900 |
|---|---|---|
| committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2025-04-14 22:30:01 +0200 |
| commit | 290ffcfe3042dcd5b701a98edd48d7962d35556b (patch) | |
| tree | 9258b1606a7d80fadb8bd2929566bf5092023d73 /tools/perf/scripts/python/stackcollapse.py | |
| parent | gpio: aggregator: Fix leak in gpio_aggregator_parse() (diff) | |
| download | linux-290ffcfe3042dcd5b701a98edd48d7962d35556b.tar.gz linux-290ffcfe3042dcd5b701a98edd48d7962d35556b.zip | |
selftests: gpio: gpio-aggregator: add a test case for _sysfs prefix reservation
The kernel doc for gpio-aggregator configfs interface, which was recently
added, states that users should not be able to create an aggregator with a
name prefixed by "_sysfs" via configfs. However, it was found that this
guard does not function as expected (thanks to Dan Carpenter for
identifying and fixing the issue).
Add a test case to verify the guard.
Signed-off-by: Koichiro Den <koichiro.den@canonical.com>
Link: https://lore.kernel.org/r/20250412150119.1461023-1-koichiro.den@canonical.com
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
