Go to file
Tim Schumacher 159b1b9493 selinux: Chain up tool resolving errors in install_policy.sh
[ Upstream commit 6ae0042f4d ]

Subshell evaluations are not exempt from errexit, so if a command is
not available, `which` will fail and exit the script as a whole.
This causes the helpful error messages to not be printed if they are
tacked on using a `$?` comparison.

Resolve the issue by using chains of logical operators, which are not
subject to the effects of errexit.

Fixes: e37c1877ba ("scripts/selinux: modernize mdp")
Signed-off-by: Tim Schumacher <tim.schumacher1@huawei.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-04-10 14:30:55 +02:00
arch x86/platform: Only allow CONFIG_EISA for 32-bit 2025-04-10 14:30:55 +02:00
block
certs
crypto
Documentation
drivers PM: sleep: Adjust check before setting power.must_resume 2025-04-10 14:30:55 +02:00
fs
include PM: sleep: Adjust check before setting power.must_resume 2025-04-10 14:30:55 +02:00
init
io_uring
ipc
kernel watch_queue: fix pipe accounting mismatch 2025-04-10 14:30:55 +02:00
lib
LICENSES
mm
net
samples
scripts selinux: Chain up tool resolving errors in install_policy.sh 2025-04-10 14:30:55 +02:00
security
sound
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.