From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13312 Path: news.gmane.org!.POSTED!not-for-mail From: Rabbitstack Newsgroups: gmane.linux.lib.musl.general Subject: setrlimit hangs the process Date: Tue, 25 Sep 2018 14:59:45 +0200 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000dd76bf0576b1aed1" X-Trace: blaine.gmane.org 1537880295 16467 195.159.176.226 (25 Sep 2018 12:58:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Sep 2018 12:58:15 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-13328-gllmg-musl=m.gmane.org@lists.openwall.com Tue Sep 25 14:58:11 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 1g4mup-0004CI-Nt for gllmg-musl@m.gmane.org; Tue, 25 Sep 2018 14:58:11 +0200 Original-Received: (qmail 28204 invoked by uid 550); 25 Sep 2018 13:00:11 -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 28093 invoked from network); 25 Sep 2018 13:00:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ghSYg4Ptk+twSZzeMyUvA47H6wvED8kSmU2pXdQzIbs=; b=OGagD0MkZYHn6j+glPiG5uzyzxwAPuD6XYgEl0tKPAmoEL6U17vDsQOWy8k0SbkNtq +gMIP4TU9Kyd5e+HunvkmaNUfQ0NXIUuFqS3CsJy4m1ZJbt5GtBoeBow22QgFnseUNzC rtwfROU74j/S6Q8Bwau+hKGPdzgUgmwaYyIPdU3gFEihk1gJP9UOp3nAFv81GrBu7Zqu WXLIDviKdWFIF9fcOwZS7S19ChJgaYx4lv32VzKNgQ02dGMKY6BsYiO+wpcCjIFcPZZy Ftxe7/SDeweDCCd9pf0x2yFDBlJh+dejw/kana/oj0YeS3r/HxePsE7+47NGq27CmO8D 5t/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ghSYg4Ptk+twSZzeMyUvA47H6wvED8kSmU2pXdQzIbs=; b=Wv73+W7dFnURlldUziqo6Bd0qtpSuCK/gWVs2xAU7WKtd+Rau6qBXnEJWGdcLgHBNz l9P3aR3lhJ58kPOOOz6gafJxSonXnlcg89ph26O0xrX2X57L9neHrIDXCats748Ug78h CoIEnRMUd2ha0d0iSY5dDAeuGvtDKOFnFNcMJjIqbgFXLZTRkci5SqYp56UXSw6kq7wA sNQj1KdcXnxTvYkhiBrbHWEFFCjhu2dA+B28e/8USubbddKzKn1mSaCrQwD5tiLEhWxJ mI71l9ehR7OOqj0YURGHZNyunAWPvCqrWUTQjMbVEzImaKWX6Yesycl+EQC9uwbRB72v UGbA== X-Gm-Message-State: ABuFfoiDdU2EMMMRoJgImDTtedA8nrG4rg+Xn+NjMyAzTulA6TlufE/a TGc/EazAUpFSuB4M3fCSEHytlCtoaph3PCQGDC/U1rY= X-Google-Smtp-Source: ACcGV62kcwRraV7UXo8pmvdmBWdmsc4gy1ROB5Z23Yainx4Ku1OXLrc8J0Iv2Ka0Hvn4rFyHE6Ky4ZZ3J3GNjt1zA6U= X-Received: by 2002:a63:61d0:: with SMTP id v199-v6mr1033567pgb.242.1537880398590; Tue, 25 Sep 2018 05:59:58 -0700 (PDT) Xref: news.gmane.org gmane.linux.lib.musl.general:13312 Archived-At: --000000000000dd76bf0576b1aed1 Content-Type: text/plain; charset="UTF-8" Hi, I'm using the latest golang:alpine Docker image to produce a statically-linked Go binary. Even though I'm able to build the binary, when I run it the process gets stuck during ebpf program loading. I've investigated a bit and found the root cause is the call to setrlimit (this is the offending line https://github.com/iovisor/gobpf/blob/2e314be67b1854ad226f012f08a984e0e89b6da9/elf/elf.go#L105). Are you aware of such behaviour in musl? Thanks in advance Nedim --000000000000dd76bf0576b1aed1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I'm using the latest= golang:alpine Docker image to produce a statically-linked Go binary. Even = though I'm able to build the binary, when I run it the process gets stu= ck during ebpf program loading. I've investigated a bit and found the r= oot cause is the call to setrlimit (this is the offending line
https://github.=
com/iovisor/gobpf/blob/2e314be67b1854ad226f012f08a984e0e89b6da9/elf/elf.go#=
L105). Are you aware of such behaviour in musl?


Tha=
nks in advance

Nedim
--000000000000dd76bf0576b1aed1--