From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DNS_FROM_OPENWHOIS, RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to; bh=Vi+bVXRlMJXtPcipHnylOUwUux/AmfsGgydCrBqMg/A=; b=mbS5Ye8DNDN4ymk3O63C3UpuyVNI0I4j/X84fkoc3Clv2VW2u9NaITajSr5NJ3oHaK lv88L3FVw75YIHPCN6qm8UtrPtazE+z2tYghjvT2KiqW40r9zQggsEDomsCFJHVmEs8n NvbtYPmPk2V0aGgYIy/m+x8D31kr5KGDkoiCw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; b=Vm9FBtzEkQd+JqnplbXEcvpv6X4TxZVF9n4l72GsORStmxgvhYu9F54LLlKrXqpBpo XNgkGFZpqLIKm60b/C/+r4jGHATeHTJhhNWRxrZWcxsGhHFO5ToMWE6jscuyVk6XhG3R antNz74CMKV9eQonpY80/JQuiWPtUnwI+nqwI= Sender: Denis Smirnov Date: Fri, 31 Dec 2010 00:15:43 +0300 From: "=?koi8-r?B?5MXOydMg883J0s7P1w==?=" To: ALT Linux Team development discussions Message-ID: <20101230211543.GA11543@mw.mithraen.ru> References: <20101228112028.GA25703@truecrux.org> <20101229144132.GE10089@osdn.org.ua> <20101229172438.GA13450@mw.mithraen.ru> <201012301124.33064.serpiph@nikiet.ru> <20101230093702.GA3731@altlinux.org> <20101230135753.GN10089@osdn.org.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i0/AhcQY5QxfSsSZ" Content-Disposition: inline In-Reply-To: <20101230135753.GN10089@osdn.org.ua> Subject: Re: [devel] libxml2 bug#24379 X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2010 21:15:59 -0000 Archived-At: List-Archive: List-Post: --i0/AhcQY5QxfSsSZ Content-Type: multipart/mixed; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 30, 2010 at 03:57:53PM +0200, Michael Shigorin wrote: MS> =F0=C1=D4=DE=C9 =C8=CF=D4=D8 =D0=D2=C9=CD=C5=DB=D8? =F0=D2=C9=DB=CC= =CF=D3=D8 =C5=C7=CF =CF=D4=CB=C1=D4=C9=D4=D8 =C9 =DA=C1=C8=CF=CC=C4=C9=D4= =D8, MS> =DE=D4=CF=C2 =D0=CF=CD=CF=DE=D8 cas@ =D3 =C4=C9=D3=D4=D2=C9=C2=D5=D4=C9= =D7=CF=CD -- =D7 =C9=CE=D3=D4=D2=D5=CD=C5=CE=D4=C1=CC=D8=CE=D9=CA MS> =DE=D2=D5=D4 mkimage =CD=CF=CA ~/.hasher/config =CE=C5 =D0=D2=CF=D3=CF= =D7=D9=D7=C1=C5=D4=D3=D1. diff =D3 =C7=D2=D1=DA=CE=D9=CD =C8=C1=CB=CF=CD =D7 =C1=D4=D4=C1=DE=C5. =E7= =D2=D1=DA=CE=D9=CA =C8=C1=CB =D2=C1=C2=CF=D4=C1=C5=D4 =D0=D2=CF=D3=D4=CF = =C9 =D4=D5=D0=CF -- =C5=D3=CC=C9 unshare network =CF=C2=CC=C1=CD=D9=D7=C1=C5=D4=D3=D1 =CD=D9 = =D0=D2=CF=D3=D4=CF =D0=D2=CF=C4=CF=CC=D6=C1=C5=CD =D2=C1=C2=CF=D4=C1=D4=D8 = =C2=C5=DA =DC=D4=CF=CA =CD=C5=C7=C1=C6=C9=DE=C9. =E4=C1, =C2=D9=CC=CF =C2=D9 =CC=D5=DE=DB=C5 =C5=D3=CC=C9 =C2=D9 share_netwo= rk =C2=D9=CC=C1 tristate (yes/no/auto =D3 defaults auto), =CE=CF =C4=CC=D1 =CD=C5=CE=D1 =CC=C9=DE=CE=CF =C2=D9=CC=CF = =D7=C1=D6=CE=C5=C5 =D0=D2=CF=D3=D4=CF =D0=CF=DE=C9=CE=C9=D4=D8 mkimage =CE= =C5 =CF=D4=CC=C1=CD=D9=D7=C1=D1 =C6=C9=DE=D5 =CE=C1=D0=D2=DE=D8. --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E4=C5=CE=C9=D3 http://mithraen.ru/ ---------------------------------------------------------------------------- --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hasher.diff" Content-Transfer-Encoding: quoted-printable diff --git a/hasher-priv/net.c b/hasher-priv/net.c index 2771289..3ef5b6a 100644 --- a/hasher-priv/net.c +++ b/hasher-priv/net.c @@ -5,6 +5,7 @@ #include #include #include +#include =20 #include #include @@ -20,7 +21,10 @@ void unshare_network(void) } req; =20 if (unshare(CLONE_NEWNET) < 0) - error(EXIT_FAILURE, errno, "unshare CLONE_NEWNET"); + { + perror("unshare CLONE_NEWNET"); + return; + } =20 /* Setup loopback interface */ =20 --NzB8fVQJ5HfG6fxh-- --i0/AhcQY5QxfSsSZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEUEARECAAYFAk0c9n4ACgkQPuR8c4jhFKKDewCWLsMal0Hg6tSNTD4kSFYAqT3u 2QCbBVh3N1VFoFP+Y99D+zXjpWCkCgc= =xgm2 -----END PGP SIGNATURE----- --i0/AhcQY5QxfSsSZ--