robot-piglet ee1d38e23a Intermediate changes 1 month ago
..
.yandex_meta 9731d8a4bb publishFullContrib: true for ydb 4 months ago
getservbyname cb22bc788f add contrib/libs/libc_compat/getservbyname for memory sanitizer 1 year ago
include 9731d8a4bb publishFullContrib: true for ydb 4 months ago
memfd_create e493167a2c Provide sys/mman.h by the means of libc_compat 3 months ago
patches 9731d8a4bb publishFullContrib: true for ydb 4 months 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 2 years ago
ubuntu_14 9731d8a4bb publishFullContrib: true for ydb 4 months ago
README.md ee1d38e23a Intermediate changes 1 month ago
collate.h 9731d8a4bb publishFullContrib: true for ydb 4 months ago
explicit_bzero.c 9658108502 Missing header 2 years ago
glob.c 9731d8a4bb publishFullContrib: true for ydb 4 months ago
glob.h 9731d8a4bb publishFullContrib: true for ydb 4 months ago
ifaddrs.c 9731d8a4bb publishFullContrib: true for ydb 4 months ago
memrchr.c 2f6ca19824 Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 2 of 2. 3 years ago
readpassphrase.c a61e8c559b Restoring authorship annotation for <arcadia-devtools@yandex-team.ru>. Commit 2 of 2. 3 years ago
stpcpy.c 84f2cfa253 add windows platform to ydb github export 2 years ago
strcasestr.c 84f2cfa253 add windows platform to ydb github export 2 years ago
string.c 2f6ca19824 Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 2 of 2. 3 years ago
string.h 91aa870864 Restoring authorship annotation for <eninng@yandex-team.ru>. Commit 2 of 2. 3 years ago
strlcat.c 732828f889 Restoring authorship annotation for <miplot@yandex-team.ru>. Commit 2 of 2. 3 years ago
strlcpy.c 6ab7e5f5ad Restoring authorship annotation for <tejblum@yandex-team.ru>. Commit 2 of 2. 3 years ago
strsep.c 84f2cfa253 add windows platform to ydb github export 2 years ago
unistd.h 9731d8a4bb publishFullContrib: true for ydb 4 months ago
update.sh 9731d8a4bb publishFullContrib: true for ydb 4 months ago
ya.make e493167a2c Provide sys/mman.h by the means of libc_compat 3 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
24.04 2.39
22.04 2.35
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