RTEMS | Draft: cpukit/posix/aio*: Implemented lio_listio() (!188)
Joel Sherrill (@joel)
gitlab at rtems.org
Sun Sep 1 22:14:12 UTC 2024
Joel Sherrill commented on a discussion on cpukit/posix/src/lio_listio.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/188#note_111701
> + listcbp->lio_notification.task_id = rtems_task_self();
> +
> + } else if ( mode == LIO_NOWAIT ) {
> +
> + if ( sig == NULL ) {
> + listcbp->notification_type = AIO_LIO_NO_NOTIFY;
> + } else {
> + if ( rtems_aio_check_sigevent( sig ) == 0 ) {
> + free( listcbp );
> + rtems_set_errno_and_return_minus_one( EINVAL );
> + }
> +
> + listcbp->notification_type = AIO_LIO_SIGEV;
> + listcbp->lio_notification.sigp = sig;
> + }
> + }
OK. Make sure you have test cases for bad values and then mark this resolved.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/188#note_111701
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/20240901/b786c8a1/attachment-0001.htm>
More information about the bugs
mailing list