juniskane opened a new pull request #2497:
URL: https://github.com/apache/incubator-nuttx/pull/2497


   ## Summary
   getrandom() must not fail in any case, even when task or thread calling it 
is target of task_delete() or pthread_cancel(). We must therefore handle 
ECANCELED from nxsem_wait_uninterruptible() ourselves instead of silently 
returning without any random bytes. 
   
   Note that this is not made as cancellation point because getrandom() is also 
called by /def/urandom driver's read() implementation.
   
   ## Impact
   
   ## Testing
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to