thegeorg e493167a2c Provide sys/mman.h by the means of libc_compat | 1 month ago | |
---|---|---|
.. | ||
.yandex_meta | 1 month ago | |
getservbyname | 1 year ago | |
include | 1 month ago | |
memfd_create | 1 month ago | |
patches | 1 month ago | |
random | 1 year ago | |
reallocarray | 1 year ago | |
src | 1 year ago | |
ubuntu_14 | 1 month ago | |
README.md | 2 years ago | |
collate.h | 1 month ago | |
explicit_bzero.c | 2 years ago | |
glob.c | 1 month ago | |
glob.h | 1 month ago | |
ifaddrs.c | 1 month ago | |
memrchr.c | 2 years ago | |
readpassphrase.c | 2 years ago | |
stpcpy.c | 1 year ago | |
strcasestr.c | 1 year ago | |
string.c | 2 years ago | |
string.h | 2 years ago | |
strlcat.c | 2 years ago | |
strlcpy.c | 2 years ago | |
strsep.c | 1 year ago | |
unistd.h | 1 month ago | |
update.sh | 1 month ago | |
ya.make | 1 month ago |
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:
ya make util -DOS_SDK=ubuntu-xx -G | grep OS_SDK_ROOT | head -n 1
cd ~/.ya/tools/v4/$RESOURCE_ID
readelf -V $(find . -name 'libc.so.6')
.gnu.version_d
section prior to GLIBC_PRIVATE