gramine icon indicating copy to clipboard operation
gramine copied to clipboard

[PAL,LibOS,common] Convert PAL errors to negative values

Open oshogbo opened this issue 1 year ago • 1 comments

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


This change is Reviewable

oshogbo avatar Jun 07 '24 11:06 oshogbo

common/src/pal_error.c line 8 at r2 (raw file):

Previously, dimakuv (Dmitrii Kuvaiskii) wrote…

Also @mwkmwkmwk

Sure, sounds like a good idea.

mkow avatar Jul 02 '24 15:07 mkow