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: <5aaab4c0-accd-4b37-8093-d2664483f985@linux.ibm.com>
Date: Mon, 28 Apr 2025 11:00:52 +0200
From: Jens Remus <jremus@...ux.ibm.com>
To: Steven Rostedt <rostedt@...dmis.org>, linux-kernel@...r.kernel.org,
        linux-trace-kernel@...r.kernel.org
Cc: Masami Hiramatsu <mhiramat@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Josh Poimboeuf <jpoimboe@...nel.org>, x86@...nel.org,
        Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...nel.org>,
        Arnaldo Carvalho de Melo <acme@...nel.org>,
        Indu Bhagat <indu.bhagat@...cle.com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Jiri Olsa <jolsa@...nel.org>, Namhyung Kim <namhyung@...nel.org>,
        Ian Rogers <irogers@...gle.com>,
        Adrian Hunter <adrian.hunter@...el.com>,
        linux-perf-users@...r.kernel.org, Mark Brown <broonie@...nel.org>,
        linux-toolchains@...r.kernel.org, Jordan Rome <jordalgo@...a.com>,
        Sam James <sam@...too.org>,
        Andrii Nakryiko <andrii.nakryiko@...il.com>,
        Florian Weimer <fweimer@...hat.com>, Andy Lutomirski <luto@...nel.org>,
        Weinan Liu <wnliu@...gle.com>, Blake Jones <blakejones@...gle.com>,
        Beau Belgrave <beaub@...ux.microsoft.com>,
        "Jose E. Marchesi"
 <jemarch@....org>,
        Alexander Aring <aahringo@...hat.com>,
        Heiko Carstens <hca@...ux.ibm.com>
Subject: Re: [PATCH v5 06/12] unwind_user/sframe: Add prctl() interface for
 registering .sframe sections

On 24.04.2025 22:15, Steven Rostedt wrote:
> From: Josh Poimboeuf <jpoimboe@...nel.org>
> 
> The kernel doesn't have direct visibility to the ELF contents of shared
> libraries.  Add some prctl() interfaces which allow glibc to tell the
> kernel where to find .sframe sections.
> 
> Signed-off-by: Josh Poimboeuf <jpoimboe@...nel.org>
> Signed-off-by: Steven Rostedt (Google) <rostedt@...dmis.org>

> diff --git a/include/uapi/linux/prctl.h b/include/uapi/linux/prctl.h

> +#define PR_ADD_SFRAME			78
> +#define PR_REMOVE_SFRAME		79

Note that those values have been bumped since Josh's v4.  Therefore
Josh's related Glibc patch needs to be updated and Glibc needs to be
rebuild as well.  Otherwise the Kernel won't be able to find any
.sframe sections for DSOs.

Regards,
Jens
-- 
Jens Remus
Linux on Z Development (D3303)
+49-7031-16-1128 Office
jremus@...ibm.com

IBM

IBM Deutschland Research & Development GmbH; Vorsitzender des Aufsichtsrats: Wolfgang Wendt; Geschäftsführung: David Faller; Sitz der Gesellschaft: Böblingen; Registergericht: Amtsgericht Stuttgart, HRB 243294
IBM Data Privacy Statement: https://www.ibm.com/privacy/


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ