Skip to content
Snippets Groups Projects
  • Ahmed Abd El Mawgood's avatar
    3aacc160
    Remove dependency on errno in ld.so · 3aacc160
    Ahmed Abd El Mawgood authored
    During early parts of ld.so, errno and other thread local variables are
    not yet initialized so we cannot use function (such as unistd::access)
    that depends on such thread local variables (errno). For this reason
    this patch creates small wrapper around the syscall that doesn't not
    touch the errno
    3aacc160
    History
    Remove dependency on errno in ld.so
    Ahmed Abd El Mawgood authored
    During early parts of ld.so, errno and other thread local variables are
    not yet initialized so we cannot use function (such as unistd::access)
    that depends on such thread local variables (errno). For this reason
    this patch creates small wrapper around the syscall that doesn't not
    touch the errno
linker.rs 31.23 KiB