{"id":346542,"date":"2023-03-10T03:00:23","date_gmt":"2023-03-10T03:00:23","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=346542"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2023-03-10T03:00:23","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=346542","title":{"rendered":"<span>\u041a\u0430\u043a \u044f \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u043b \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c Netflix \u043d\u0430 Asahi Linux<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0413\u043e\u0434 \u043d\u0430\u0437\u0430\u0434 \u044f \u043a\u0443\u043f\u0438\u043b \u043c\u0430\u043a\u0431\u0443\u043a. \u041f\u043e\u043b\u0433\u043e\u0434\u0430 \u043d\u0430\u0437\u0430\u0434 macOS \u043d\u0430 \u043d\u0435\u043c \u0441\u043a\u0430\u0437\u0430\u043b\u0430 &#171;\u043e\u0439, \u0432\u0441\u0435&#187;, \u0438 \u043e\u043d \u043e\u043a\u0438\u0440\u043f\u0438\u0447\u0438\u043b\u0441\u044f. \u042f \u0440\u0435\u0448\u0438\u043b \u043d\u0435 \u043f\u0435\u0440\u0435\u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0430 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c Asahi Linux, \u0438 \u043f\u043e\u043a\u0430 \u0447\u0442\u043e \u043d\u0435 \u043f\u043e\u0436\u0430\u043b\u0435\u043b \u043e\u0431 \u044d\u0442\u043e\u043c. \u0425\u043e\u0442\u044f \u043e\u0434\u043d\u0430 \u0432\u0435\u0449\u044c \u0432\u0441\u0435 \u0436\u0435 \u0440\u0430\u0437\u0434\u0440\u0430\u0436\u0430\u043b\u0430 \u2014 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 Netflix \u0438 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Spotify.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0447\u0435\u0441\u0442\u043d\u043e, Netflix \u043c\u043d\u0435 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c-\u0442\u043e \u0438 \u043d\u0443\u0436\u0435\u043d \u2014 \u0443 BitTorrent \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u043b\u0443\u0447\u0448\u0435 UX. \u041d\u043e \u043a Spotify \u044f \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043b\u0441\u044f, \u0438 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u044e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438\u043c\u0435\u043d\u043d\u043e \u0443 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0445\u043e\u0442\u044f \u043c\u043d\u043e\u0433\u0438\u043c \u044d\u0442\u043e \u0438 \u043f\u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u043c. \u041d\u043e \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 Spotify \u0434\u043b\u044f Linux \u043d\u0430 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 aarch64 \u043f\u043e\u043a\u0430 \u0447\u0442\u043e \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.<\/p>\n<p>\u0415\u0441\u0442\u044c, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, web-\u0432\u0435\u0440\u0441\u0438\u044f. \u0412\u0435\u0440\u043d\u0435\u0435, \u0431\u044b\u043b\u0430 \u0431\u044b, \u0435\u0441\u043b\u0438 \u0431\u044b \u043d\u0435 \u043e\u0448\u0438\u0431\u043a\u0430:<\/p>\n<blockquote>\n<p>Playback of protected content is not enabled.<\/p>\n<\/blockquote>\n<p>\u00ab\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u043e\u00bb, \u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u043d\u0442\u0435\u0435 \u2014 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043c\u043e\u0434\u0443\u043b\u044c <a href=\"https:\/\/en.wikipedia.org\/wiki\/Widevine\" rel=\"noopener noreferrer nofollow\">Widevine DRM<\/a>. \u041f\u043e \u044d\u0442\u043e\u0439 \u0436\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 Netflix.<\/p>\n<p>\u0418\u0442\u0430\u043a, \u043c\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u043d\u0430\u0448 \u0447\u0435\u043b\u043b\u0435\u043d\u0434\u0436 <em>\u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439 \u043d\u0435 \u043d\u0430\u0440\u0443\u0448\u0438\u0442\u044c DMCA 2023!<\/em> \u041d\u0430\u0448\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c Netflix \u043d\u0430 Asahi Linux, \u043d\u0435 \u043e\u0431\u0445\u043e\u0434\u044f \u0438 \u043d\u0435 \u043b\u043e\u043c\u0430\u044f DRM. (\u0411\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0443\u043c\u0435\u0441\u0442\u0438\u0442\u0441\u044f \u0432 <a href=\"https:\/\/twitter.com\/David3141593\/status\/1080606827384131590\" rel=\"noopener noreferrer nofollow\">280 \u0437\u043d\u0430\u043a\u043e\u0432<\/a>).<\/p>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Widevine<\/h2>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/607\/a54\/432\/607a544324a8b3d44d8cfb1718eee7eb.png\" alt=\"\" title=\"\" width=\"427\" height=\"240\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/607\/a54\/432\/607a544324a8b3d44d8cfb1718eee7eb.png\"\/><\/figure>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043d\u0435\u043b\u044c\u0437\u044f \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u0437\u044f\u0442\u044c \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c Widevine. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c Widevine \u2014 Chrome + Linux + x86_64. \u0412\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u0434\u0430\u0441\u0442 \u0432\u043e\u043f\u0440\u043e\u0441\u044b: \u043f\u043e\u0447\u0435\u043c\u0443 \u043e\u043d\u043e \u0442\u043e\u0433\u0434\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0432 Firefox? \u041f\u043e\u0447\u0435\u043c\u0443 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 Android, \u044d\u0442\u043e \u0436\u0435 \u0442\u043e\u0436\u0435 Linux \u043d\u0430 aarch64? \u041f\u043e\u0447\u0435\u043c\u0443 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 Raspberry Pi?<\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443.<\/p>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 Firefox + Linux + x86_64?<\/h3>\n<p>\u0412\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043c\u043e\u0434\u0443\u043b\u044f\u043c DRM \u0447\u0435\u0440\u0435\u0437 API <a href=\"https:\/\/www.w3.org\/TR\/encrypted-media\/\" rel=\"noopener noreferrer nofollow\">Encrypted Media Extensions<\/a>. \u0412 \u0441\u0430\u043c\u043e\u043c Chrome DRM \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d, \u043e\u043d \u0434\u0435\u043b\u0435\u0433\u0438\u0440\u0443\u0435\u0442 \u044d\u0442\u043e \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a CDM, \u0438\u043b\u0438 Content Decryption Module. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 Chrome + Linux + x86_64, \u044d\u0442\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <code>libwedevinecdm.so<\/code> \u2014 \u043f\u0440\u043e\u043f\u0440\u0438\u0435\u0442\u0430\u0440\u043d\u044b\u0439 \u0431\u043b\u043e\u0431, \u0437\u0430\u0433\u043b\u044f\u0434\u044b\u0432\u0430\u0442\u044c \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u043c \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u043e.<\/p>\n<p>\u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u043c\u044b \u0437\u043d\u0430\u0435\u043c, \u043a\u0430\u043a \u0441 \u044d\u0442\u0438\u043c \u0431\u043b\u043e\u0431\u043e\u043c \u043e\u0431\u0449\u0430\u0442\u044c\u0441\u044f: <a href=\"https:\/\/chromium.googlesource.com\/chromium\/cdm\/\" rel=\"noopener noreferrer nofollow\">\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0434\u043b\u044f C++<\/a> \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Chromium. \u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 Firefox \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443 \u0441\u0435\u0431\u044f \u0440\u043e\u0432\u043d\u043e \u0442\u0443 \u0436\u0435 \u043f\u0440\u043e\u043f\u0440\u0438\u0435\u0442\u0430\u0440\u043d\u0443\u044e <code>libwidevinecdm.so<\/code>, \u0432\u0437\u044f\u0442\u0443\u044e \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u043c \u0432\u0438\u0434\u0435 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u0437 Chrome. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0434\u043b\u044f Asahi Linux \u043d\u0435\u043b\u044c\u0437\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a \u0436\u0435 \u2014 \u0433\u043e\u0442\u043e\u0432\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0434\u043b\u044f Chrome + Linux + aarch64 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.<\/p>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 Android + aarch64?<\/h3>\n<p>\u0415\u0441\u043b\u0438 \u0432\u043a\u0440\u0430\u0442\u0446\u0435, DRM \u043d\u0430 Android \u0432 \u0446\u0435\u043b\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e-\u0434\u0440\u0443\u0433\u043e\u043c\u0443. API \u0441\u0438\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f, \u0432\u0437\u044f\u0442\u044c \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c Widevine \u0434\u043b\u044f Android \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f, \u0430 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c \u0435\u0433\u043e \u043c\u0435\u0448\u0430\u0435\u0442 DMCA.<\/p>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 Raspberry Pi?<\/h3>\n<p>\u041a\u0430\u043a \u044f \u0443\u0436\u0435 \u0441\u043a\u0430\u0437\u0430\u043b, \u0441\u0432\u044f\u0437\u043a\u0430 Chrome + Linux + aarch64 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p>\u042f \u0441\u043e\u043b\u0433\u0430\u043b.<\/p>\n<p>\u0425\u0440\u043e\u043c\u0431\u0443\u043a\u0438. \u0412 \u0445\u0440\u043e\u043c\u0431\u0443\u043a\u0430\u0445 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 Chrome, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043f\u043b\u044e\u0441-\u043c\u0438\u043d\u0443\u0441 Linux, \u0438 \u043c\u043d\u043e\u0433\u0438\u0435 \u0438\u0437 \u043d\u0438\u0445 \u043d\u0430 aarch64. \u0420\u0430\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u0437\u0434\u043d\u043e \u043b\u044e\u0434\u0438 \u044d\u0442\u043e \u043e\u0441\u043e\u0437\u043d\u0430\u043b\u0438, \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 <a href=\"https:\/\/forums.raspberrypi.com\/viewtopic.php?t=347736\" rel=\"noopener noreferrer nofollow\">\u0443\u0442\u0438\u043b\u0438\u0442\u0443<\/a>, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c <code>libwidevinecdm.so<\/code> \u0438\u0437 recovery-\u043e\u0431\u0440\u0430\u0437\u043e\u0432 \u0434\u043b\u044f \u0445\u0440\u043e\u043c\u0431\u0443\u043a\u043e\u0432. Raspberry Pi, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f \u0437\u043d\u0430\u044e, \u0434\u043e\u0441\u0442\u0430\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e Widevine \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a, \u0434\u0430\u0436\u0435 \u0443\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u044f \u0432 <code>.deb<\/code>-\u043f\u0430\u043a\u0435\u0442.<\/p>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0435\u0441\u0442\u044c \u0437\u0430\u0433\u0432\u043e\u0437\u0434\u043a\u0430. \u0425\u043e\u0442\u044f \u0432 \u0445\u0440\u043e\u043c\u0431\u0443\u043a\u0430\u0445 \u0435\u0441\u0442\u044c <code>aarch64<\/code>-\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u044b \u0438 <code>aarch64<\/code>-\u044f\u0434\u0440\u0430 Linux, \u0432\u0435\u0441\u044c \u0438\u0445 userspace \u0432\u0441\u0435 \u0435\u0449\u0435 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d \u0434\u043b\u044f 32-\u0431\u0438\u0442\u043d\u043e\u0439 <code>armv7l<\/code>. \u0414\u043b\u044f Raspberry Pi \u044d\u0442\u043e \u043d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u043d\u043e Apple Silicon \u043d\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u0435\u043d \u043f\u0435\u0440\u0435\u0432\u0430\u0440\u0438\u0442\u044c 32-\u0431\u0438\u0442\u043d\u044b\u0439 \u043a\u043e\u0434. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430&#8230;<\/p>\n<p>&#8230;\u043d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430! \u0422\u043e\u0447\u043d\u0435\u0435, <em>\u0443\u0436\u0435<\/em> \u043d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430.<\/p>\n<p>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u043d\u0430\u0437\u0430\u0434, \u043a\u043e\u0433\u0434\u0430 \u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043d\u044f\u043b\u0441\u044f Widevine \u0434\u043b\u044f Asahi, \u0432\u0441\u0435 \u0431\u044b\u043b\u043e \u0442\u0430\u043a. \u041d\u043e \u043f\u0430\u0440\u0443 \u043d\u0435\u0434\u0435\u043b\u044c \u043d\u0430\u0437\u0430\u0434 \u0433\u0434\u0435-\u0442\u043e \u0432 Google \u0442\u0430\u043a\u0438 \u043d\u0430\u0441\u0442\u0443\u043f\u0438\u043b 21 \u0432\u0435\u043a, \u0438 \u043d\u0430 \u043d\u043e\u0432\u044b\u0445 \u0445\u0440\u043e\u043c\u0431\u0443\u043a\u0430\u0445 userspace \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f <code>aarch64<\/code>. \u0417\u043d\u0430\u0447\u0438\u0442, <code>libwidevinecdm.so<\/code> \u0434\u043b\u044f Linux + aarch64 \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c \u0438\u0437 recovery-\u043e\u0431\u0440\u0430\u0437\u043e\u0432 ChromeOS, \u0447\u0442\u043e Pi Foundation <a href=\"https:\/\/forums.raspberrypi.com\/viewtopic.php?t=347736\" rel=\"noopener noreferrer nofollow\">\u0443\u0436\u0435 \u0443\u0441\u043f\u0435\u043b\u0430 \u0441\u0434\u0435\u043b\u0430\u0442\u044c<\/a>.<\/p>\n<p>\u0418\u0442\u0430\u043a, \u0432\u0441\u0435 \u0433\u043e\u0442\u043e\u0432\u043e \u0434\u043b\u044f&#8230;<\/p>\n<h2>Widevine \u0434\u043b\u044f Arch Linux \u043d\u0430 ARM<\/h2>\n<p>\u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0435 \u0432\u0441\u0435 \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e. ChromeOS \u2014 \u044d\u0442\u043e \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c Linux; \u043a\u0440\u043e\u043c\u0435 \u043f\u0440\u043e\u0447\u0435\u0433\u043e, \u0432 \u0435\u0433\u043e <code>glibc<\/code> \u0435\u0441\u0442\u044c \u043d\u0435 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0435 \u0441 Linux \u043f\u0430\u0442\u0447\u0438. \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u0437\u044f\u0442\u044c \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c <code>libwidevinecdm.so<\/code>, \u043f\u043e\u043b\u0443\u0447\u0438\u043c segfault \u0433\u0434\u0435-\u0442\u043e \u0432 \u043d\u0435\u0434\u0440\u0430\u0445 <code>glibc<\/code>.<\/p>\n<p>\u042d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0440\u0435\u0448\u0430\u0435\u0442 \u043f\u0430\u043a\u0435\u0442 <a href=\"https:\/\/aur.archlinux.org\/packages\/glibc-widevine\" rel=\"noopener noreferrer nofollow\">glibc-widevine<\/a>. \u041e\u043d \u043f\u0430\u0442\u0447\u0438\u0442 <code>glibc<\/code> \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u0441 Widevine. \u041f\u043e\u0445\u043e\u0436\u0438\u0435 \u043f\u0430\u0442\u0447\u0438 \u0435\u0441\u0442\u044c \u0438 \u0432 <code>glibc<\/code> \u0434\u043b\u044f Raspbian, \u0440\u0430\u0437\u0432\u0435 \u0447\u0442\u043e \u0442\u0430\u043c \u043e\u043d\u0438 \u0438\u0434\u0443\u0442 \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438.<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0440\u0430\u0442\u044c Chromium \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 Widevine \u2014 \u043d\u0430 Linux + aarch64 \u044d\u0442\u043e \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0435 \u043e\u043d \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0442\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c <a href=\"https:\/\/github.com\/archlinuxarm\/PKGBUILDs\/blob\/ad4a45f23163d9453e5f1dc34c6e36cd52ebefbf\/extra\/chromium\/0001-widevine-support-for-arm.patch\" rel=\"noopener noreferrer nofollow\">\u043f\u0430\u0442\u0447<\/a>.<\/p>\n<p>\u0418\u0442\u043e\u0433\u043e:<\/p>\n<ul>\n<li>\n<p>Google \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u0442 \u043e\u0431\u0440\u0430\u0437 ChromeOS \u0434\u043b\u044f aarch64 (\u0432\u043a\u043b\u044e\u0447\u0430\u044f userspace);<\/p>\n<\/li>\n<li>\n<p>Pi Foundation, \u0438\u043b\u0438 \u043a\u0442\u043e-\u0442\u043e \u0435\u0449\u0435, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u044e\u0442 \u043e\u0442\u0442\u0443\u0434\u0430 \u0431\u043b\u043e\u0431 \u0441 Widevine;<\/p>\n<\/li>\n<li>\n<p>\u0431\u043b\u043e\u0431 \u0443\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u044e\u0442 \u0432 <code>.deb<\/code>-\u043f\u0430\u043a\u0435\u0442 \u0434\u043b\u044f Raspbian;<\/p>\n<\/li>\n<li>\n<p>\u043d\u0430 <code>glibc<\/code> \u043d\u0430\u043a\u0430\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u0442\u0447\u0438 \u0434\u043b\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438<\/p>\n<\/li>\n<li>\n<p>\u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u0430\u0442\u0447\u0435\u043d\u043d\u044b\u0439 Chromium \u0434\u043b\u044f ARM \u0441\u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c Widevine<\/p>\n<\/li>\n<li>\n<p>???<\/p>\n<\/li>\n<\/ul>\n<h2>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430<\/h2>\n<p>Asahi Linux \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 <a href=\"https:\/\/asahilinux.org\/2022\/03\/asahi-linux-alpha-release\/#known-broken-applications\" rel=\"noopener noreferrer nofollow\">\u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u043e 16K<\/a>. \u0411\u043b\u043e\u0431 Widevine \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e 4K. \u041f\u0435\u0440\u0435\u0441\u043e\u0431\u0440\u0430\u0442\u044c \u044f\u0434\u0440\u043e \u043f\u043e\u0434 \u0434\u0440\u0443\u0433\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u0441\u0442\u0440\u0430\u043d\u0438\u0446, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043c\u043e\u0436\u043d\u043e, \u043d\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u044b \u043a\u043e\u0441\u0442\u044b\u043b\u0438 \u0438 \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0410 \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u043f\u0440\u0438\u0435\u0442\u0430\u0440\u043d\u044b\u0439 \u0431\u043b\u043e\u0431 \u043d\u0435\u043b\u044c\u0437\u044f.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/0a9\/b01\/0bb\/0a9b010bb814a41d7a6e17b997626a66.png\" alt=\"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u043b \u0432\u043d\u0443\u0442\u0440\u044c \u0431\u043b\u043e\u0431\u0430 Widevine. \u0424\u043e\u0442\u043e \u0432 \u0446\u0432\u0435\u0442\u0435.\" title=\"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u043b \u0432\u043d\u0443\u0442\u0440\u044c \u0431\u043b\u043e\u0431\u0430 Widevine. \u0424\u043e\u0442\u043e \u0432 \u0446\u0432\u0435\u0442\u0435.\" width=\"350\" height=\"147\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0a9\/b01\/0bb\/0a9b010bb814a41d7a6e17b997626a66.png\"\/><\/p>\n<div><figcaption>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u043b \u0432\u043d\u0443\u0442\u0440\u044c \u0431\u043b\u043e\u0431\u0430 Widevine. \u0424\u043e\u0442\u043e \u0432 \u0446\u0432\u0435\u0442\u0435.<\/figcaption><\/div>\n<\/figure>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u0432 \u0447\u0435\u043c \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0442\u043e, \u043a\u0430\u043a <code>libwidevinecdm.so<\/code> \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u0432 \u043f\u0430\u043c\u044f\u0442\u044c. \u041a\u0430\u043a \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 <code>.so<\/code>-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u0432\u043d\u0443\u0442\u0440\u0438 \u044d\u0442\u043e ELF \u2014 Executable and Linkable Format \u2014 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u043e\u043c \u2014 \u044f\u0434\u0440\u043e\u043c \u0438\u043b\u0438 <code>ld.so<\/code> \u2014 \u0438 \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u0442 \u0435\u043c\u0443, \u043a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043a\u043e\u0434 \u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u0438\u0445 \u043a \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044e.<\/p>\n<p>\u0412\u043d\u0443\u0442\u0440\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 ELF \u0435\u0441\u0442\u044c Program Header Table \u2014 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432, \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0438\u0445 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u0414\u043b\u044f \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432 \u0441 \u0442\u0438\u043f\u043e\u043c <code>LOAD<\/code> \u0442\u0430\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u043e, \u043a\u0430\u043a \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u0435\u0433\u043c\u0435\u043d\u0442 \u0432 \u043f\u0430\u043c\u044f\u0442\u044c, \u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u043b\u0438 \u044d\u0442\u0443 \u043f\u0430\u043c\u044f\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u044c\/\u043f\u0438\u0441\u0430\u0442\u044c\/\u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0442\u044c.<\/p>\n<p>\u0421 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435\u043c \u044d\u0442\u0438\u0445 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432 \u0438 \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430. \u041e\u043d\u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e\u0442\u0441\u044f \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u0432\u044b\u0437\u043e\u0432\u0430\u043c\u0438 <code>mmap()<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 <a href=\"https:\/\/man7.org\/linux\/man-pages\/man2\/mmap.2.html\" rel=\"noopener noreferrer nofollow\">\u0442\u0440\u0435\u0431\u0443\u0435\u0442<\/a>:<\/p>\n<ul>\n<li>\n<p>\u0447\u0442\u043e\u0431\u044b \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u0430 \u043e\u0442 \u043d\u0430\u0447\u0430\u043b\u0430 \u0444\u0430\u0439\u043b\u0430 \u0431\u044b\u043b\u043e \u043a\u0440\u0430\u0442\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u0430\u043c\u044f\u0442\u0438;<\/p>\n<\/li>\n<li>\n<p>\u0447\u0442\u043e\u0431\u044b \u0430\u0434\u0440\u0435\u0441 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u043a\u0443\u0434\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u0441\u0435\u0433\u043c\u0435\u043d\u0442, \u0431\u044b\u043b \u0432\u044b\u0440\u043e\u0432\u043d\u0435\u043d \u043f\u043e \u0433\u0440\u0430\u043d\u0438\u0446\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b.<\/p>\n<\/li>\n<\/ul>\n<p>\u0417\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a <a href=\"https:\/\/github.com\/bminor\/glibc\/blob\/10f980d31e3d65c4c5bfafd176e7e1db92e2babe\/elf\/dl-load.c#L1134-L1143\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442<\/a> \u044d\u0442\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f:<\/p>\n<pre><code class=\"cpp\">case PT_LOAD:     \/* A load command tells us to map in part of the file.        We record the load commands and process them all later.  *\/     if (__glibc_unlikely (((ph->p_vaddr - ph->p_offset)          &amp; (GLRO(dl_pagesize) - 1)) != 0))       {         errstring     = N_(\"ELF load command address\/offset not page-aligned\");         goto lose;       }<\/code><\/pre>\n<p>\u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u0441\u0442\u0430\u0442\u044c <code>goto loser<\/code>\u043e\u043c, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e <code>(vaddr - offset) % pagesize == 0<\/code>, \u0433\u0434\u0435 <code>vaddr<\/code> \u2014 Virtual (memory) Address \u2014 \u0430\u0434\u0440\u0435\u0441 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u043a\u0443\u0434\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0435\u0433\u043c\u0435\u043d\u0442, \u0430 <code>offset<\/code> \u2014 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u0430\u0439\u043b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438.<\/p>\n<p>\u0412\u043e\u0442 Program Header Table \u0434\u043b\u044f \u043c\u043e\u0435\u0439 \u043a\u043e\u043f\u0438\u0438 <code>libwidevinecdm.so<\/code>:<\/p>\n<pre><code>Type             Offset     VAddr      FileSize   MemSize    Align      Prot PT_PHDR          0x00000040 0x00000040 0x00000230 0x00000230 0x00000008 r--  PT_LOAD          0x00000000 0x00000000 0x00904290 0x00904290 0x00001000 r-x PT_LOAD          0x00904290 0x00905290 0x00007500 0x00007500 0x00001000 rw- PT_LOAD          0x0090b790 0x0090d790 0x00000df0 0x00c36698 0x00001000 rw-  PT_TLS           0x00904290 0x00905290 0x00000018 0x00000018 0x00000008 r-- PT_DYNAMIC       0x00909618 0x0090a618 0x00000220 0x00000220 0x00000008 rw- PT_GNU_RELRO     0x00904290 0x00905290 0x00007500 0x00007d70 0x00000001 r-- PT_GNU_EH_FRAME  0x00524a24 0x00524a24 0x000010fc 0x000010fc 0x00000004 r-- PT_GNU_STACK     0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 rw- PT_NOTE          0x00000270 0x00000270 0x00000024 0x00000024 0x00000004 r--<\/code><\/pre>\n<p>\u042f \u0432\u044b\u0434\u0435\u043b\u0438\u043b \u043f\u0443\u0441\u0442\u044b\u043c\u0438 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 \u0442\u0440\u0438 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u0430 <code>PT_LOAD<\/code>.<\/p>\n<p>\u0415\u0441\u043b\u0438 pagesize == 0x1000 (4 \u041a\u0411), \u0442\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0441\u043e\u0431\u043b\u044e\u0434\u0430\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432. \u041d\u043e \u0441\u0442\u043e\u0438\u0442 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c pagesize \u0434\u043e 0x4000 (16 \u041a\u0411), \u043a\u0430\u043a \u0432 Asahi Linux, \u0438 dnjhjq \u0438 \u0442\u0440\u0435\u0442\u0438\u0439 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u044b <code>PT_LOAD<\/code> \u0441\u0442\u0430\u043d\u0443\u0442 \u0435\u0433\u043e \u043d\u0430\u0440\u0443\u0448\u0430\u0442\u044c. \u0414\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432 \u044d\u0442\u043e \u043d\u0435 \u0442\u0430\u043a \u0432\u0430\u0436\u043d\u043e \u2014 \u043e\u043d\u0438 \u043d\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e\u0442\u0441\u044f \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0447\u0435\u0440\u0435\u0437 <code>mmap()<\/code>.<\/p>\n<h2>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/h2>\n<p>\u041c\u0435\u043d\u044f\u0442\u044c \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0435\u043b\u044c\u0437\u044f \u2014 \u044d\u0442\u043e \u0441\u043b\u043e\u043c\u0430\u0435\u0442 \u0432 \u043a\u043e\u0434\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u0430 \u0432 \u0434\u0440\u0443\u0433\u043e\u0439. \u0411\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u044d\u0442\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 DRM \u2014 \u043e\u043d\u0430 \u0437\u043b\u0438\u0442\u0441\u044f \u043d\u0430 \u043b\u044e\u0431\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0431\u044f \u0432 \u043f\u0430\u043c\u044f\u0442\u0438. \u0410 \u043d\u0430 \u043a\u043e\u043f\u0430\u043d\u0438\u0435 \u0432 \u043a\u043e\u0434\u0435 \u044d\u0442\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0437\u043b\u0438\u0442\u0441\u044f DMCA.<\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0435\u0449\u0435 \u0440\u0430\u0437 \u043d\u0430 \u043d\u0430\u0448\u0435 \u0437\u043b\u043e\u043f\u043e\u043b\u0443\u0447\u043d\u043e\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 <code>(vaddr - offset) % pagesize == 0<\/code>. \u041c\u0435\u043d\u044f\u0442\u044c <code>vaddr<\/code> \u043c\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u043c \u043f\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c \u0432\u044b\u0448\u0435. \u041d\u043e \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c <code>offset<\/code>, \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u043c \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u044b \u0432 \u0441\u0430\u043c\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438.<\/p>\n<p>\u0414\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e <code>PT_LOAD<\/code> \u043d\u0438\u0447\u0435\u0433\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u043d\u043e \u0432\u043e\u0442 \u0434\u043b\u044f \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c <code>vaddr - offset 0x00905290 - 0x00904290 = 0x1000<\/code>. \u0418\u0441\u043f\u0440\u0430\u0432\u0438\u043c \u044d\u0442\u043e, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 <code>0x1000<\/code> \u0431\u0430\u0439\u0442 \u043f\u0430\u0434\u0434\u0438\u043d\u0433\u0430 \u043c\u0435\u0436\u0434\u0443 \u043f\u0435\u0440\u0432\u044b\u043c \u0438 \u0432\u0442\u043e\u0440\u044b\u043c \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0432 \u0444\u0430\u0439\u043b\u0435, \u043d\u0435 \u0437\u0430\u0431\u044b\u0432 \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c <code>offset<\/code>. \u0422\u0435\u043f\u0435\u0440\u044c <code>vaddr - offset == 0x00904290 - 0x00904290 == 0<\/code>. \u0421 \u0442\u0440\u0435\u0442\u044c\u0438\u043c \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u043c \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e.<\/p>\n<p>\u041f\u0440\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043f\u0430\u0434\u0434\u0438\u043d\u0433\u0430 \u0432 ELF \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u043e\u043b\u044f. \u041d\u043e \u043c\u044b \u043c\u0435\u043d\u044f\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0430\u043c ELF-\u0444\u0430\u0439\u043b \u2014 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0439 \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u043a\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b\u043c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u0443, \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u043c\u0443 \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0441\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c\u0438 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u043e 4K. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043f\u0440\u0438 \u0441\u0430\u043c\u043e\u043f\u0440\u043e\u0432\u0440\u043a\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u0430\u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442 \u0438 \u043d\u0435 \u0440\u0430\u0437\u043e\u0437\u043b\u0438\u0442\u0441\u044f.<\/p>\n<h3>\u0413\u0440\u0430\u043d\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0439<\/h3>\n<p>\u0412 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0441 4K-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c\u0438 \u043a\u0430\u0436\u0434\u044b\u0435 4\u041a\u0411 \u043f\u0430\u043c\u044f\u0442\u0438 \u043c\u043e\u0433\u0443\u0442 \u0438\u043c\u0435\u0442\u044c \u0441\u0432\u043e\u0439 \u043d\u0430\u0431\u043e\u0439 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435\/\u0437\u0430\u043f\u0438\u0441\u044c\/\u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435. \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u043a\u0430 \u0431\u044b\u043b\u0430 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u044d\u0442\u043e\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438. \u041d\u043e \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0441 16K-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c\u0438 \u0433\u0440\u0430\u043d\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0442\u0430\u043a\u0438\u0445 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0439 16\u041a\u0411. \u042d\u0442\u043e \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u0435\u0442 \u0434\u0432\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b.<\/p>\n<p>\u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0435\u043a\u0446\u0438\u0438 <code>.text<\/code> \u2014 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u043a\u043e\u0434 \u2014 \u0438 \u0441\u0435\u043a\u0446\u0438\u0438 <code>.data<\/code> \u2014 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u2014 \u0442\u0435\u043f\u0435\u0440\u044c \u0438\u043c\u0435\u044e\u0442 \u043e\u0431\u0449\u0438\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b. \u041f\u0435\u0440\u0432\u044b\u043c \u043d\u0443\u0436\u0435\u043d \u0434\u043e\u0441\u0442\u0443\u043f \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435, \u0432\u0442\u043e\u0440\u044b\u043c \u2014 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435 \u0438 \u0437\u0430\u043f\u0438\u0441\u044c. \u0414\u0430\u0442\u044c \u0438 \u0442\u043e, \u0438 \u0434\u0440\u0443\u0433\u043e\u0435 \u043c\u043e\u0436\u043d\u043e, \u043d\u043e \u044d\u0442\u043e \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u044b\u0440\u0430 \u0432 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438. \u041f\u043e\u043a\u0430 \u0447\u0442\u043e \u044f \u043d\u0435 \u043d\u0430\u0448\u0435\u043b \u0441\u043f\u043e\u0441\u043e\u0431 \u044d\u0442\u043e\u0433\u043e \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c.<\/p>\n<p>\u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u043f\u043e \u0442\u043e\u0439 \u0436\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c RELRO \u2014 Relocation Read-Only \u2014 \u0435\u0449\u0435 \u043e\u0434\u043d\u0443 \u043c\u0435\u0440\u0443 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u0442\u043c\u0435\u0447\u0430\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0435\u043a\u0446\u0438\u0438 \u043a\u0430\u043a read-only \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438.<\/p>\n<p>\u0421\u0430\u043c\u043e \u043f\u043e \u0441\u0435\u0431\u0435 \u044d\u0442\u043e \u2014 \u043d\u0435 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438, \u043d\u043e \u044d\u0442\u043e \u043e\u0441\u043b\u0430\u0431\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u0449\u0438\u0442\u044b \u043f\u0440\u043e\u0442\u0438\u0432 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445. \u0417\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a, \u0442\u0435\u043e\u0440\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434, \u0430 \u0437\u0430\u0442\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0435\u0433\u043e. \u041d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435, \u0435\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0439\u0442\u0438 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u0432\u0430\u0441 \u043f\u0443\u0433\u0430\u0435\u0442, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f Netflix \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440.<\/p>\n<h3>\u041f\u0430\u0442\u0447\u0438\u043d\u0433 ELF<\/h3>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u044f \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/github.com\/lief-project\/LIEF\" rel=\"noopener noreferrer nofollow\">LIEF<\/a>, \u043d\u043e \u0442\u043e \u043b\u0438 \u0438\u0437-\u0437\u0430 \u0431\u0430\u0433\u043e\u0432, \u0442\u043e \u043b\u0438 \u0438\u0437-\u0437\u0430 \u043a\u0440\u0438\u0432\u043e\u0441\u0442\u0438 \u0440\u0443\u043a \u0443 \u043c\u0435\u043d\u044f \u043d\u0435 \u0432\u044b\u0448\u043b\u043e. \u0412 \u043a\u043e\u043d\u0446\u0435 \u043a\u043e\u043d\u0446\u043e\u0432, \u044f \u0432 \u043a\u043e\u0444\u0435\u0438\u043d\u043e\u0432\u043e\u043c \u0442\u0440\u0430\u043d\u0441\u0435 \u0440\u0430\u0441\u0447\u0435\u0445\u043b\u0438\u043b <code>hexedit<\/code> \u0438 \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u043b \u0432\u0441\u0435 \u0440\u0443\u043a\u0430\u043c\u0438. \u041a \u043c\u043e\u0435\u043c\u0443 \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u044e, \u044d\u0442\u043e \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e!<\/p>\n<p>\u041d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u044f \u043c\u043e\u0433\u0443 \u043b\u0435\u0433\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0442\u044c \u043f\u0430\u0442\u0447\u0435\u043d\u044b\u0439 ELF, \u043d\u043e \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b <a href=\"https:\/\/gist.github.com\/DavidBuchanan314\/c6b97add51b97e4c3ee95dc890f9e3c8\" rel=\"noopener noreferrer nofollow\">\u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 \u043f\u0438\u0442\u043e\u043d\u0435<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u043f\u0430\u0442\u0447\u0438\u0442\u044c \u0435\u0433\u043e \u0441\u0430\u043c\u0438. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442, \u0438 \u0432\u043e\u0442 \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c <code>libwedevinecdm.so<\/code>, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c Firefox \u043f\u043e\u0434 Asahi Linux!<\/p>\n<h2>\u0424\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0448\u0442\u0440\u0438\u0445\u0438<\/h2>\n<p>\u0418\u0437-\u0437\u0430 \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0441\u0442\u0435\u0439 \u0432 <code>glibc<\/code> \u043d\u0430 ChromeOS, \u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u044f \u0433\u043e\u0432\u043e\u0440\u0438\u043b \u0440\u0430\u043d\u0435\u0435, \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u0447\u043a\u0443 \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 <code>__aarch64_swp4_acq_rel<\/code> \u0438 <code>__aarch64_swp4_acq_rel<\/code>, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043b \u0447\u0435\u0440\u0435\u0437 <code>LD_PRELOAD<\/code>. \u042d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043a\u0440\u0430\u0441\u0438\u0432\u043e, \u0438 \u044f \u0441\u0442\u0430\u043b \u0434\u0443\u043c\u0430\u0442\u044c, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432 \u0441\u0430\u043c <code>libwidevinecdm.so<\/code>.<\/p>\n<p>\u0415\u0449\u0435 \u043f\u043e\u043c\u043d\u0438\u0442\u0435, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0443\u0434\u0430 0x1000 \u0431\u0430\u0439\u0442\u043e\u0432 \u0434\u043b\u044f \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u044f? \u041e\u043d\u0438 \u043f\u043e\u043f\u0430\u0434\u0430\u044e\u0442 \u0432 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u0443\u044e \u043f\u0430\u043c\u044f\u0442\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0437\u0430\u0441\u0443\u043d\u0443\u043b \u044d\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0442\u0443\u0434\u0430! \u042f \u0431\u043e\u044f\u043b\u0441\u044f, \u0447\u0442\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u044d\u0442\u043e \u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f, \u043d\u043e, \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u043e\u043d\u0430 \u0438\u0445 \u043d\u0435 \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0430 \u043f\u0440\u0438 \u0441\u0432\u043e\u0438\u0445 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430\u0445. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0438\u0445 \u0430\u0434\u0440\u0435\u0441\u0430 \u0447\u0435\u0440\u0435\u0437 Global Offset Table \u2014 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u043e\u043c \u0438\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0441\u0430\u043c\u043e\u043c ELF. \u042f \u0437\u0430\u043c\u0435\u043d\u0438\u043b \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0438 \u043d\u0430 \u043c\u0435\u0441\u0442\u043e, \u043a\u0443\u0434\u0430 \u044f \u0434\u043e\u043f\u0438\u0441\u0430\u043b \u043d\u043e\u0432\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438.<\/p>\n<p>\u0412\u0441\u0435 \u044d\u0442\u043e \u044f \u0432\u043a\u043b\u044e\u0447\u0438\u043b \u0432 \u0441\u0432\u043e\u0439 Python-\u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439, \u0441 \u043e\u0434\u043e\u0431\u0440\u0435\u043d\u0438\u044f \u043c\u0435\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430, \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0432 \u043f\u0430\u043a\u0435\u0442 <code>widevine-aarch64<\/code>. \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <code>widevine-aarch64<\/code> \u0438\u0437 AUR, \u0438 \u0441 Widevine \u043d\u0430 Asahi Linux \u0431\u0443\u0434\u0435\u0442 \u0433\u043e\u0442\u043e\u0432 \u043a \u0440\u0430\u0431\u043e\u0442\u0435!<\/p>\n<h2>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 Netflix<\/h2>\n<p>Spotify \u0443 \u043c\u0435\u043d\u044f \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b, \u043d\u043e Netflix \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0441\u044f \u0447\u0442\u043e-\u043b\u0438\u0431\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c. \u0414\u0435\u043b\u043e \u0431\u044b\u043b\u043e \u0432 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 User-Agent. \u0412 \u043a\u043e\u043d\u0446\u0435-\u043a\u043e\u043d\u0446\u043e\u0432, \u044f \u043f\u043e\u043c\u0435\u043d\u044f\u043b \u0435\u0433\u043e \u043d\u0430 \u0432\u0437\u044f\u0442\u044b\u0439 \u0438\u0437 ChromeOS:<\/p>\n<pre><code>Mozilla\/5.0 (X11; CrOS aarch64 15236.80.0) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/109.0.5414.125 Safari\/537.36<\/code><\/pre>\n<p>\u0412\u0435\u0440\u0441\u0438\u044f Widevine, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438, \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <code>L3<\/code> \u2014 \u043d\u0430\u0438\u043c\u0435\u043d\u0435\u0435 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c. \u0411\u043e\u043b\u0435\u0435 \u0432\u044b\u0441\u043e\u043a\u0438\u0435 \u0443\u0440\u043e\u0432\u043d\u0438 \u0437\u0430\u0449\u0438\u0442\u044b \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u043e\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438. \u041d\u0430 Apple Silicon \u0435\u0441\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u0447\u0438\u043f\u044b, \u043d\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043d\u0435 \u0440\u043e\u0434\u043d\u0430\u044f, \u0438 \u0438\u0445 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0442\u0430\u043c \u043d\u0435\u0442.<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043d\u0435 \u0434\u0430\u044e\u0442 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c 4K-\u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u043d\u0430 \u0442\u0430\u043a\u043e\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u0437\u0430\u0449\u0438\u0442\u044b \u2014 \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c 1080p. \u041d\u043e Netflix \u0438 \u0442\u0443\u0442 \u043e\u0442\u043b\u0438\u0447\u0438\u043b\u0441\u044f: \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043e\u043d \u043e\u0442\u0434\u0430\u0435\u0442 \u0442\u0430\u043a\u0438\u043c \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c 720p, \u0430 1080p \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442, \u0442\u043e\u043b\u044c\u043a\u043e \u0435\u0441\u043b\u0438 \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0435\u0433\u043e \u043e\u0441\u043e\u0431\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0441\u0430\u043c\u043e\u0433\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0435\u0441\u0442\u044c <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/netflix-1080p\/cankofcoohmbhfpcemhmaaeennfbnmgp?hl=en\" rel=\"noopener noreferrer nofollow\">\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u044b\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f<\/a>. \u041d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d, \u0437\u0430\u0447\u0435\u043c \u043e\u043d\u0438 \u0442\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u043b\u0438; \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0443 \u043a\u043e\u0433\u043e-\u0442\u043e \u0438\u0437 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0431\u044b\u043b\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0438\u0437-\u0437\u0430 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 <code>L3<\/code>-\u0432\u0435\u0440\u0441\u0438\u0435\u0439 &#171;\u0436\u0435\u043b\u0435\u0437\u043d\u043e\u0433\u043e&#187; \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0438\u0434\u0435\u043e?<\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\u041c\u0435\u043d\u044f \u0437\u0430\u0431\u0430\u0432\u043b\u044f\u0435\u0442, \u0447\u0442\u043e \u0432\u0441\u0435 \u044d\u0442\u043e \u044f \u0434\u0435\u043b\u0430\u043b \u043d\u0435 \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u043e\u0439\u0442\u0438 DRM, \u0430 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u043e \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e. \u042d\u0442\u043e \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e! \u0418\u0437 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u044f \u0441\u043c\u043e\u0433 \u043b\u0435\u0433\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043d\u0442, \u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u0437\u0430\u043f\u043b\u0430\u0442\u0438\u043b, \u0432 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u0438\u0440\u0435 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c\u0441\u044f \u0434\u0435\u0442\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438!<\/p>\n<p>\u0414\u043e\u0440\u043e\u0433\u043e\u0439 \u0413\u0443\u0433\u043b, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0434\u043e\u0431\u0430\u0432\u044c \u0432 \u043c\u0430\u0442\u0440\u0438\u0446\u0443 \u0441\u0431\u043e\u0440\u043a\u0438 \u0445\u043e\u0442\u044f \u0431\u044b Ubuntu \u043d\u0430 aarch64. \u042f \u0437\u043d\u0430\u044e, \u0442\u0435\u0431\u0435 \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e.<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p> <!----> <!----><\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/721444\/\"> https:\/\/habr.com\/ru\/post\/721444\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0413\u043e\u0434 \u043d\u0430\u0437\u0430\u0434 \u044f \u043a\u0443\u043f\u0438\u043b \u043c\u0430\u043a\u0431\u0443\u043a. \u041f\u043e\u043b\u0433\u043e\u0434\u0430 \u043d\u0430\u0437\u0430\u0434 macOS \u043d\u0430 \u043d\u0435\u043c \u0441\u043a\u0430\u0437\u0430\u043b\u0430 &#171;\u043e\u0439, \u0432\u0441\u0435&#187;, \u0438 \u043e\u043d \u043e\u043a\u0438\u0440\u043f\u0438\u0447\u0438\u043b\u0441\u044f. \u042f \u0440\u0435\u0448\u0438\u043b \u043d\u0435 \u043f\u0435\u0440\u0435\u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0430 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c Asahi Linux, \u0438 \u043f\u043e\u043a\u0430 \u0447\u0442\u043e \u043d\u0435 \u043f\u043e\u0436\u0430\u043b\u0435\u043b \u043e\u0431 \u044d\u0442\u043e\u043c. \u0425\u043e\u0442\u044f \u043e\u0434\u043d\u0430 \u0432\u0435\u0449\u044c \u0432\u0441\u0435 \u0436\u0435 \u0440\u0430\u0437\u0434\u0440\u0430\u0436\u0430\u043b\u0430 \u2014 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 Netflix \u0438 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Spotify.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0447\u0435\u0441\u0442\u043d\u043e, Netflix \u043c\u043d\u0435 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c-\u0442\u043e \u0438 \u043d\u0443\u0436\u0435\u043d \u2014 \u0443 BitTorrent \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u043b\u0443\u0447\u0448\u0435 UX. \u041d\u043e \u043a Spotify \u044f \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043b\u0441\u044f, \u0438 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u044e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438\u043c\u0435\u043d\u043d\u043e \u0443 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0445\u043e\u0442\u044f \u043c\u043d\u043e\u0433\u0438\u043c \u044d\u0442\u043e \u0438 \u043f\u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u043c. \u041d\u043e \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 Spotify \u0434\u043b\u044f Linux \u043d\u0430 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 aarch64 \u043f\u043e\u043a\u0430 \u0447\u0442\u043e \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.<\/p>\n<p>\u0415\u0441\u0442\u044c, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, web-\u0432\u0435\u0440\u0441\u0438\u044f. \u0412\u0435\u0440\u043d\u0435\u0435, \u0431\u044b\u043b\u0430 \u0431\u044b, \u0435\u0441\u043b\u0438 \u0431\u044b \u043d\u0435 \u043e\u0448\u0438\u0431\u043a\u0430:<\/p>\n<blockquote>\n<p>Playback of protected content is not enabled.<\/p>\n<\/blockquote>\n<p>\u00ab\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u043e\u00bb, \u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u043d\u0442\u0435\u0435 \u2014 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043c\u043e\u0434\u0443\u043b\u044c <a href=\"https:\/\/en.wikipedia.org\/wiki\/Widevine\" rel=\"noopener noreferrer nofollow\">Widevine DRM<\/a>. \u041f\u043e \u044d\u0442\u043e\u0439 \u0436\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 Netflix.<\/p>\n<p>\u0418\u0442\u0430\u043a, \u043c\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u043d\u0430\u0448 \u0447\u0435\u043b\u043b\u0435\u043d\u0434\u0436 <em>\u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439 \u043d\u0435 \u043d\u0430\u0440\u0443\u0448\u0438\u0442\u044c DMCA 2023!<\/em> \u041d\u0430\u0448\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c Netflix \u043d\u0430 Asahi Linux, \u043d\u0435 \u043e\u0431\u0445\u043e\u0434\u044f \u0438 \u043d\u0435 \u043b\u043e\u043c\u0430\u044f DRM. (\u0411\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0443\u043c\u0435\u0441\u0442\u0438\u0442\u0441\u044f \u0432 <a href=\"https:\/\/twitter.com\/David3141593\/status\/1080606827384131590\" rel=\"noopener noreferrer nofollow\">280 \u0437\u043d\u0430\u043a\u043e\u0432<\/a>).<\/p>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Widevine<\/h2>\n<figure class=\"\"><\/figure>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043d\u0435\u043b\u044c\u0437\u044f \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u0437\u044f\u0442\u044c \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c Widevine. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c Widevine \u2014 Chrome + Linux + x86_64. \u0412\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u0434\u0430\u0441\u0442 \u0432\u043e\u043f\u0440\u043e\u0441\u044b: \u043f\u043e\u0447\u0435\u043c\u0443 \u043e\u043d\u043e \u0442\u043e\u0433\u0434\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0432 Firefox? \u041f\u043e\u0447\u0435\u043c\u0443 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 Android, \u044d\u0442\u043e \u0436\u0435 \u0442\u043e\u0436\u0435 Linux \u043d\u0430 aarch64? \u041f\u043e\u0447\u0435\u043c\u0443 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 Raspberry Pi?<\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443.<\/p>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 Firefox + Linux + x86_64?<\/h3>\n<p>\u0412\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043c\u043e\u0434\u0443\u043b\u044f\u043c DRM \u0447\u0435\u0440\u0435\u0437 API <a href=\"https:\/\/www.w3.org\/TR\/encrypted-media\/\" rel=\"noopener noreferrer nofollow\">Encrypted Media Extensions<\/a>. \u0412 \u0441\u0430\u043c\u043e\u043c Chrome DRM \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d, \u043e\u043d \u0434\u0435\u043b\u0435\u0433\u0438\u0440\u0443\u0435\u0442 \u044d\u0442\u043e \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a CDM, \u0438\u043b\u0438 Content Decryption Module. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 Chrome + Linux + x86_64, \u044d\u0442\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <code>libwedevinecdm.so<\/code> \u2014 \u043f\u0440\u043e\u043f\u0440\u0438\u0435\u0442\u0430\u0440\u043d\u044b\u0439 \u0431\u043b\u043e\u0431, \u0437\u0430\u0433\u043b\u044f\u0434\u044b\u0432\u0430\u0442\u044c \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u043c \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u043e.<\/p>\n<p>\u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u043c\u044b \u0437\u043d\u0430\u0435\u043c, \u043a\u0430\u043a \u0441 \u044d\u0442\u0438\u043c \u0431\u043b\u043e\u0431\u043e\u043c \u043e\u0431\u0449\u0430\u0442\u044c\u0441\u044f: <a href=\"https:\/\/chromium.googlesource.com\/chromium\/cdm\/\" rel=\"noopener noreferrer nofollow\">\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0434\u043b\u044f C++<\/a> \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Chromium. \u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 Firefox \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443 \u0441\u0435\u0431\u044f \u0440\u043e\u0432\u043d\u043e \u0442\u0443 \u0436\u0435 \u043f\u0440\u043e\u043f\u0440\u0438\u0435\u0442\u0430\u0440\u043d\u0443\u044e <code>libwidevinecdm.so<\/code>, \u0432\u0437\u044f\u0442\u0443\u044e \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u043c \u0432\u0438\u0434\u0435 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u0437 Chrome. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0434\u043b\u044f Asahi Linux \u043d\u0435\u043b\u044c\u0437\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a \u0436\u0435 \u2014 \u0433\u043e\u0442\u043e\u0432\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0434\u043b\u044f Chrome + Linux + aarch64 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.<\/p>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 Android + aarch64?<\/h3>\n<p>\u0415\u0441\u043b\u0438 \u0432\u043a\u0440\u0430\u0442\u0446\u0435, DRM \u043d\u0430 Android \u0432 \u0446\u0435\u043b\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e-\u0434\u0440\u0443\u0433\u043e\u043c\u0443. API \u0441\u0438\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f, \u0432\u0437\u044f\u0442\u044c \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c Widevine \u0434\u043b\u044f Android \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f, \u0430 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c \u0435\u0433\u043e \u043c\u0435\u0448\u0430\u0435\u0442 DMCA.<\/p>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 Raspberry Pi?<\/h3>\n<p>\u041a\u0430\u043a \u044f \u0443\u0436\u0435 \u0441\u043a\u0430\u0437\u0430\u043b, \u0441\u0432\u044f\u0437\u043a\u0430 Chrome + Linux + aarch64 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p>\u042f \u0441\u043e\u043b\u0433\u0430\u043b.<\/p>\n<p>\u0425\u0440\u043e\u043c\u0431\u0443\u043a\u0438. \u0412 \u0445\u0440\u043e\u043c\u0431\u0443\u043a\u0430\u0445 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 Chrome, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043f\u043b\u044e\u0441-\u043c\u0438\u043d\u0443\u0441 Linux, \u0438 \u043c\u043d\u043e\u0433\u0438\u0435 \u0438\u0437 \u043d\u0438\u0445 \u043d\u0430 aarch64. \u0420\u0430\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u0437\u0434\u043d\u043e \u043b\u044e\u0434\u0438 \u044d\u0442\u043e \u043e\u0441\u043e\u0437\u043d\u0430\u043b\u0438, \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 <a href=\"https:\/\/forums.raspberrypi.com\/viewtopic.php?t=347736\" rel=\"noopener noreferrer nofollow\">\u0443\u0442\u0438\u043b\u0438\u0442\u0443<\/a>, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c <code>libwidevinecdm.so<\/code> \u0438\u0437 recovery-\u043e\u0431\u0440\u0430\u0437\u043e\u0432 \u0434\u043b\u044f \u0445\u0440\u043e\u043c\u0431\u0443\u043a\u043e\u0432. Raspberry Pi, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f \u0437\u043d\u0430\u044e, \u0434\u043e\u0441\u0442\u0430\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e Widevine \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a, \u0434\u0430\u0436\u0435 \u0443\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u044f \u0432 <code>.deb<\/code>-\u043f\u0430\u043a\u0435\u0442.<\/p>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0435\u0441\u0442\u044c \u0437\u0430\u0433\u0432\u043e\u0437\u0434\u043a\u0430. \u0425\u043e\u0442\u044f \u0432 \u0445\u0440\u043e\u043c\u0431\u0443\u043a\u0430\u0445 \u0435\u0441\u0442\u044c <code>aarch64<\/code>-\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u044b \u0438 <code>aarch64<\/code>-\u044f\u0434\u0440\u0430 Linux, \u0432\u0435\u0441\u044c \u0438\u0445 userspace \u0432\u0441\u0435 \u0435\u0449\u0435 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d \u0434\u043b\u044f 32-\u0431\u0438\u0442\u043d\u043e\u0439 <code>armv7l<\/code>. \u0414\u043b\u044f Raspberry Pi \u044d\u0442\u043e \u043d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u043d\u043e Apple Silicon \u043d\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u0435\u043d \u043f\u0435\u0440\u0435\u0432\u0430\u0440\u0438\u0442\u044c 32-\u0431\u0438\u0442\u043d\u044b\u0439 \u043a\u043e\u0434. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430&#8230;<\/p>\n<p>&#8230;\u043d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430! \u0422\u043e\u0447\u043d\u0435\u0435, <em>\u0443\u0436\u0435<\/em> \u043d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430.<\/p>\n<p>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u043d\u0430\u0437\u0430\u0434, \u043a\u043e\u0433\u0434\u0430 \u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043d\u044f\u043b\u0441\u044f Widevine \u0434\u043b\u044f Asahi, \u0432\u0441\u0435 \u0431\u044b\u043b\u043e \u0442\u0430\u043a. \u041d\u043e \u043f\u0430\u0440\u0443 \u043d\u0435\u0434\u0435\u043b\u044c \u043d\u0430\u0437\u0430\u0434 \u0433\u0434\u0435-\u0442\u043e \u0432 Google \u0442\u0430\u043a\u0438 \u043d\u0430\u0441\u0442\u0443\u043f\u0438\u043b 21 \u0432\u0435\u043a, \u0438 \u043d\u0430 \u043d\u043e\u0432\u044b\u0445 \u0445\u0440\u043e\u043c\u0431\u0443\u043a\u0430\u0445 userspace \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f <code>aarch64<\/code>. \u0417\u043d\u0430\u0447\u0438\u0442, <code>libwidevinecdm.so<\/code> \u0434\u043b\u044f Linux + aarch64 \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c \u0438\u0437 recovery-\u043e\u0431\u0440\u0430\u0437\u043e\u0432 ChromeOS, \u0447\u0442\u043e Pi Foundation <a href=\"https:\/\/forums.raspberrypi.com\/viewtopic.php?t=347736\" rel=\"noopener noreferrer nofollow\">\u0443\u0436\u0435 \u0443\u0441\u043f\u0435\u043b\u0430 \u0441\u0434\u0435\u043b\u0430\u0442\u044c<\/a>.<\/p>\n<p>\u0418\u0442\u0430\u043a, \u0432\u0441\u0435 \u0433\u043e\u0442\u043e\u0432\u043e \u0434\u043b\u044f&#8230;<\/p>\n<h2>Widevine \u0434\u043b\u044f Arch Linux \u043d\u0430 ARM<\/h2>\n<p>\u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0435 \u0432\u0441\u0435 \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e. ChromeOS \u2014 \u044d\u0442\u043e \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c Linux; \u043a\u0440\u043e\u043c\u0435 \u043f\u0440\u043e\u0447\u0435\u0433\u043e, \u0432 \u0435\u0433\u043e <code>glibc<\/code> \u0435\u0441\u0442\u044c \u043d\u0435 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0435 \u0441 Linux \u043f\u0430\u0442\u0447\u0438. \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u0437\u044f\u0442\u044c \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c <code>libwidevinecdm.so<\/code>, \u043f\u043e\u043b\u0443\u0447\u0438\u043c segfault \u0433\u0434\u0435-\u0442\u043e \u0432 \u043d\u0435\u0434\u0440\u0430\u0445 <code>glibc<\/code>.<\/p>\n<p>\u042d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0440\u0435\u0448\u0430\u0435\u0442 \u043f\u0430\u043a\u0435\u0442 <a href=\"https:\/\/aur.archlinux.org\/packages\/glibc-widevine\" rel=\"noopener noreferrer nofollow\">glibc-widevine<\/a>. \u041e\u043d \u043f\u0430\u0442\u0447\u0438\u0442 <code>glibc<\/code> \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u0441 Widevine. \u041f\u043e\u0445\u043e\u0436\u0438\u0435 \u043f\u0430\u0442\u0447\u0438 \u0435\u0441\u0442\u044c \u0438 \u0432 <code>glibc<\/code> \u0434\u043b\u044f Raspbian, \u0440\u0430\u0437\u0432\u0435 \u0447\u0442\u043e \u0442\u0430\u043c \u043e\u043d\u0438 \u0438\u0434\u0443\u0442 \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438.<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0440\u0430\u0442\u044c Chromium \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 Widevine \u2014 \u043d\u0430 Linux + aarch64 \u044d\u0442\u043e \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0435 \u043e\u043d \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0442\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c <a href=\"https:\/\/github.com\/archlinuxarm\/PKGBUILDs\/blob\/ad4a45f23163d9453e5f1dc34c6e36cd52ebefbf\/extra\/chromium\/0001-widevine-support-for-arm.patch\" rel=\"noopener noreferrer nofollow\">\u043f\u0430\u0442\u0447<\/a>.<\/p>\n<p>\u0418\u0442\u043e\u0433\u043e:<\/p>\n<ul>\n<li>\n<p>Google \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u0442 \u043e\u0431\u0440\u0430\u0437 ChromeOS \u0434\u043b\u044f aarch64 (\u0432\u043a\u043b\u044e\u0447\u0430\u044f userspace);<\/p>\n<\/li>\n<li>\n<p>Pi Foundation, \u0438\u043b\u0438 \u043a\u0442\u043e-\u0442\u043e \u0435\u0449\u0435, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u044e\u0442 \u043e\u0442\u0442\u0443\u0434\u0430 \u0431\u043b\u043e\u0431 \u0441 Widevine;<\/p>\n<\/li>\n<li>\n<p>\u0431\u043b\u043e\u0431 \u0443\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u044e\u0442 \u0432 <code>.deb<\/code>-\u043f\u0430\u043a\u0435\u0442 \u0434\u043b\u044f Raspbian;<\/p>\n<\/li>\n<li>\n<p>\u043d\u0430 <code>glibc<\/code> \u043d\u0430\u043a\u0430\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u0442\u0447\u0438 \u0434\u043b\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438<\/p>\n<\/li>\n<li>\n<p>\u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u0430\u0442\u0447\u0435\u043d\u043d\u044b\u0439 Chromium \u0434\u043b\u044f ARM \u0441\u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c Widevine<\/p>\n<\/li>\n<li>\n<p>???<\/p>\n<\/li>\n<\/ul>\n<h2>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430<\/h2>\n<p>Asahi Linux \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 <a href=\"https:\/\/asahilinux.org\/2022\/03\/asahi-linux-alpha-release\/#known-broken-applications\" rel=\"noopener noreferrer nofollow\">\u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u043e 16K<\/a>. \u0411\u043b\u043e\u0431 Widevine \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e 4K. \u041f\u0435\u0440\u0435\u0441\u043e\u0431\u0440\u0430\u0442\u044c \u044f\u0434\u0440\u043e \u043f\u043e\u0434 \u0434\u0440\u0443\u0433\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u0441\u0442\u0440\u0430\u043d\u0438\u0446, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043c\u043e\u0436\u043d\u043e, \u043d\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u044b \u043a\u043e\u0441\u0442\u044b\u043b\u0438 \u0438 \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0410 \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u043f\u0440\u0438\u0435\u0442\u0430\u0440\u043d\u044b\u0439 \u0431\u043b\u043e\u0431 \u043d\u0435\u043b\u044c\u0437\u044f.<\/p>\n<figure class=\"\">\n<div><figcaption>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u043b \u0432\u043d\u0443\u0442\u0440\u044c \u0431\u043b\u043e\u0431\u0430 Widevine. \u0424\u043e\u0442\u043e \u0432 \u0446\u0432\u0435\u0442\u0435.<\/figcaption><\/div>\n<\/figure>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u0432 \u0447\u0435\u043c \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0442\u043e, \u043a\u0430\u043a <code>libwidevinecdm.so<\/code> \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u0432 \u043f\u0430\u043c\u044f\u0442\u044c. \u041a\u0430\u043a \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 <code>.so<\/code>-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u0432\u043d\u0443\u0442\u0440\u0438 \u044d\u0442\u043e ELF \u2014 Executable and Linkable Format \u2014 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u043e\u043c \u2014 \u044f\u0434\u0440\u043e\u043c \u0438\u043b\u0438 <code>ld.so<\/code> \u2014 \u0438 \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u0442 \u0435\u043c\u0443, \u043a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043a\u043e\u0434 \u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u0438\u0445 \u043a \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044e.<\/p>\n<p>\u0412\u043d\u0443\u0442\u0440\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 ELF \u0435\u0441\u0442\u044c Program Header Table \u2014 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432, \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0438\u0445 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u0414\u043b\u044f \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432 \u0441 \u0442\u0438\u043f\u043e\u043c <code>LOAD<\/code> \u0442\u0430\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u043e, \u043a\u0430\u043a \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u0435\u0433\u043c\u0435\u043d\u0442 \u0432 \u043f\u0430\u043c\u044f\u0442\u044c, \u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u043b\u0438 \u044d\u0442\u0443 \u043f\u0430\u043c\u044f\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u044c\/\u043f\u0438\u0441\u0430\u0442\u044c\/\u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0442\u044c.<\/p>\n<p>\u0421 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435\u043c \u044d\u0442\u0438\u0445 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432 \u0438 \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430. \u041e\u043d\u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e\u0442\u0441\u044f \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u0432\u044b\u0437\u043e\u0432\u0430\u043c\u0438 <code>mmap()<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 <a href=\"https:\/\/man7.org\/linux\/man-pages\/man2\/mmap.2.html\" rel=\"noopener noreferrer nofollow\">\u0442\u0440\u0435\u0431\u0443\u0435\u0442<\/a>:<\/p>\n<ul>\n<li>\n<p>\u0447\u0442\u043e\u0431\u044b \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u0430 \u043e\u0442 \u043d\u0430\u0447\u0430\u043b\u0430 \u0444\u0430\u0439\u043b\u0430 \u0431\u044b\u043b\u043e \u043a\u0440\u0430\u0442\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u0430\u043c\u044f\u0442\u0438;<\/p>\n<\/li>\n<li>\n<p>\u0447\u0442\u043e\u0431\u044b \u0430\u0434\u0440\u0435\u0441 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u043a\u0443\u0434\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u0441\u0435\u0433\u043c\u0435\u043d\u0442, \u0431\u044b\u043b \u0432\u044b\u0440\u043e\u0432\u043d\u0435\u043d \u043f\u043e \u0433\u0440\u0430\u043d\u0438\u0446\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b.<\/p>\n<\/li>\n<\/ul>\n<p>\u0417\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a <a href=\"https:\/\/github.com\/bminor\/glibc\/blob\/10f980d31e3d65c4c5bfafd176e7e1db92e2babe\/elf\/dl-load.c#L1134-L1143\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442<\/a> \u044d\u0442\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f:<\/p>\n<pre><code class=\"cpp\">case PT_LOAD:     \/* A load command tells us to map in part of the file.        We record the load commands and process them all later.  *\/     if (__glibc_unlikely (((ph->p_vaddr - ph->p_offset)          &amp; (GLRO(dl_pagesize) - 1)) != 0))       {         errstring     = N_(\"ELF load command address\/offset not page-aligned\");         goto lose;       }<\/code><\/pre>\n<p>\u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u0441\u0442\u0430\u0442\u044c <code>goto loser<\/code>\u043e\u043c, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e <code>(vaddr - offset) % pagesize == 0<\/code>, \u0433\u0434\u0435 <code>vaddr<\/code> \u2014 Virtual (memory) Address \u2014 \u0430\u0434\u0440\u0435\u0441 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u043a\u0443\u0434\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0435\u0433\u043c\u0435\u043d\u0442, \u0430 <code>offset<\/code> \u2014 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u0430\u0439\u043b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438.<\/p>\n<p>\u0412\u043e\u0442 Program Header Table \u0434\u043b\u044f \u043c\u043e\u0435\u0439 \u043a\u043e\u043f\u0438\u0438 <code>libwidevinecdm.so<\/code>:<\/p>\n<pre><code>Type             Offset     VAddr      FileSize   MemSize    Align      Prot PT_PHDR          0x00000040 0x00000040 0x00000230 0x00000230 0x00000008 r--  PT_LOAD          0x00000000 0x00000000 0x00904290 0x00904290 0x00001000 r-x PT_LOAD          0x00904290 0x00905290 0x00007500 0x00007500 0x00001000 rw- PT_LOAD          0x0090b790 0x0090d790 0x00000df0 0x00c36698 0x00001000 rw-  PT_TLS           0x00904290 0x00905290 0x00000018 0x00000018 0x00000008 r-- PT_DYNAMIC       0x00909618 0x0090a618 0x00000220 0x00000220 0x00000008 rw- PT_GNU_RELRO     0x00904290 0x00905290 0x00007500 0x00007d70 0x00000001 r-- PT_GNU_EH_FRAME  0x00524a24 0x00524a24 0x000010fc 0x000010fc 0x00000004 r-- PT_GNU_STACK     0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 rw- PT_NOTE          0x00000270 0x00000270 0x00000024 0x00000024 0x00000004 r--<\/code><\/pre>\n<p>\u042f \u0432\u044b\u0434\u0435\u043b\u0438\u043b \u043f\u0443\u0441\u0442\u044b\u043c\u0438 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 \u0442\u0440\u0438 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u0430 <code>PT_LOAD<\/code>.<\/p>\n<p>\u0415\u0441\u043b\u0438 pagesize == 0x1000 (4 \u041a\u0411), \u0442\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0441\u043e\u0431\u043b\u044e\u0434\u0430\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432. \u041d\u043e \u0441\u0442\u043e\u0438\u0442 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c pagesize \u0434\u043e 0x4000 (16 \u041a\u0411), \u043a\u0430\u043a \u0432 Asahi Linux, \u0438 dnjhjq \u0438 \u0442\u0440\u0435\u0442\u0438\u0439 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u044b <code>PT_LOAD<\/code> \u0441\u0442\u0430\u043d\u0443\u0442 \u0435\u0433\u043e \u043d\u0430\u0440\u0443\u0448\u0430\u0442\u044c. \u0414\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432 \u044d\u0442\u043e \u043d\u0435 \u0442\u0430\u043a \u0432\u0430\u0436\u043d\u043e \u2014 \u043e\u043d\u0438 \u043d\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e\u0442\u0441\u044f \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0447\u0435\u0440\u0435\u0437 <code>mmap()<\/code>.<\/p>\n<h2>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/h2>\n<p>\u041c\u0435\u043d\u044f\u0442\u044c \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0435\u043b\u044c\u0437\u044f \u2014 \u044d\u0442\u043e \u0441\u043b\u043e\u043c\u0430\u0435\u0442 \u0432 \u043a\u043e\u0434\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u0430 \u0432 \u0434\u0440\u0443\u0433\u043e\u0439. \u0411\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u044d\u0442\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 DRM \u2014 \u043e\u043d\u0430 \u0437\u043b\u0438\u0442\u0441\u044f \u043d\u0430 \u043b\u044e\u0431\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0435\u0431\u044f \u0432 \u043f\u0430\u043c\u044f\u0442\u0438. \u0410 \u043d\u0430 \u043a\u043e\u043f\u0430\u043d\u0438\u0435 \u0432 \u043a\u043e\u0434\u0435 \u044d\u0442\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0437\u043b\u0438\u0442\u0441\u044f DMCA.<\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0435\u0449\u0435 \u0440\u0430\u0437 \u043d\u0430 \u043d\u0430\u0448\u0435 \u0437\u043b\u043e\u043f\u043e\u043b\u0443\u0447\u043d\u043e\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 <code>(vaddr - offset) % pagesize == 0<\/code>. \u041c\u0435\u043d\u044f\u0442\u044c <code>vaddr<\/code> \u043c\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u043c \u043f\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c \u0432\u044b\u0448\u0435. \u041d\u043e \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c <code>offset<\/code>, \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u043c \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u044b \u0432 \u0441\u0430\u043c\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438.<\/p>\n<p>\u0414\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e <code>PT_LOAD<\/code> \u043d\u0438\u0447\u0435\u0433\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u043d\u043e \u0432\u043e\u0442 \u0434\u043b\u044f \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c <code>vaddr - offset 0x00905290 - 0x00904290 = 0x1000<\/code>. \u0418\u0441\u043f\u0440\u0430\u0432\u0438\u043c \u044d\u0442\u043e, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 <code>0x1000<\/code> \u0431\u0430\u0439\u0442 \u043f\u0430\u0434\u0434\u0438\u043d\u0433\u0430 \u043c\u0435\u0436\u0434\u0443 \u043f\u0435\u0440\u0432\u044b\u043c \u0438 \u0432\u0442\u043e\u0440\u044b\u043c \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0432 \u0444\u0430\u0439\u043b\u0435, \u043d\u0435 \u0437\u0430\u0431\u044b\u0432 \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c <code>offset<\/code>. \u0422\u0435\u043f\u0435\u0440\u044c <code>vaddr - offset == 0x00904290 - 0x00904290 == 0<\/code>. \u0421 \u0442\u0440\u0435\u0442\u044c\u0438\u043c \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u043c \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e.<\/p>\n<p>\u041f\u0440\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043f\u0430\u0434\u0434\u0438\u043d\u0433\u0430 \u0432 ELF \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u043e\u043b\u044f. \u041d\u043e \u043c\u044b \u043c\u0435\u043d\u044f\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0430\u043c ELF-\u0444\u0430\u0439\u043b \u2014 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0439 \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u043a\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b\u043c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u0443, \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u043c\u0443 \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0441\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c\u0438 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u043e 4K. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043f\u0440\u0438 \u0441\u0430\u043c\u043e\u043f\u0440\u043e\u0432\u0440\u043a\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u0430\u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442 \u0438 \u043d\u0435 \u0440\u0430\u0437\u043e\u0437\u043b\u0438\u0442\u0441\u044f.<\/p>\n<h3>\u0413\u0440\u0430\u043d\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0439<\/h3>\n<p>\u0412 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0441 4K-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c\u0438 \u043a\u0430\u0436\u0434\u044b\u0435 4\u041a\u0411 \u043f\u0430\u043c\u044f\u0442\u0438 \u043c\u043e\u0433\u0443\u0442 \u0438\u043c\u0435\u0442\u044c \u0441\u0432\u043e\u0439 \u043d\u0430\u0431\u043e\u0439 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435\/\u0437\u0430\u043f\u0438\u0441\u044c\/\u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435. \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u043a\u0430 \u0431\u044b\u043b\u0430 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u044d\u0442\u043e\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438. \u041d\u043e \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0441 16K-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c\u0438 \u0433\u0440\u0430\u043d\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0442\u0430\u043a\u0438\u0445 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0439 16\u041a\u0411. \u042d\u0442\u043e \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u0435\u0442 \u0434\u0432\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b.<\/p>\n<p>\u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0435\u043a\u0446\u0438\u0438 <code>.text<\/code> \u2014 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u043a\u043e\u0434 \u2014 \u0438 \u0441\u0435\u043a\u0446\u0438\u0438 <code>.data<\/code> \u2014 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u2014 \u0442\u0435\u043f\u0435\u0440\u044c \u0438\u043c\u0435\u044e\u0442 \u043e\u0431\u0449\u0438\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b. \u041f\u0435\u0440\u0432\u044b\u043c \u043d\u0443\u0436\u0435\u043d \u0434\u043e\u0441\u0442\u0443\u043f \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435, \u0432\u0442\u043e\u0440\u044b\u043c \u2014 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435 \u0438 \u0437\u0430\u043f\u0438\u0441\u044c. \u0414\u0430\u0442\u044c \u0438 \u0442\u043e, \u0438 \u0434\u0440\u0443\u0433\u043e\u0435 \u043c\u043e\u0436\u043d\u043e, \u043d\u043e \u044d\u0442\u043e \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u044b\u0440\u0430 \u0432 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438. \u041f\u043e\u043a\u0430 \u0447\u0442\u043e \u044f \u043d\u0435 \u043d\u0430\u0448\u0435\u043b \u0441\u043f\u043e\u0441\u043e\u0431 \u044d\u0442\u043e\u0433\u043e \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c.<\/p>\n<p>\u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u043f\u043e \u0442\u043e\u0439 \u0436\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c RELRO \u2014 Relocation Read-Only \u2014 \u0435\u0449\u0435 \u043e\u0434\u043d\u0443 \u043c\u0435\u0440\u0443 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u0442\u043c\u0435\u0447\u0430\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0435\u043a\u0446\u0438\u0438 \u043a\u0430\u043a read-only \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438.<\/p>\n<p>\u0421\u0430\u043c\u043e \u043f\u043e \u0441\u0435\u0431\u0435 \u044d\u0442\u043e \u2014 \u043d\u0435 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438, \u043d\u043e \u044d\u0442\u043e \u043e\u0441\u043b\u0430\u0431\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u0449\u0438\u0442\u044b \u043f\u0440\u043e\u0442\u0438\u0432 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445. \u0417\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a, \u0442\u0435\u043e\u0440\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434, \u0430 \u0437\u0430\u0442\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0435\u0433\u043e. \u041d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435, \u0435\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0439\u0442\u0438 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u0432\u0430\u0441 \u043f\u0443\u0433\u0430\u0435\u0442, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f Netflix \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440.<\/p>\n<h3>\u041f\u0430\u0442\u0447\u0438\u043d\u0433 ELF<\/h3>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u044f \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/github.com\/lief-project\/LIEF\" rel=\"noopener noreferrer nofollow\">LIEF<\/a>, \u043d\u043e \u0442\u043e \u043b\u0438 \u0438\u0437-\u0437\u0430 \u0431\u0430\u0433\u043e\u0432, \u0442\u043e \u043b\u0438 \u0438\u0437-\u0437\u0430 \u043a\u0440\u0438\u0432\u043e\u0441\u0442\u0438 \u0440\u0443\u043a \u0443 \u043c\u0435\u043d\u044f \u043d\u0435 \u0432\u044b\u0448\u043b\u043e. \u0412 \u043a\u043e\u043d\u0446\u0435 \u043a\u043e\u043d\u0446\u043e\u0432, \u044f \u0432 \u043a\u043e\u0444\u0435\u0438\u043d\u043e\u0432\u043e\u043c \u0442\u0440\u0430\u043d\u0441\u0435 \u0440\u0430\u0441\u0447\u0435\u0445\u043b\u0438\u043b <code>hexedit<\/code> \u0438 \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u043b \u0432\u0441\u0435 \u0440\u0443\u043a\u0430\u043c\u0438. \u041a \u043c\u043e\u0435\u043c\u0443 \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u044e, \u044d\u0442\u043e \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e!<\/p>\n<p>\u041d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u044f \u043c\u043e\u0433\u0443 \u043b\u0435\u0433\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0442\u044c \u043f\u0430\u0442\u0447\u0435\u043d\u044b\u0439 ELF, \u043d\u043e \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b <a href=\"https:\/\/gist.github.com\/DavidBuchanan314\/c6b97add51b97e4c3ee95dc890f9e3c8\" rel=\"noopener noreferrer nofollow\">\u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 \u043f\u0438\u0442\u043e\u043d\u0435<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u043f\u0430\u0442\u0447\u0438\u0442\u044c \u0435\u0433\u043e \u0441\u0430\u043c\u0438. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442, \u0438 \u0432\u043e\u0442 \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c <code>libwedevinecdm.so<\/code>, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c Firefox \u043f\u043e\u0434 Asahi Linux!<\/p>\n<h2>\u0424\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0448\u0442\u0440\u0438\u0445\u0438<\/h2>\n<p>\u0418\u0437-\u0437\u0430 \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0441\u0442\u0435\u0439 \u0432 <code>glibc<\/code><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-346542","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/346542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=346542"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/346542\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=346542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=346542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=346542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}