Ubuntu-focal-kernel/init
John Sperbeck 3324861d8f init: open /initrd.image with O_LARGEFILE
BugLink: https://bugs.launchpad.net/bugs/2067857

[ Upstream commit 4624b346cf67400ef46a31771011fb798dd2f999 ]

If initrd data is larger than 2Gb, we'll eventually fail to write to the
/initrd.image file when we hit that limit, unless O_LARGEFILE is set.

Link: https://lkml.kernel.org/r/20240317221522.896040-1-jsperbeck@google.com
Signed-off-by: John Sperbeck <jsperbeck@google.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Portia Stephens <portia.stephens@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2024-06-07 15:01:40 +02:00
..
Kconfig init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash 2023-02-01 15:21:26 +01:00
Makefile
calibrate.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
do_mounts.c rootfs: Fix support for rootfstype= when root= is given 2024-02-29 15:23:39 +01:00
do_mounts.h
do_mounts_initrd.c Merge branch 'mount.part1' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2019-01-05 13:25:58 -08:00
do_mounts_md.c init/: remove ineffective sparse disabling 2018-08-22 10:52:49 -07:00
do_mounts_rd.c init/: remove ineffective sparse disabling 2018-08-22 10:52:49 -07:00
init_task.c fgraph: Initialize tracing_graph_pause at task creation 2021-03-24 11:11:41 +01:00
initramfs.c init: open /initrd.image with O_LARGEFILE 2024-06-07 15:01:40 +02:00
main.c init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init() 2023-08-09 12:25:43 +02:00
noinitramfs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00
version.c UBUNTU: SAUCE: (no-up) version: Implement version_signature proc file. 2019-11-25 14:56:22 +01:00