No description
Find a file
Linus Torvalds f5028606c2 unifdef: use memcpy instead of strncpy
commit 38c7b224ce upstream.

New versions of gcc reasonably warn about the odd pattern of

	strncpy(p, q, strlen(q));

which really doesn't make sense: the strncpy() ends up being just a slow
and odd way to write memcpy() in this case.

There was a comment about _why_ the code used strncpy - to avoid the
terminating NUL byte, but memcpy does the same and avoids the warning.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-08 13:03:35 +01:00
arch ARM: dts: rockchip: Remove @0 from the veyron memory node 2018-12-05 19:41:25 +01:00
block SCSI: fix queue cleanup race before queue initialization is done 2018-11-21 09:24:09 +01:00
certs Replace magic for trusting the secondary keyring with #define 2018-09-09 19:55:54 +02:00
crypto crypto: simd - correctly take reqsize of wrapped skcipher into account 2018-12-01 09:42:53 +01:00
Documentation x86/speculation: Provide IBPB always command line options 2018-12-05 19:41:22 +01:00
drivers binder: fix race that allows malicious free of live buffer 2018-12-05 19:41:26 +01:00
firmware
fs f2fs: fix missing up_read 2018-12-05 19:41:27 +01:00
include x86/speculation: Add prctl() control for indirect branch speculation 2018-12-05 19:41:22 +01:00
init init: rename and re-order boot_cpu_state_init() 2018-08-15 18:12:48 +02:00
ipc ipc/sem.c: prevent queue.status tearing in semop 2018-09-05 09:26:30 +02:00
kernel ptrace: Remove unused ptrace_may_access_sched() and MODE_IBRS 2018-12-05 19:41:21 +01:00
lib kobject: Replace strncpy with memcpy 2018-12-08 13:03:35 +01:00
mm mm: use swp_offset as key in shmem_replace_page() 2018-12-05 19:41:26 +01:00
net libceph: check authorizer reply/challenge length before reading 2018-12-05 19:41:27 +01:00
samples samples/bpf: Check the error of write() and read() 2018-08-24 13:09:12 +02:00
scripts unifdef: use memcpy instead of strncpy 2018-12-08 13:03:35 +01:00
security ima: re-initialize iint->atomic_flags 2018-12-01 09:43:00 +01:00
sound ALSA: intel_hdmi: Use strlcpy() instead of strncpy() 2018-12-08 13:03:35 +01:00
tools tools/power/cpupower: fix compilation with STATIC=true 2018-12-01 09:42:50 +01:00
usr
virt KVM: arm64: Fix caching of host MDCR_EL2 value 2018-11-13 11:15:08 -08:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore kbuild: rpm-pkg: keep spec file until make mrproper 2018-02-13 10:19:46 +01:00
.mailmap .mailmap: Add Maciej W. Rozycki's Imagination e-mail address 2017-11-10 12:16:15 -08:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: Add Sasha as a stable branch maintainer 2018-12-01 09:42:50 +01:00
Makefile disable stringop truncation warnings for now 2018-12-08 13:03:34 +01:00
README

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.