Kees Cook a69ee7eebc FROMLIST: lib: test_stackinit.c: XFAIL switch variable init tests
The tests for initializing a variable defined between a switch
statement's test and its first "case" statement are currently not
initialized in Clang[1] nor the proposed auto-initialization feature in
GCC.

We should retain the test (so that we can evaluate compiler fixes),
but mark it as an "expected fail". The rest of the kernel source will
be adjusted to avoid this corner case.

Also disable -Wswitch-unreachable for the test so that the intentionally
broken code won't trigger warnings for GCC (nor future Clang) when
initialization happens this unhandled place.

[1] https://bugs.llvm.org/show_bug.cgi?id=44916

Suggested-by: Alexander Potapenko <glider@google.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
[adelva: cherry picking to avoid boot test flakes]
Bug: 144999193
Link: https://lore.kernel.org/lkml/202002191358.2897A07C6@keescook/
Change-Id: I0e691f2299ab42526ea306a92551a1188c469136
Signed-off-by: Alistair Delva <adelva@google.com>
2020-03-05 09:58:19 -08:00
2020-03-04 22:00:04 +00:00
2018-09-10 09:21:07 +02:00
2020-02-19 10:09:50 +01:00
2020-03-03 07:38:15 +01:00
2020-03-03 07:38:15 +01:00
2020-03-03 07:38:15 +01:00
2020-03-03 07:38:15 +01:00
2020-03-03 07:38:15 +01:00
2020-03-03 07:38:15 +01:00
2020-03-03 07:38:15 +01:00
2020-03-03 07:38:15 +01:00
2018-02-13 12:53:38 +01:00
2020-03-03 07:38:15 +01:00
2020-03-03 07:38:15 +01:00

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

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

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 1.6 GiB
Languages
C 98%
Assembly 1.3%
Makefile 0.4%