Centos-kernel-stream-9/Documentation
Ian Kent 92d69b838d fs: port xattr to mnt_idmap
JIRA: https://issues.redhat.com/browse/RHEL-33888
Status: Linus

Conflicts: The cifs source has been moved in CentOS Stream so manually
	apply rejected hunk to fs/smb/client/xattr.c.
        Dropped hunks for ntfs3 because the source is not present in
        the CentOS Stream source tree.
	CentOS Stream commit 98ba731fc7 ("ovl: Move xattr support
	to new xattrs.c file") moved ovl_own_xattr_set(), manually apply
	changes.
	CentOS Stream commit 67e2fcb2f3 ("evm: don't copy up
	'security.evm' xattr") is present causing hunk #1 against
	include/linux/evm.h to be rejected, manually apply.
	Upstream commit 5d1ef2ce13a90 ("ima: Introduce
	ima_get_current_hash_algo()") is not present in CentOS Stream
	which causes fuzz 1 for hunk #1 against include/linux/ima.h.
	There's a reject of hunk #1 for include/linux/lsm_hooks.h but
	I can't see any reason for it, manually applied the hunk.
	CentOS Stream does not have upstream commit ce5bb5a86e5eb
	("ima: Return int in the functions to measure a buffer") which
	results in a reject of hunk #2 against security/integrity/ima/ima.h
	and hunks #8 and #11 against security/integrity/ima/ima_main.c, so
	manually apply hunks. There also appears to be a whitespace
	mismatch causing hunk #7 to report fuzz 2 on application.
	CentOS Stream does not have upstream commit c7423dbdbc9ec
	("ima: Handle -ESTALE returned by ima_filter_rule_match()")
	which results in a reject of hunk #3 against
	security/integrity/ima/ima_policy.c, so manually apply hunk.

commit 39f60c1ccee72caa0104145b5dbf5d37cce1ea39
Author: Christian Brauner <brauner@kernel.org>
Date:   Fri Jan 13 12:49:23 2023 +0100

    fs: port xattr to mnt_idmap

    Convert to struct mnt_idmap.

    Last cycle we merged the necessary infrastructure in
    256c8aed2b42 ("fs: introduce dedicated idmap type for mounts").
    This is just the conversion to struct mnt_idmap.

    Currently we still pass around the plain namespace that was attached to a
    mount. This is in general pretty convenient but it makes it easy to
    conflate namespaces that are relevant on the filesystem with namespaces
    that are relevent on the mount level. Especially for non-vfs developers
    without detailed knowledge in this area this can be a potential source for
    bugs.

    Once the conversion to struct mnt_idmap is done all helpers down to the
    really low-level helpers will take a struct mnt_idmap argument instead of
    two namespace arguments. This way it becomes impossible to conflate the two
    eliminating the possibility of any bugs. All of the vfs and all filesystems
    only operate on struct mnt_idmap.

    Acked-by: Dave Chinner <dchinner@redhat.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>

Signed-off-by: Ian Kent <ikent@redhat.com>
2024-10-16 10:45:21 +08:00
..
ABI ima: add gid support 2024-10-15 16:12:48 +08:00
PCI Documentation: PCI: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY 2024-08-15 15:31:13 -06:00
RCU
accounting delayacct: track delays from IRQ/SOFTIRQ 2024-07-15 11:12:08 -04:00
admin-guide Merge: CIFS: Sync with upstream v6.9+ for RHEL 9.6 2024-10-02 08:57:43 +00:00
arch Merge: Refresh s390x subsystem to upstream kernel 6.7 2024-09-26 17:55:24 +00:00
arm
arm64 Merge: arm64: module: rework module VA range selection 2024-02-13 10:13:31 -05:00
block fscrypt: improve documentation for inline encryption 2024-03-26 08:40:55 +08:00
bpf bpf: Add bpf_cpumask_weight() kfunc 2024-06-25 10:52:20 +02:00
cdrom
core-api mm: Don't pin ZERO_PAGE in pin_user_pages() 2024-09-05 20:36:12 -04:00
cpu-freq
crypto crypto: octeontx2 - add devlink option to set t106 mode 2024-07-04 15:11:10 +02:00
dev-tools kasan: add support for kasan.fault=panic_on_write 2024-09-05 20:37:01 -04:00
devicetree dt-bindings: remoteproc: ti: Add new compatible for AM62 SoC family 2024-09-30 08:51:43 -07:00
doc-guide docs: automarkup: linkify git revs 2024-04-17 16:42:26 -04:00
driver-api docs: move s390 under arch 2024-09-06 17:33:51 +02:00
fault-injection
fb fbdev/intelfb: Remove driver 2024-05-20 11:00:13 +02:00
features s390: enable ARCH_HAS_MEMBARRIER_SYNC_CORE 2024-09-06 17:33:45 +02:00
filesystems fs: port xattr to mnt_idmap 2024-10-16 10:45:21 +08:00
firmware-guide Merge: update drivers/platform to match Linux v6.7 2024-06-17 19:46:39 +00:00
firmware_class
fpga
gpu fbdev: Make support for userspace interfaces configurable 2024-05-20 11:00:01 +02:00
hid HID: Add introduction about HID for non-kernel programmers 2024-06-17 14:25:50 +02:00
hwmon
i2c
ia64
ide
iio
infiniband
input
isdn
kbuild Makefile.compiler: replace cc-ifversion with compiler-specific macros 2024-03-20 09:42:51 -04:00
kernel-hacking
leds
litmus-tests
livepatch x86,objtool: Split UNWIND_HINT_EMPTY in two 2024-09-18 15:14:40 +02:00
locking locking/mutex: Document that mutex_unlock() is non-atomic 2024-05-22 19:52:16 -04:00
m68k
maintainer
mhi
mips
misc-devices
mm mm: convert migrate_pages() to work on folios 2024-09-05 20:35:25 -04:00
netlabel
netlink netdev: add queue stat for alloc failures 2024-09-06 12:09:02 +00:00
networking Merge: CNB96: xfrm: get global statistics from the offloaded device 2024-10-10 12:01:53 +00:00
nios2
nvdimm
openrisc
parisc
pcmcia
power Revert "Revert "Merge: cgroup: Backport upstream cgroup commits up to v6.8"" 2024-05-18 21:38:20 -04:00
powerpc Documentation: Document PowerPC kernel dynamic DEXCR interface 2024-10-04 01:56:02 -04:00
process tty: synclink_gt: remove MGSL_MAGIC 2024-05-09 11:25:08 -04:00
riscv
rust x86: enable initial Rust support 2024-03-20 09:42:43 -04:00
scheduler Merge: Scheduler: rhel9.5 updates 2024-05-08 20:13:47 +00:00
scsi
security
sh
sound ALSA: doc: Use DEFINE_SIMPLE_DEV_PM_OPS() 2024-07-08 20:54:47 +02:00
sparc
sphinx Merge: livepatch: selected fixes for rhel-9.5 2024-06-05 20:02:22 +00:00
sphinx-static
spi
staging jump_label: make initial NOP patching the special case 2024-03-20 09:43:04 -04:00
target
timers sched/isolation: Prevent boot crash when the boot CPU is nohz_full 2024-07-25 09:48:26 +02:00
tools rtla: Add --trace-buffer-size option 2024-09-09 12:34:29 -03:00
trace attr: use consistent sgid stripping checks 2024-10-15 16:12:34 +08:00
translations mm: kill frontswap 2024-06-28 12:24:06 -04:00
tty serial: 8250: Add proper clock handling for OxSemi PCIe devices 2024-05-09 11:24:43 -04:00
usb Documentation: usb: Document FunctionFS DMABUF API 2024-06-13 13:57:01 -03:00
userspace-api Merge: CVE-2024-23848: media: cec: use-after-free in cec_queue_msg_fh 2024-07-17 17:21:27 +00:00
virt Merge: AMD updates + SEV-SNP backport for 9.5 2024-07-10 17:45:11 +00:00
w1
watchdog
x86 docs: move x86 documentation into Documentation/arch/ [partial] 2024-08-29 08:19:51 -04:00
xtensa
.gitignore
COPYING-logo
Changes
CodingStyle
Kconfig
Makefile doc/netlink: Regenerate netlink .rst files if ynl-gen-rst changes 2024-04-26 17:16:09 +02:00
SubmittingPatches
asm-annotations.rst
atomic_bitops.txt locking/atomic: Make test_and_*_bit() ordered on failure 2024-06-26 17:02:01 +02:00
atomic_t.txt
conf.py
docutils.conf
dontdiff
index.rst docs: create a top-level arch/ directory 2024-09-06 17:33:51 +02:00
logo.gif
memory-barriers.txt
watch_queue.rst