diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-08-31 18:04:59 +0200 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2026-09-14 00:19:57 +0200 |
| commit | f90242f39f32c6d708c33af504bdc80a683f0da4 (patch) | |
| tree | c5c62e3e89743bc89f8f60ee313c3f19de8560c7 /tools/perf/python/stackcollapse.py | |
| parent | f19ae28f1f050b7d6551412a04281955cc4103e5 (diff) | |
| download | linux-next-f90242f39f32c6d708c33af504bdc80a683f0da4.tar.gz linux-next-f90242f39f32c6d708c33af504bdc80a683f0da4.zip | |
tools/nolibc: verify that a directory is opened
If a non-directory is opened, ENODIR should be returned from
opendir()/fdopendir() right away and not only during readdir_r().
Validate the type of opened file during open.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260831-nolibc-fdopendir-enotdir-v1-1-8cf0e79c4e6f@weissschuh.net
Diffstat (limited to 'tools/perf/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
