Skip to content
Snippets Groups Projects
  1. Apr 26, 2022
    • Esben Haabendal's avatar
      musl: Remove OpenHarmony hack for struct sockaddr_storage · d6302071
      Esben Haabendal authored
      
      With openharmony-linux-user.patch, we were modifying sys/socket.h header so
      that struct sockaddr_storage was coming from linux/socket.h header instead of
      being defined directly.
      
      But upstream linux/socket.h does not do that.  It seems like some kind of
      Android convention, that have been applied to kernel headers in OpenHarmony,
      and as we now are using kernel headers from Oniro, we don't have that.
      
      As part of the reason for using third party from Oniro, we really do want to
      use upstream kernel headers, so we need to drop this change.
      
      Note that this difference can be seen as an API change compared to
      OpenHarmony.  Code that would be relying on linux/socket.h defining
      struct sockaddr_storage will not work without changes.  But the sensible API
      is to include sys/socket.h, and in that case, compatibility is preserved.
      
      Signed-off-by: default avatarEsben Haabendal <esben.haabendal@huawei.com>
      d6302071
    • Esben Haabendal's avatar
      musl: Sync source version with OpenHarmony-v3.0-LTS · 48b0795f
      Esben Haabendal authored
      
      This reverts to upstream version 1.2.0 plus patches extracted from
      //third_party/musl component in OpenHarmony-v3.0-LTS code base.
      
      Signed-off-by: default avatarEsben Haabendal <esben.haabendal@huawei.com>
      48b0795f
Loading