RTEMS | Fix panic issue which caused by pipe. (!267)
Gedare Bloom (@gedare)
gitlab at rtems.org
Wed Oct 30 15:27:45 UTC 2024
Gedare Bloom commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/267#note_114037
Behavior of this patch without the change of
```
rtems_libio_iop_flags_set(
diop, rtems_libio_fcntl_flags( oflag )
);
```
using the updated test case:
```
*** BEGIN OF TEST PSXPIPE 1 ***
*** TEST VERSION: 6.0.0.128e7583e6568ae8866f672d5e7f8d443e3554de
*** TEST STATE: EXPECTED_PASS
*** TEST BUILD:
*** TEST TOOLS: 13.3.0 20240521 (RTEMS 6, RSB 2e6e83660f259d28327ac042b4960716781e24d0-modified, Newlib 1b3dcfd)
Init - attempt to create pipe -- expect EFAULT
Init - create pipe -- OK
Init - dup pipe -- OK
Init - read pipe -- OK
../../../testsuites/psxtests/psxpipe01/init.c: 92 status == 0
```
with the change at those lines, the modified test runs correctly.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/267#note_114037
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241030/e57524c1/attachment.htm>
More information about the bugs
mailing list