Nathan Chancellor 3763ace740 ANDROID: arm64: vdso: Fix removing SCS flags
Commit 6545d64a18 ("BACKPORT: arm64: vdso: Substitute gettimeofday()
with C implementation") added an assignment to
CFLAGS_REMOVE_vgettimeofday.o without adjusting the existing one for the
removal of the shadow call stack flags.

Without this patch, the SCS flags do not get filtered:

clang ... -g -fsanitize=shadow-call-stack -Wdeclaration-after-statement
... -c -o arch/arm64/kernel/vdso/.tmp_vgettimeofday.o ...

After this, everything works as it should:

clang ... -g -Wdeclaration-after-statement -Wno-pointer-sign ... -c
-o arch/arm64/kernel/vdso/.tmp_vgettimeofday.o ...

This is an Android specific issue to the backport of the above patch,
this issue will not be present in the mainline version of SCS.

Change-Id: I2ff00e1b407155501ada4c36a961db0b720b80bf
Fixes: 6545d64a18 ("BACKPORT: arm64: vdso: Substitute gettimeofday() with C implementation")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
2020-05-18 18:20:10 +00:00
2020-05-14 08:54:02 +02:00
2020-05-14 08:54:02 +02:00
2020-05-11 09:54:34 +02:00
2020-05-14 08:54:02 +02:00
2020-05-14 08:54:02 +02:00
2020-04-29 17:26:17 +02:00
2020-05-14 08:54:02 +02:00
2020-05-06 09:03:15 +02:00
2020-05-11 09:54:34 +02:00
2020-05-14 08:54:02 +02:00
2020-05-14 07:57:20 +02:00
2020-03-03 07:33:01 +01:00
2020-05-14 08:54:02 +02:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%