From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17060 invoked by alias); 26 Aug 2011 18:45:41 -0000 Received: (qmail 17053 invoked by uid 22791); 26 Aug 2011 18:45:40 -0000 X-SWARE-Spam-Status: No, hits=-6.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 26 Aug 2011 18:45:22 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7QIjMgW021971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 26 Aug 2011 14:45:22 -0400 Received: from fche.csb (vpn-10-51.rdu.redhat.com [10.11.10.51]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p7QIjLQn008051; Fri, 26 Aug 2011 14:45:21 -0400 Received: by fche.csb (Postfix, from userid 2569) id 1FFEC58130; Fri, 26 Aug 2011 14:45:21 -0400 (EDT) To: "Turgis, Frederic" Cc: Mark Wielaard , "systemtap@sourceware.org" Subject: Re: Making the transport layer more robust References: <1311065908.9144.27.camel@springer.wildebeest.org> <20110812174324.GA1394@hermans.wildebeest.org> <4E4965B3.6080700@redhat.com> <1313500965.3393.5.camel@springer.wildebeest.org> <13872098A06B02418CF379A158C0F1460162DC0A08@dnce02.ent.ti.com> <13872098A06B02418CF379A158C0F1460162EB4CC7@dnce02.ent.ti.com> From: fche@redhat.com (Frank Ch. Eigler) Date: Fri, 26 Aug 2011 18:45:00 -0000 In-Reply-To: <13872098A06B02418CF379A158C0F1460162EB4CC7@dnce02.ent.ti.com> (Frederic Turgis's message of "Fri, 26 Aug 2011 17:45:05 +0200") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2011-q3/txt/msg00213.txt.bz2 f-turgis wrote: > [...] > To conclude on this, the "exit" we use is through Ctrl-C so is an > announced message if I followed code correctly. So I checked for the > uncorrect unloading real root cause and this is due to Android not > liking exec("/bin/ls", ...) in cleanup_and_exit(). [...] You mean our execl("/bin/sh", "sh", "-c", cmd, NULL); calls in one or two places. We could change that to execlp("sh", "sh", "-c", cmd, NULL); if android's $PATH etc. are workable. - FChE