On 31/01/2023 12:25, Beata Michalska wrote:
To avoid some ungraceful #ifdef'ing in morello_setup_signal_return(), morello_sentry_unsealcap is now always defined, as the overhead is insignificant (a 16-byte global and a few instructions on startup).
Minor: You can use IS_ENABLED instead of #ifdef'ing, though I do not mind the change.
I don't think so, IS_ENABLED() doesn't remove the need for the whole expression to be parsable, which requires morello_sentry_unsealcap to be at least declared.
Kevin