Sang Woo Kim commented: 
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/work_items/101#note_155842


The test and the fix are up as !153: commit 1 fixes dup()/F_DUPFD for libbsd 
descriptors, and the new `dup01` testsuite case captures the EPICS use case — 
it fails with ENXIO on the unfixed branch.

On the default case: `fcntl_h` is a post-hook that cpukit's `vfcntl()` calls 
after its own switch on every command that succeeded there, so an error in the 
default arm would fail F_DUPFD, F_GETFD, F_GETFL and F_DUP2FD on every libbsd 
descriptor. The commands libbsd cannot support are already rejected before the 
hook runs.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/work_items/101#note_155842
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/sent_notifications/4-06we4j5tcgw5zuylplomngcyp-k/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to