A mirror of the official Linux kernel repository just in case
Go to file
Eric W. Biederman 3c67075d5d signal/m68k: Use force_sig_fault where appropriate
Filling in struct siginfo before calling force_sig_info a tedious and
error prone process, where once in a great while the wrong fields
are filled out, and siginfo has been inconsistently cleared.

Simplify this process by using the helper force_sig_fault.  Which
takes as a parameters all of the information it needs, ensures
all of the fiddly bits of filling in struct siginfo are done properly
and then calls force_sig_info.

In short about a 5 line reduction in code for every time force_sig_info
is called, which makes the calling function clearer.

Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@lists.linux-m68k.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2018-04-25 10:41:01 -05:00
arch signal/m68k: Use force_sig_fault where appropriate 2018-04-25 10:41:01 -05:00
block
certs
crypto
Documentation
drivers
firmware
fs signal: Remove ifdefs for BUS_MCEERR_AR and BUS_MCEERR_AO 2018-04-25 10:40:53 -05:00
include signal: Add TRAP_UNK si_code for undiagnosted trap exceptions 2018-04-25 10:40:56 -05:00
init
ipc
kernel signal: Remove ifdefs for BUS_MCEERR_AR and BUS_MCEERR_AO 2018-04-25 10:40:53 -05:00
lib
LICENSES
mm
net
samples
scripts
security
sound
tools
usr
virt signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 4.17-rc1 2018-04-15 18:24:20 -07:00
README

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.