Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp260444img; Thu, 21 Mar 2019 19:41:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtiNEqvXmI0F6vmbAKupV53RglSM+UA/tDcgjpvPDzt+TIxh7NviS15lHksFu1uK+44Jpb X-Received: by 2002:a17:902:7b94:: with SMTP id w20mr7078600pll.156.1553222467612; Thu, 21 Mar 2019 19:41:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553222467; cv=none; d=google.com; s=arc-20160816; b=j2aeFD06Xj0y+gUA3bk3rMHvkk5F3FuwL6h9Fgy/LlQw7xNj6BsV4f5h3hQPf2FlDM w7gPt9akB5/B/F3gEtoMOq9YgpMkqG1iZOVUVP7IHB+wyJz58e4dHOKoCN27w6iyCXOm 31OA4eVbKCGCbGayZc6F7IKI8+Jbgq3OChRIku8IJDmgmUU8onVcBNQPyuXQAUiDF1j3 FQvS8wKSXsjgm6Sb/qLH4BYStgpEgaDCk4Ngdo3r4jAPLu0bVadnnoPVZ+UMO24Ds6Pa JZdIYfVRPqii7OtmAPHudRrBgi/nYbRqvZv8RnEhhtCJquZk+xMF6SXbuOcJezLB72qP 8dcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=pwD2RVsTxKa166T4kF+VoEuutBIKfhZxp4PVbEWn8wM=; b=wbt8q4+OjzuiZtZWHyb/wheIr4g5aTryW9fiK/3JQCi0SlKlKUKwI1IBfuOp08T6KA sMFNW+dQIMGtcBFCfGPF4BWspt2HVvK82VzdckACzfvxsItzzmFfshjNzAyRHxk/dgJD Fx06lVvCXLezPCSjzyyoXe6stLrdm0Ngv1HRrB+ajbL1+ouzsuRA7y/gYoczXMgKJI9A E+ieYXRicuEeGPBXGZaqYxrIdYHpdxv1Wc/b5YAoQ7sBZ606MLk3eWwUPhKgpP3CaJGU QhUcucL3qLweAElIwRvTqHYjGRmgTIrdqM/eR8rw/jhGQilPIWwFo34POkEc1+QLj8dW dk2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RgLIpzE4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p4si6118966plr.366.2019.03.21.19.40.41; Thu, 21 Mar 2019 19:41:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RgLIpzE4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727484AbfCVCjo (ORCPT + 99 others); Thu, 21 Mar 2019 22:39:44 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:33309 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727162AbfCVCjo (ORCPT ); Thu, 21 Mar 2019 22:39:44 -0400 Received: by mail-lf1-f67.google.com with SMTP id v14so408002lfi.0; Thu, 21 Mar 2019 19:39:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pwD2RVsTxKa166T4kF+VoEuutBIKfhZxp4PVbEWn8wM=; b=RgLIpzE4Rzbw90POerCf3ia0RQ/T5FNj317Gk0v3nSnmrgMQo4ZWziTGOcVjCvUY6a FIPsIXOT9b1M9AewoQWQrJff1ttW+IO/kJJDMi6jqz31ge/oYpCgfLQUxq0C1DgXGqkS XPcRNxWSCaMH5kGuhEpWICFYn/NeUVLUIs0cdUZKm6Ta3Tjt0vw4Hmdr+zGvazFI+dnP Fdc93TO+VAx0FRv0LCpDkC1crooT4sPdTAKG9qiX9uE17hg37+YXMbzvWDS/QZ+qw/20 GBX6Ka6bXNnmFkwma9cvhqFLLvKsjq6YbIvrXD48gv+ARb/ZO0FHkFIxSNN4SIz7uNBd Gv0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pwD2RVsTxKa166T4kF+VoEuutBIKfhZxp4PVbEWn8wM=; b=M3XLkZJRsdkQ7s2VyQOyPSQf5aCrkErNPFwI5F+7VGvWB1RvdGC922f7lSg9A+xpC5 JA4hv0zB6ASR3pqWu02GgsOs3bFg9MNbQh6mJMDWHDGSGXI16uxwnau3nD/3FsbOpfEa qbptLqKwIPOEssCnSsHiJ6L/ZXW9EOJ7i3NTzShb3aFhHuQAlH1ewvEhiPjGCoo2hboB ttqDREthEP8xFLtKqIZN5f4SXnTtGpzZddf4SSH/QoM7NC5bJxjIPEjdL1XFH5/F2QCd bj6ceV8iLiVmkhie7HT1MmvZQIHGDQkAjk1KRJO+Qhsvhi3e5jd/FfTmJvDHAC6qLkxH 3lKw== X-Gm-Message-State: APjAAAUwzQUm1EGKEi3q3z0/MwSJI24GgSBnGZf1dTFz7XGtXGRuEmzY wuZtmSAHc+9nl/V1iwbAKUbPw93qDBHM5p5DnslKsQ== X-Received: by 2002:a19:40c8:: with SMTP id n191mr3730734lfa.22.1553222381597; Thu, 21 Mar 2019 19:39:41 -0700 (PDT) MIME-Version: 1.0 References: <20190315200414.32346-1-ivecera@redhat.com> In-Reply-To: <20190315200414.32346-1-ivecera@redhat.com> From: Alexei Starovoitov Date: Thu, 21 Mar 2019 19:39:30 -0700 Message-ID: Subject: Re: [PATCH net-next] selftests: bpf: modify urandom_read and link it non-statically To: Ivan Vecera Cc: Network Development , Shuah Khan , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , "open list:KERNEL SELFTEST FRAMEWORK" , "open list:BPF (Safe dynamic programs and tools)" , open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 15, 2019 at 1:04 PM Ivan Vecera wrote: > > After some experiences I found that urandom_read does not need to be > linked statically. When the 'read' syscall call is moved to separate > non-inlined function then bpf_get_stackid() is able to find > the executable in stack trace and extract its build_id from it. > > Signed-off-by: Ivan Vecera Applied. Thanks