Go to file
Wenbo Zhang d9ff4cb0b2 bpf: Fix fds_example SIGSEGV error
commit eef8a42d6c upstream.

The `BPF_LOG_BUF_SIZE`'s value is `UINT32_MAX >> 8`, so define an array
with it on stack caused an overflow.

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200710092035.28919-1-ethercflow@gmail.com
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2020-09-04 10:33:20 -04:00
arch arm64: dts: hisilicon: hikey: fixes to comply with adi, adv7533 DT binding 2020-09-04 10:33:15 -04:00
block block: check queue's limits.discard_granularity in __blkdev_issue_discard() 2020-08-18 18:36:24 -04:00
certs treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36 2019-05-24 17:27:11 +02:00
crypto keys: asymmetric: fix error return code in software_key_query() 2020-08-13 15:30:25 -04:00
Documentation doc: dt: bindings: usb: dwc3: Update entries for disabling SS instances in park mode 2020-08-13 15:30:19 -04:00
drivers drm/amd/powerplay: fix compile error with ARCH=arc 2020-09-04 10:33:19 -04:00
fs fs/btrfs: Add cond_resched() for try_release_extent_mapping() stalls 2020-09-04 10:33:13 -04:00
include mmc: core: Allow host controllers to require R1B for CMD6 2020-09-04 10:33:17 -04:00
init x86: Fix early boot crash on gcc-10, third try 2020-06-08 13:46:51 -04:00
ipc ipc/util.c: sysvipc_find_ipc() incorrectly updates position index 2020-06-04 16:28:45 -04:00
kernel seccomp: Fix ioctl number for SECCOMP_IOCTL_NOTIF_ID_VALID 2020-09-04 10:33:11 -04:00
lib crc-t10dif: Fix potential crypto notify dead-lock 2020-09-04 10:33:06 -04:00
LICENSES LICENSES: Rename other to deprecated 2019-05-03 06:34:32 -06:00
mm mm/mmap.c: Add cond_resched() for exit_mmap() CPU stalls 2020-09-04 10:33:19 -04:00
net Bluetooth: add a mutex lock to avoid UAF in do_enale_set 2020-09-04 10:33:12 -04:00
samples bpf: Fix fds_example SIGSEGV error 2020-09-04 10:33:20 -04:00
scripts recordmcount: only record relocation of type R_AARCH64_CALL26 on arm64. 2020-09-04 10:33:10 -04:00
security ima: move APPRAISE_BOOTPARAM dependency on ARCH_POLICY to runtime 2020-08-27 13:20:22 -04:00
sound ALSA: hda: fix NULL pointer dereference during suspend 2020-08-27 13:20:17 -04:00
tools seccomp: Fix ioctl number for SECCOMP_IOCTL_NOTIF_ID_VALID 2020-09-04 10:33:11 -04:00
usr initramfs: restore default compression behavior 2020-06-01 20:25:34 -04:00
virt KVM: arm64: Don't inherit exec permission across page-table levels 2020-08-21 14:47:54 -04:00
.clang-format Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-04-17 11:26:25 -07:00
.cocciconfig
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes .gitattributes: set git diff driver for C source code files 2016-10-07 18:46:30 -07:00
.gitignore .gitignore: exclude .get_maintainer.ignore and .gitattributes 2019-05-18 11:49:54 +09:00
.mailmap MAINTAINERS: Update my email address 2019-06-18 14:37:27 +01:00
COPYING COPYING: use the new text with points to the license files 2018-03-23 12:41:45 -06:00
CREDITS MAINTAINERS: Farewell Martin Schwidefsky 2019-05-31 10:14:11 +02:00
Kbuild Kbuild updates for v5.1 2019-03-10 17:48:21 -07:00
Kconfig kconfig: move the "Executable file formats" menu to fs/Kconfig.binfmt 2018-08-02 08:06:55 +09:00
MAINTAINERS MAINTAINERS: altera-sysmgr: Fix typo in a filepath 2020-07-07 17:25:50 -04:00
Makefile Linux 5.2.58 2020-08-27 13:20:23 -04:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06: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.

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.