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
769 stars 260 forks source link

[Pal/Linux] Assign an ephemeral port if port 0 was specified in `udp_bind` #2678

Closed sahason closed 3 years ago

sahason commented 3 years ago

Signed-off-by: Sonali Saha sonali.saha@intel.com

Description of the changes

Fixed the issue of an ephemeral port is not allocated when port number in a socket address is specified as 0 when calling bind. Fixes #2291

How to test this PR?

Follow the steps to reproduce mentioned in issue #2291.


This change is Reviewable

dimakuv commented 3 years ago

This PR was transferred to https://github.com/gramineproject/gramine/pull/76. Closing here.