thegeorg e493167a2c Provide sys/mman.h by the means of libc_compat 1 месяц назад
..
.yandex_meta 9731d8a4bb publishFullContrib: true for ydb 1 месяц назад
getservbyname cb22bc788f add contrib/libs/libc_compat/getservbyname for memory sanitizer 1 год назад
include 9731d8a4bb publishFullContrib: true for ydb 1 месяц назад
memfd_create e493167a2c Provide sys/mman.h by the means of libc_compat 1 месяц назад
patches 9731d8a4bb publishFullContrib: true for ydb 1 месяц назад
random cca50b7e18 fixed syscall numbers for different platforms 1 год назад
reallocarray 128c5e5307 Do not undef Y_UCRT_INCLUDE_NEXT if we did not define it 1 год назад
src 84f2cfa253 add windows platform to ydb github export 1 год назад
ubuntu_14 9731d8a4bb publishFullContrib: true for ydb 1 месяц назад
README.md 49116032d9 Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2. 2 лет назад
collate.h 9731d8a4bb publishFullContrib: true for ydb 1 месяц назад
explicit_bzero.c 9658108502 Missing header 2 лет назад
glob.c 9731d8a4bb publishFullContrib: true for ydb 1 месяц назад
glob.h 9731d8a4bb publishFullContrib: true for ydb 1 месяц назад
ifaddrs.c 9731d8a4bb publishFullContrib: true for ydb 1 месяц назад
memrchr.c 2f6ca19824 Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 2 of 2. 2 лет назад
readpassphrase.c a61e8c559b Restoring authorship annotation for <arcadia-devtools@yandex-team.ru>. Commit 2 of 2. 2 лет назад
stpcpy.c 84f2cfa253 add windows platform to ydb github export 1 год назад
strcasestr.c 84f2cfa253 add windows platform to ydb github export 1 год назад
string.c 2f6ca19824 Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 2 of 2. 2 лет назад
string.h 91aa870864 Restoring authorship annotation for <eninng@yandex-team.ru>. Commit 2 of 2. 2 лет назад
strlcat.c 732828f889 Restoring authorship annotation for <miplot@yandex-team.ru>. Commit 2 of 2. 2 лет назад
strlcpy.c 6ab7e5f5ad Restoring authorship annotation for <tejblum@yandex-team.ru>. Commit 2 of 2. 2 лет назад
strsep.c 84f2cfa253 add windows platform to ydb github export 1 год назад
unistd.h 9731d8a4bb publishFullContrib: true for ydb 1 месяц назад
update.sh 9731d8a4bb publishFullContrib: true for ydb 1 месяц назад
ya.make e493167a2c Provide sys/mman.h by the means of libc_compat 1 месяц назад

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