No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jeff Layton 3132aa35cf nfsd: zero out pointers after putting nfsd_files on COPY setup error
[ Upstream commit 1f0001d43d0c0ac2a19a34a914f6595ad97cbc1d ]

At first, I thought this might be a source of nfsd_file overputs, but
the current callers seem to avoid an extra put when nfsd4_verify_copy
returns an error.

Still, it's "bad form" to leave the pointers filled out when we don't
have a reference to them anymore, and that might lead to bugs later.
Zero them out as a defensive coding measure.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 16:43:58 +01:00
arch m68k: Check syscall_trace_enter() return code 2023-03-11 16:43:55 +01:00
block
certs
crypto
Documentation docs/scripts/gdb: add necessary make scripts_gdb step 2023-03-11 16:43:57 +01:00
drivers dm cache: add cond_resched() to various workqueue loops 2023-03-11 16:43:58 +01:00
fs nfsd: zero out pointers after putting nfsd_files on COPY setup error 2023-03-11 16:43:58 +01:00
include uaccess: Add minimum bounds check on kernel buffer size 2023-03-11 16:43:56 +01:00
init
ipc
kernel timers: Prevent union confusion from unexpected restart_syscall() 2023-03-11 16:43:54 +01:00
lib
LICENSES
mm
net inet: fix fast path in __inet_hash_connect() 2023-03-11 16:43:55 +01:00
samples
scripts
security
sound ASoC: kirkwood: Iterate over array indexes instead of using pointer math 2023-03-11 16:43:57 +01:00
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
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.

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.