gramine
gramine copied to clipboard
[PAL,LibOS,common] Convert PAL errors to negative values
Description of the changes
Change PAL error to negative values. This will simplify the process of changing the function to return pal_error_t instead of int.
How to test this PR?
CI/CD
common/src/pal_error.c line 8 at r2 (raw file):
Previously, dimakuv (Dmitrii Kuvaiskii) wrote…
Also @mwkmwkmwk
Sure, sounds like a good idea.