mikhnenko 224da25017 Add OS_SDK from ubuntu-22 5 months ago
..
getservbyname cb22bc788f add contrib/libs/libc_compat/getservbyname for memory sanitizer 1 year ago
include f9e4743508 Use UDFs from YDB 1 year ago
random cca50b7e18 fixed syscall numbers for different platforms 1 year ago
reallocarray 128c5e5307 Do not undef Y_UCRT_INCLUDE_NEXT if we did not define it 1 year ago
src 84f2cfa253 add windows platform to ydb github export 1 year ago
ubuntu_14 8deb352c61 export contrib/libs/libc_compat/ubuntu_14 7 months ago
README.md 49116032d9 Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2. 2 years ago
explicit_bzero.c 9658108502 Missing header 2 years ago
memfd_create.c 344ea37b4a Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2. 2 years ago
memrchr.c 2f6ca19824 Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 2 of 2. 2 years ago
readpassphrase.c a61e8c559b Restoring authorship annotation for <arcadia-devtools@yandex-team.ru>. Commit 2 of 2. 2 years ago
stpcpy.c 84f2cfa253 add windows platform to ydb github export 1 year ago
strcasestr.c 84f2cfa253 add windows platform to ydb github export 1 year ago
string.c 2f6ca19824 Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 2 of 2. 2 years ago
string.h 91aa870864 Restoring authorship annotation for <eninng@yandex-team.ru>. Commit 2 of 2. 2 years ago
strlcat.c 732828f889 Restoring authorship annotation for <miplot@yandex-team.ru>. Commit 2 of 2. 2 years ago
strlcpy.c 6ab7e5f5ad Restoring authorship annotation for <tejblum@yandex-team.ru>. Commit 2 of 2. 2 years ago
strsep.c 84f2cfa253 add windows platform to ydb github export 1 year ago
ya.make 224da25017 Add OS_SDK from ubuntu-22 5 months ago

README.md

This library implements a compatibility layer between various libc implementations.

The rationale for the library implementation is described in https://st.yandex-team.ru/IGNIETFERRO-1439.

The code is taken from multiple sources, thus both LICENSE() and VERSION() tags are not very representative.

During development one can make use of the following mapping of OS_SDK into glibc version.

Ubuntu glibc
20.04 2.30
18.04 2.27
16.04 2.23
14.04 2.18
12.04 2.15
10.04 2.11

Use the following commands to update the table above:

  1. ya make util -DOS_SDK=ubuntu-xx -G | grep OS_SDK_ROOT | head -n 1
  2. cd ~/.ya/tools/v4/$RESOURCE_ID
  3. readelf -V $(find . -name 'libc.so.6')
  4. Take the latest version from .gnu.version_d section prior to GLIBC_PRIVATE