From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13338 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: setrlimit hangs the process Date: Thu, 4 Oct 2018 11:04:21 -0400 Message-ID: <20181004150421.GC17110@brightrain.aerifal.cx> References: <20180925141551.GE10209@port70.net> <20180925153605.GF10209@port70.net> <20180925163850.GL17995@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1538665352 27208 195.159.176.226 (4 Oct 2018 15:02:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 4 Oct 2018 15:02:32 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) Cc: musl@lists.openwall.com To: Rabbitstack Original-X-From: musl-return-13354-gllmg-musl=m.gmane.org@lists.openwall.com Thu Oct 04 17:02:27 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1g8591-0006wu-6D for gllmg-musl@m.gmane.org; Thu, 04 Oct 2018 17:02:27 +0200 Original-Received: (qmail 32755 invoked by uid 550); 4 Oct 2018 15:04:36 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 32734 invoked from network); 4 Oct 2018 15:04:35 -0000 Content-Disposition: inline In-Reply-To: Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:13338 Archived-At: On Thu, Oct 04, 2018 at 04:54:43PM +0200, Rabbitstack wrote: > Hi, > > Sorry for the delay. I managed to build a minimal example that only uses > gobpf to load ebpf program into the kernel. Surprisingly, it works fine (it > doesn't hang the process). Here I attach the full strace output: The only strace that's going to be helpful is one where it's hanging due to setrlimit, and strace needs to be run with -f or you only see the main thread's activity. Rich