{"id":214557,"date":"2014-03-04T02:25:02","date_gmt":"2014-03-03T22:25:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=214557"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=214557","title":{"rendered":"<span class=\"post_title\">\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u043e\u0434\u043d\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Apple \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043b\u0430 <a href=\"http:\/\/habrahabr.ru\/post\/213525\/\">\u043a\u0440\u0443\u043f\u043d\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443<\/a>, \u0437\u0430\u0431\u044b\u0432 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043b\u0438\u0448\u043d\u044e\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u0441 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u043c \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 goto \u043f\u043e\u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 SSLVerifySignedServerKeyExchange \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u043f\u043e\u0434\u043f\u0438\u0441\u0438 \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 SSL-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435, \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443, \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0438.<\/p>\n<p>  \u041e\u0434\u043d\u0430\u043a\u043e, \u044d\u0442\u043e \u043d\u0435 \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u0432 \u0438\u0441\u0442\u043e\u0440\u0438\u0438, \u043a\u043e\u0433\u0434\u0430 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0435\u0442\u0441\u044f \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u043e\u0439 \u043a\u043e\u0434\u0430. \u0412\u043e\u0442 \u0435\u0449\u0451 <a href=\"http:\/\/www.tedunangst.com\/flak\/post\/a-brief-history-of-one-line-fixes\">\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u0430\u043a\u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432<\/a>.<\/p>\n<h3><font color=\"black\">X Server<\/font><\/h3>\n<p>  \u0422\u0430\u043a, \u0432 2006 \u0433\u043e\u0434\u0443 \u0431\u044b\u043b\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e, \u0447\u0442\u043e X Server \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0440\u0443\u0442\u043e\u0432\u044b\u0435 \u043f\u0440\u0430\u0432\u0430 \u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 <a href=\"http:\/\/www.x.org\/releases\/X11R7.0\/patches\/xorg-server-1.0.1-geteuid.diff\">\u0437\u0430\u0431\u044b\u043b\u0438 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e<\/a>.<\/p>\n<pre><code class=\"diff\">--- hw\/xfree86\/common\/xf86Init.c +++ hw\/xfree86\/common\/xf86Init.c @@ -1677,7 +1677,7 @@    }    if (!strcmp(argv[i], &quot;-configure&quot;))    { -    if (getuid() != 0 && geteuid == 0) { +    if (getuid() != 0 && geteuid() == 0) {         ErrorF(&quot;The '-configure' option can only be used by root.\\n&quot;);         exit(1);      }<\/code><\/pre>\n<p>  <a name=\"habracut\"><\/a>  <\/p>\n<h3><font color=\"black\">Debian OpenSSL<\/font><\/h3>\n<p>  \u0412 2008 \u0433\u043e\u0434\u0443 Debian <a href=\"http:\/\/www.debian.org\/security\/2008\/dsa-1571\">\u043f\u0440\u0438\u0437\u043d\u0430\u043b\u0430<\/a>, \u0447\u0442\u043e \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u043f\u0441\u0435\u0432\u0434\u043e\u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u0432 \u0435\u0451 \u00ab\u0444\u0438\u0440\u043c\u0435\u043d\u043d\u043e\u0439\u00bb \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 OpenSSL \u043e\u0442 2006 \u0433\u043e\u0434\u0430 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u044b\u0435 \u0447\u0438\u0441\u043b\u0430.<\/p>\n<pre><code class=\"diff\">--- openssl-a\/md_rand.c +++ openssl-b\/md_rand.c @@ -271,10 +271,7 @@                 else                         MD_Update(&m,&(state[st_idx]),j);  -\/*              - * Don't add uninitialised data.                 MD_Update(&m,buf,j); -*\/                 MD_Update(&m,(unsigned char *)&(md_c[0]),sizeof(md_c));                 MD_Final(&m,local_md);                 md_c[1]++; <\/code><\/pre>\n<p>  \u041f\u0440\u0438\u0447\u0438\u043d\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432\u0430\u0436\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u0432\u043a\u043b\u044e\u0447\u0438\u043b\u0438 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439. \u0421\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043a\u0430\u043a \u0442\u0430\u043a\u043e\u0439 \u0437\u0430\u043c\u0435\u0442\u043d\u044b\u0439 \u0431\u0430\u0433 \u043f\u043e\u043f\u0430\u043b \u0432 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u043b\u0438\u0437, \u043a\u0430\u043a \u0431\u0443\u0434\u0442\u043e \u043d\u0438\u043a\u0442\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u043a\u043e\u0434. \u041a\u0441\u0442\u0430\u0442\u0438, \u043c\u043d\u043e\u0433\u0438\u0435 \u0442\u043e\u0433\u0434\u0430 \u0437\u0430\u043f\u043e\u0434\u043e\u0437\u0440\u0438\u043b\u0438 Debian \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d\u0430 \u00ab\u043f\u043e\u043b\u043e\u043c\u0430\u043b\u0430\u00bb \u0413\u041f\u0421\u0427 \u043d\u0435 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e. <\/p>\n<h3><font color=\"black\">\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 OpenSSL<\/font><\/h3>\n<p>  <a href=\"https:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=CVE-2008-5077\">\u0415\u0449\u0451 \u043e\u0434\u0438\u043d \u0431\u0430\u0433 \u0432 OpenSSL<\/a>, \u0438 \u043e\u043f\u044f\u0442\u044c \u0438\u0437 2008 \u0433\u043e\u0434\u0430. OpenSSL 0.9.8i \u0438 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 \u00ab\u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044f EVP_VerifyFinal, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u043b\u043e \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u043c \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0430\u043c \u043e\u0431\u0445\u043e\u0434\u0438\u0442\u044c \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u043e\u0434\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u0434\u043f\u0438\u0441\u0435\u0439 SSL\/TLS \u0434\u043b\u044f \u043a\u043b\u044e\u0447\u0435\u0439 DSA \u0438 ECDSA\u00bb.<\/p>\n<pre><code class=\"diff\"> --- lib\/libssl\/src\/ssl\/s3_srvr.c +++ lib\/libssl\/src\/ssl\/s3_srvr.c @@ -2009,7 +2009,7 @@ static int ssl3_get_client_certificate(S  \telse  \t\t{  \t\ti=ssl_verify_cert_chain(s,sk); -\t\tif (!i) +\t\tif (i &lt;= 0)  \t\t\t{  \t\t\tal=ssl_verify_alarm_type(s-&gt;verify_result);  \t\t\tSSLerr(SSL_F_SSL3_GET_CLIENT_CERTIFICATE,SSL_R_NO_CERTIFICATE_RETURNED); <\/code><\/pre>\n<p>  <\/p>\n<h3><font color=\"black\">Android<\/font><\/h3>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043d\u0430 <a href=\"https:\/\/code.google.com\/p\/android-source-browsing\/source\/detail?spec=svn.platform--bootable--bootloader--legacy.734756ca3968b54e32acab867a05b10fc5e13d07&amp;r=734756ca3968b54e32acab867a05b10fc5e13d07&amp;repo=platform--bootable--bootloader--legacy\">\u043f\u0430\u0442\u0447 \u0434\u043b\u044f memset.c<\/a> \u043e\u0442 11 \u043c\u0430\u044f 2010 \u0433\u043e\u0434\u0430.<\/p>\n<pre><code class=\"diff\">--- libc-a\/memset.c +++ libc-b\/memset.c @@ -1,6 +1,6 @@  void *memset(void *_p, unsigned v, unsigned count)  {      unsigned char *p = _p; -    while(count-- &gt; 0) *p++ = 0; +    while(count-- &gt; 0) *p++ = v;      return _p;  }<\/code><\/pre>\n<p>  \u0412\u043c\u0435\u0441\u0442\u043e \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043d\u0443\u043b\u044c. \u0422\u043e \u0435\u0441\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f.<\/p>\n<h3><font color=\"black\">Tarsnap<\/font><\/h3>\n<p>  \u0410\u0432\u0442\u043e\u0440 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b Tarsnap, \u043e\u043d\u043b\u0430\u0439\u043d-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0437\u0430\u0449\u0438\u0449\u0451\u043d\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0445 \u043a\u043e\u043f\u0438\u0439 \u043d\u0430 Amazon S3, \u0432 2011 \u0433\u043e\u0434\u0443 <a href=\"http:\/\/www.daemonology.net\/blog\/2011-01-18-tarsnap-critical-security-bug.html\">\u0441\u043e\u043e\u0431\u0449\u0438\u043b \u043e \u0431\u0430\u0433\u0435<\/a> \u0432 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0435 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 (nonce) \u043f\u0440\u0438 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<pre><code class=\"diff\">--- tarsnap-autoconf-1.0.27\/lib\/crypto\/crypto_file.c +++ tarsnap-autoconf-1.0.28\/lib\/crypto\/crypto_file.c @@ -108,7 +108,7 @@          \/* Encrypt the data. *\/         if ((stream = -           crypto_aesctr_init(&encr_aes-&gt;key, encr_aes-&gt;nonce)) == NULL) +           crypto_aesctr_init(&encr_aes-&gt;key, encr_aes-&gt;nonce++)) == NULL)                 goto err0;         crypto_aesctr_stream(stream, buf, filebuf + CRYPTO_FILE_HLEN, len);         crypto_aesctr_free(stream);<\/code><\/pre>\n<p>  \u0421\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u043a\u043e\u0434 \u0434\u043e\u043b\u0436\u0435\u043d \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u044b\u0439 16 \u0431\u0430\u0439\u0442 \u0448\u0438\u0444\u0440\u0443\u0435\u043c\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u043e \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043e\u043d \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043c\u0435\u043d\u044f\u043b\u0441\u044f.<\/p>\n<p>  \u0422\u0430\u043a \u0447\u0442\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e Apple \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0438.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/214557\/\"> http:\/\/habrahabr.ru\/post\/214557\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Apple \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043b\u0430 <a href=\"http:\/\/habrahabr.ru\/post\/213525\/\">\u043a\u0440\u0443\u043f\u043d\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443<\/a>, \u0437\u0430\u0431\u044b\u0432 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043b\u0438\u0448\u043d\u044e\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u0441 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u043c \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 goto \u043f\u043e\u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 SSLVerifySignedServerKeyExchange \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u043f\u043e\u0434\u043f\u0438\u0441\u0438 \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 SSL-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435, \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443, \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0438.<\/p>\n<p>  \u041e\u0434\u043d\u0430\u043a\u043e, \u044d\u0442\u043e \u043d\u0435 \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u0432 \u0438\u0441\u0442\u043e\u0440\u0438\u0438, \u043a\u043e\u0433\u0434\u0430 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0435\u0442\u0441\u044f \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u043e\u0439 \u043a\u043e\u0434\u0430. \u0412\u043e\u0442 \u0435\u0449\u0451 <a href=\"http:\/\/www.tedunangst.com\/flak\/post\/a-brief-history-of-one-line-fixes\">\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u0430\u043a\u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432<\/a>.<\/p>\n<h3><font color=\"black\">X Server<\/font><\/h3>\n<p>  \u0422\u0430\u043a, \u0432 2006 \u0433\u043e\u0434\u0443 \u0431\u044b\u043b\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e, \u0447\u0442\u043e X Server \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0440\u0443\u0442\u043e\u0432\u044b\u0435 \u043f\u0440\u0430\u0432\u0430 \u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 <a href=\"http:\/\/www.x.org\/releases\/X11R7.0\/patches\/xorg-server-1.0.1-geteuid.diff\">\u0437\u0430\u0431\u044b\u043b\u0438 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e<\/a>.<\/p>\n<pre><code class=\"diff\">--- hw\/xfree86\/common\/xf86Init.c +++ hw\/xfree86\/common\/xf86Init.c @@ -1677,7 +1677,7 @@    }    if (!strcmp(argv[i], &quot;-configure&quot;))    { -    if (getuid() != 0 &#038;& geteuid == 0) { +    if (getuid() != 0 &#038;& geteuid() == 0) {         ErrorF(&quot;The '-configure' option can only be used by root.\\n&quot;);         exit(1);      }<\/code><\/pre>\n<p>  <\/p>\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-214557","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/214557","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=214557"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/214557\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=214557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=214557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=214557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}