{"id":41014,"date":"2020-02-05T10:07:45","date_gmt":"2020-02-05T07:07:45","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/vypusk-sistemnoj-biblioteki-glibc-2-31"},"modified":"2020-02-05T10:07:45","modified_gmt":"2020-02-05T07:07:45","slug":"vypusk-sistemnoj-biblioteki-glibc-2-31","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/vypusk-sistemnoj-biblioteki-glibc-2-31","title":{"rendered":"\ud83e\udd47Release of the OpenMandriva Lx 4.1 distribution | ProHoster","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>After six months of development <noindex><a rel=\"nofollow\" href=\"https:\/\/sourceware.org\/ml\/libc-alpha\/2020-02\/msg00010.html\">has been published<\/a><\/noindex> release of the system library <noindex><a rel=\"nofollow\" href=\"http:\/\/ftp.gnu.org\/gnu\/glibc\/\">GNU C Library<\/a><\/noindex> (glibc) <noindex><a rel=\"nofollow\" href=\"http:\/\/sourceware.org\/glibc\/wiki\/Release\/2.31\">2.31<\/a><\/noindex>, which fully complies with the standards of ISO C11 and POSIX.1-2008. The new release includes contributions from 58 developers. <\/p>\n<p>Implemented in Glibc 2.31 <noindex><a rel=\"nofollow\" href=\"http:\/\/sourceware.org\/git\/?p=glibc.git;a=blob_plain;f=NEWS;hb=HEAD\">improvements<\/a><\/noindex> notable mentions include:\n<\/p>\n<ul>\n<li class=\"l\"> The _ISOC2X_SOURCE macro has been added to enable features defined in the draft of the future ISO standard <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/C2x\">C2X<\/a><\/noindex>These features are also enabled when using the _GNU_SOURCE macro or when compiling in gcc with the flag '-std=gnu2x';\n<li class=\"l\"> For certain functions defined in the header file 'math.h' that round their results to a smaller type, corresponding generic type macros are provided in the 'tgmath.h' file, as required by the specifications TS 18661-1:2014 and TS 18661-3:2015;\n<li class=\"l\"> The pthread_clockjoin_np() function has been added, which waits for a thread to complete with a timeout (if the timeout occurs before completion, the function returns an error). Unlike <noindex><a rel=\"nofollow\" href=\"https:\/\/linux.die.net\/man\/3\/pthread_timedjoin_np\">pthread_timedjoin_np()<\/a><\/noindex>, in pthread_clockjoin_np(), the type of timer for calculating the timeout can be defined as CLOCK_MONOTONIC (which accounts for the time spent by the system in sleep mode) or CLOCK_REALTIME;\n<li class=\"l\"> Support for the trust-ad option has been added to the DNS resolver in \/etc\/resolv.conf and the RES_TRUSTAD flag in _res.options, which, when set, enable the transmission of the DNSSEC flag in DNS queries <noindex><a rel=\"nofollow\" href=\"https:\/\/tools.ietf.org\/html\/rfc3655\">AD<\/a><\/noindex> (authenticated data). In this mode, the AD flag set by the server becomes accessible to applications calling functions like res_search(). By default, if the suggested options are not set, glibc does not send the AD flag in queries and automatically clears it in responses, indicating a lack of DNSSEC verification;\n<li class=\"l\"> To build working bindings for system calls for Glibc, it is now not required to install the Linux kernel header files. The exception is the 64-bit architecture RISC-V;\n<li class=\"l\"> Resolved <noindex><a rel=\"nofollow\" href=\"https:\/\/bugzilla.redhat.com\/show_bug.cgi?id=CVE-2019-19126\">vulnerability<\/a><\/noindex> <noindex><a rel=\"nofollow\" href=\"https:\/\/security-tracker.debian.org\/tracker\/CVE-2019-19126\">CVE-2019-19126<\/a><\/noindex>, which allows bypassing the protection<br \/>\nASLR in programs with the setuid flag and determining the address layout in loaded libraries by manipulating the LD_PREFER_MAP_32BIT_EXEC environment variable.<\/p>\n<\/ul>\n<p> Changes that break compatibility:<\/p>\n<ul>\n<li class=\"l\"> In totalorder(), totalordermag(), and similar functions for other floating-point types, pointers are now accepted as arguments to exclude warnings about converting values in the state <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/NaN\">NaN<\/a><\/noindex>, in accordance with the recommendations of TS 18661-1, proposed for the future C2X standard.<br \/>\nExisting executables, in which floating-point arguments are passed directly, will continue to work without modification;<\/p>\n<li class=\"l\"> The long-deprecated stime function is now unavailable for binaries linked with glibc, and its definition has been removed from time.h. The clock_settime function should be used to set the system time. In the future, the deprecated ftime function and the header file sys\/timeb.h are also planned to be removed (use gettimeofday or clock_gettime instead of ftime);\n<li class=\"l\"> The gettimeofday function no longer provides information about the system-wide time zone (this feature was relevant in the 4.2-BSD era and was declared deprecated for many years). A null pointer should now be passed for the 'tzp' argument, and to get time zone information related to the current time, use the localtime() function. When calling gettimeofday with a non-null 'tzp' argument, empty tz_minuteswest and tz_dsttime fields will be returned in the timezone structure. The gettimeofday function itself is considered deprecated in POSIX (it is recommended to use clock_gettime instead), but there are no plans to remove it from glibc;\n<li class=\"l\"> Support for simultaneously passing parameters to set the time and the corrective time offset has been discontinued in settimeofday. When calling settimeofday, one of the arguments (time or offset) must now be set to null, otherwise the function call will end with error EINVAL. Like gettimeofday, the settimeofday function is considered deprecated in POSIX and the clock_settime function or the adjtime family of functions are recommended instead;\n<li class=\"l\"> Support for SPARC ISA v7 architecture has been discontinued (v8 support is still maintained, but only for processors with CAS instruction support, such as LEON processors, but not SuperSPARC processors).\n<li class=\"l\"> In the event of a binding failure in the mode '<noindex><a rel=\"nofollow\" href=\"https:\/\/docs.oracle.com\/cd\/E23824_01\/html\/819-0690\/chapter3-7.html\">lazy<\/a><\/noindex>', where the linker does not search for function symbols until the first call to that function, the dlopen function now forcibly terminates the process (previously it returned NULL on failure);\n<li class=\"l\"> For ABI MIPS hard-float, an executable stack is now used unless a restriction on using Linux kernel 4.8+ is explicitly set at compile time through the parameter '--enable-kernel=4.8.0' (with kernels up to 4.8 crashes occur for some MIPS configurations);\n<li class=\"l\"> Wrappers over system calls related to time manipulation have been transitioned to the use of the time64 system call when available (on 32-bit glibc systems, it initially attempts to use the new system calls that manipulate the 64-bit type for time, and if they are unavailable, it reverts to the old 32-bit calls).\n<\/ul>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Source: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52293\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u043e\u0441\u043b\u0435 \u0448\u0435\u0441\u0442\u0438 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0440\u0435\u043b\u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 GNU C Library (glibc) 2.31, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u0432 ISO C11 \u0438 POSIX.1-2008. \u0412 \u0441\u043e\u0441\u0442\u0430\u0432 \u043d\u043e\u0432\u043e\u0433\u043e \u0432\u044b\u043f\u0443\u0441\u043a\u0430 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u0442 58 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432. \u0418\u0437 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0432 Glibc 2.31 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c: \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u043c\u0430\u043a\u0440\u043e\u0441 _ISOC2X_SOURCE \u0434\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u0432 \u0447\u0435\u0440\u043d\u043e\u0432\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435 \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0430 ISO C2X. \u0414\u0430\u043d\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-41014","post","type-post","status-publish","format-standard","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u043e\u0441\u043b\u0435 \u0448\u0435\u0441\u0442\u0438 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0440\u0435\u043b\u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/vypusk-sistemnoj-biblioteki-glibc-2-31\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Glibc 2.31 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u043e\u0441\u043b\u0435 \u0448\u0435\u0441\u0442\u0438 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0440\u0435\u043b\u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/vypusk-sistemnoj-biblioteki-glibc-2-31\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-02-05T07:07:45+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-05T07:07:45+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Release of the Glibc 2.31 system library | ProHoster","description":"After six months of development, the release of the system library has been published.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/vypusk-sistemnoj-biblioteki-glibc-2-31","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Glibc 2.31 | ProHoster","og:description":"\u041f\u043e\u0441\u043b\u0435 \u0448\u0435\u0441\u0442\u0438 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0440\u0435\u043b\u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438","og:url":"https:\/\/prohoster.info\/en\/blog\/vypusk-sistemnoj-biblioteki-glibc-2-31","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-02-05T07:07:45+00:00","article:modified_time":"2020-02-05T07:07:45+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"41014","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 00:25:41","updated":"2022-09-30 11:31:57","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/41014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=41014"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/41014\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=41014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=41014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=41014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}