IAIK / sweb

SWEB Educational OS
https://teaching.iaik.tugraz.at/bs/
115 stars 108 forks source link

explicitly disabling stack clash protection #273

Closed flokrieger closed 2 years ago

flokrieger commented 2 years ago

On some gcc versions on Ubuntu the stack clash protection is enabled per default leading to confusion when testing growing stacks and swapping with large stack arrays in SWEB. As found by Mario Bischof the compiler flag -fno-stack-clash-protection explicitly disables that feature. In this pull request, it is added to the compilation flags of all supported architectures.