occlum
occlum copied to clipboard
[BUG] one glitch in rt_sigaction
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.
Thanks, problem fixed in PR #1485.