gramineproject / graphene

Graphene / Graphene-SGX - a library OS for Linux multi-process applications, with Intel SGX support
https://grapheneproject.io
GNU Lesser General Public License v3.0
771 stars 261 forks source link

[LibOS] Do not remove IPC connection on errors #2487

Closed boryspoplawski closed 3 years ago

boryspoplawski commented 3 years ago

Description of the changes

If an error occurred while sending an IPC message, the connection was removed (which could happen twice due to buggy implementation). Now in such case the connection is not removed, but the error is saved and any further writes to that connection will immediately return the saved error.


This change is Reviewable

boryspoplawski commented 3 years ago

Jenkins, retest this please (just making sure)

boryspoplawski commented 3 years ago

Jenkins, retest this please (just making sure)

boryspoplawski commented 3 years ago

Jenkins, retest this please (just making sure)

boryspoplawski commented 3 years ago

Jenkins, retest this please (just making sure)

boryspoplawski commented 3 years ago

Jenkins, retest this please (just making sure)