All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vincenzo Frascino <vincenzo.frascino@arm.com>
To: Joey Gouly <joey.gouly@arm.com>, linux-arm-kernel@lists.infradead.org
Cc: nd@arm.com, catalin.marinas@arm.com, keescook@chromium.org,
	masahiroy@kernel.org, will@kernel.org
Subject: Re: [PATCH v4 4/4] arm64: vdso32: enable orphan handling for VDSO
Date: Tue, 19 Apr 2022 12:01:03 +0100	[thread overview]
Message-ID: <449ab9fa-9fb4-0b9e-7698-95f62209a449@arm.com> (raw)
In-Reply-To: <20220414104611.17748-5-joey.gouly@arm.com>



On 4/14/22 11:46 AM, Joey Gouly wrote:
> Like vmlinux, enable orphan-handling for the compat VDSO32. This can catch
> subtle errors that might arise from unexpected sections being included.
> 
> Signed-off-by: Joey Gouly <joey.gouly@arm.com>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will@kernel.org>
> Cc: Masahiro Yamada <masahiroy@kernel.org>
> Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
> Cc: Kees Cook <keescook@chromium.org>

Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>

> ---
>  arch/arm64/kernel/vdso32/Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/kernel/vdso32/Makefile b/arch/arm64/kernel/vdso32/Makefile
> index ed181bedbffc..1bf0bfb99652 100644
> --- a/arch/arm64/kernel/vdso32/Makefile
> +++ b/arch/arm64/kernel/vdso32/Makefile
> @@ -104,6 +104,7 @@ VDSO_AFLAGS += -D__ASSEMBLY__
>  VDSO_LDFLAGS += -Bsymbolic --no-undefined -soname=linux-vdso.so.1
>  VDSO_LDFLAGS += -z max-page-size=4096 -z common-page-size=4096
>  VDSO_LDFLAGS += -shared --hash-style=sysv --build-id=sha1
> +VDSO_LDFLAGS += --orphan-handling=warn
>  
>  
>  # Borrow vdsomunge.c from the arm vDSO

-- 
Regards,
Vincenzo

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2022-04-19 11:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14 10:46 [PATCH v4 0/4] Enable orphan-handling=warn for VDSO Joey Gouly
2022-04-14 10:46 ` [PATCH v4 1/4] arm64: vdso: put ELF related sections in the linker script Joey Gouly
2022-04-14 10:46 ` [PATCH v4 2/4] arm64: vdso: enable orphan handling for VDSO Joey Gouly
2022-04-14 10:46 ` [PATCH v4 3/4] arm64: vdso32: put ELF related sections in the linker script Joey Gouly
2022-04-14 17:22   ` Kees Cook
2022-04-19 11:00   ` Vincenzo Frascino
2022-04-14 10:46 ` [PATCH v4 4/4] arm64: vdso32: enable orphan handling for VDSO Joey Gouly
2022-04-14 17:22   ` Kees Cook
2022-04-19 11:01   ` Vincenzo Frascino [this message]
2022-04-19 11:10 ` [PATCH v4 0/4] Enable orphan-handling=warn " Vincenzo Frascino
2022-04-19 12:16   ` Joey Gouly
2022-04-19 12:53     ` Vincenzo Frascino
2022-04-27 18:20 ` Catalin Marinas
2022-04-28 16:11   ` Joey Gouly

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=449ab9fa-9fb4-0b9e-7698-95f62209a449@arm.com \
    --to=vincenzo.frascino@arm.com \
    --cc=catalin.marinas@arm.com \
    --cc=joey.gouly@arm.com \
    --cc=keescook@chromium.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=masahiroy@kernel.org \
    --cc=nd@arm.com \
    --cc=will@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.