lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240719125927.515526df@rorschach.local.home>
Date: Fri, 19 Jul 2024 12:59:27 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Akanksha J N <akanksha@...ux.ibm.com>
Cc: linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org,
 linux-kselftest@...r.kernel.org, shuah@...nel.org,
 mathieu.desnoyers@...icios.com, mhiramat@...nel.org, naveen@...nel.org
Subject: Re: [PATCH v1] selftests/ftrace: Skip test for optimized probes on
 PowerPC if Secure Boot is enabled

On Tue, 16 Jul 2024 16:56:51 +0530
Akanksha J N <akanksha@...ux.ibm.com> wrote:

> diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_opt_types.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_opt_types.tc
> index 9f5d99328086..87e2f81e46b8 100644
> --- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_opt_types.tc
> +++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_opt_types.tc
> @@ -10,6 +10,11 @@ x86_64)
>  arm*)
>  ;;
>  ppc*)
> +lsprop_output=$(lsprop /proc/device-tree/ibm,secure-boot)
> +if echo "$lsprop_output" | grep -q "00000002"; then
> +	echo "Secure Boot is enabled on PowerPC."
> +	exit_unsupported
> +fi

Nit, but the above should be indented.

-- Steve

>  ;;
>  *)
>    echo "Please implement other architecture here"

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ