mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] kernel/perf: Fix host path leakage
Date: Mon, 10 Jun 2024 21:41:19 +0200	[thread overview]
Message-ID: <20240610194119.2123362-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20240521171452.96051-2-u.kleine-koenig@pengutronix.de>

Thanks, applied as fc5257435efffd0c1ae15b4fea01458d225e5bca.

Michael

[sent from post-receive hook]

On Mon, 10 Jun 2024 21:41:18 +0200, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> wrote:
> The perf build scripts default to prefix=$HOME, resulting in:
> 
> 	# perf script -l
> 	open(/home/ukl/libexec/perf-core/scripts) failed.
> 	Check "PERF_EXEC_PATH" env to set scripts dir.
> 
> when I run ptxdist with HOME=/home/ukl. So set prefix explicitly.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> Message-Id: <20240521171452.96051-2-u.kleine-koenig@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/kernel.make b/rules/kernel.make
> index 0fe4f1e1b12a..24aa221e1bd0 100644
> --- a/rules/kernel.make
> +++ b/rules/kernel.make
> @@ -207,6 +207,7 @@ KERNEL_TOOL_PERF_OPTS	:= \
>  	-C $(KERNEL_DIR)/tools/perf \
>  	O=$(KERNEL_BUILD_DIR)/tools/perf \
>  	$(KERNEL_BASE_OPT) \
> +	prefix=/usr \
>  	WERROR=0 \
>  	NO_LIBPERL=1 \
>  	NO_LIBPYTHON=1 \



      reply	other threads:[~2024-06-10 19:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-21 17:14 [ptxdist] [PATCH] " Uwe Kleine-König
2024-06-10 19:41 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240610194119.2123362-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=u.kleine-koenig@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox