occlum icon indicating copy to clipboard operation
occlum copied to clipboard

[BUG] one glitch in rt_sigaction

Open StanPlatinum opened this issue 1 year ago • 1 comments

Describe the bug

During the investigation of rt_sigaction, we found that since the last parameter sigsetsize should be ineffective, setting sigsetsize to -1 ought to result in the errno returned being: EINVAL. Nevertheless, in Occlum, the test succeeded and returned Success.

To reproduce

As mentioned above.

Environment

  • HW: [SGX1, SGX2]
  • OS: [Ubuntu20.04]
  • Occlum version: [0.30.0]

Additional context

Add any other context about the problem here.

Possible solution/Implementation

Not obligatory, but suggest a fix/reason for the bug.

StanPlatinum avatar Jan 25 '24 09:01 StanPlatinum

Thanks, problem fixed in PR #1485.

ClawSeven avatar Jan 29 '24 09:01 ClawSeven