Bug 210221
Summary: | KASAN: turn CONFIG_KASAN_STACK into bool | ||
---|---|---|---|
Product: | Memory Management | Reporter: | Andrey Konovalov (andreyknvl) |
Component: | Sanitizers | Assignee: | MM/Sanitizers virtual assignee (mm_sanitizers) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | dvyukov, kasan-dev, walter-zh.wu |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | upstream | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Andrey Konovalov
2020-11-16 13:50:19 UTC
FWIW we could also have just 1 config instead of 2 as well (CONFIG_KASAN_STACK/CONFIG_KASAN_STACK_ENABLE). For gcc we could do no prompt and default value y, and for clang -- prompt and default value n. I think it should do what we need. Hi Dmitry/Andrey, I already sent one patch(kasan: remove redundant config option) to fix it. Thank you for your suggestion. Walter "kasan: remove redundant config option" is now in linux-next. |