linux/fs
Linus Torvalds bb29b957ea Kbuild / Kconfig updates for 7.4
Kbuild:
 
 - Suppress compiler flags in debug info for external module builds
 
 - Use '-fmacro-prefix-map' in more places in the build
 
 - Merge initial set of changes from Lorenzo's speed up series, along
   with some fixes found through testing
 
   - Avoid allocating .modinfo in vmlinux
 
   - Speed up kallsyms by indexing symbols by token and outputting binary
     data to disk directly then including in assembly via .incbin
 
   - Don't sort $(NM) output when unnecessary
 
   - Only emit relocations on the final vmlinx link
 
   - Reimplement mksysmap in C
 
   - Move many cc-option and ld-option calls into the Kconfig stage to
     cache their results
 
   - Use pigz for gzip compression when available
 
 - Move gen_init_cpio and gen_initramfs.sh from usr/ to scripts/
 
 - Add a TOML configuration to scripts/container and update documentation
   accordingly
 
 - Add a generic, opt-in mechanism for checking that headers can compile
   standalone
 
 - Update machine function splitting argument for LLVM 24 rename in
   AutoFDO build
 
 - Miscellaneous minor clean ups, fixes, and hardening, mostly
   found/fixed via LLMs
 
 Kconfig:
 
 - Turn recursive ranges into an error
 
 - Fix savedefconfig for defaults that were adjusted for being out of
   range and revert a previously applied workaround
 
 - Improvements and hardening around integer and hexadecimal values
 
 - Emit a warning when selecting or implying a choice symbol, which has no
   effect
 
 - Emit a warning when KCONFIG_PROBABILITY is malformed
 
 - Introduce def_string / def_int / def_hex to mirror the existing
   def_bool / def_tristate to succinctly set a value and type at the same
   time.
 
 - Add cc-option-str and ld-option-str macros to act like Kbuild's
   cc-option and ld-option, returning the string when the option is
   supported, allowing many checks to be moved into Kconfig
 
 - Minor usability improvements to Kconfig tests
 
 Signed-off-by: Nathan Chancellor <nathan@kernel.org>
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQR74yXHMTGczQHYypIdayaRccAalgUCatRBoQAKCRAdayaRccAa
 lg+JAQCyjmh+xC2lLSHFGB9qTzqYpVoIT0Z9/6EGx09nYgMr5AEAmzg/+dor5u+6
 vjklzsGs95G01yetVE5ifNNsLvVxTAo=
 =HbPA
 -----END PGP SIGNATURE-----

Merge tag 'kbuild-7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux

Pull Kbuild / Kconfig updates from Nathan Chancellor:
 "Kbuild:

   - Suppress compiler flags in debug info for external module builds

   - Use '-fmacro-prefix-map' in more places in the build

   - Merge initial set of changes from Lorenzo's speed up series, along
     with some fixes found through testing:

     - Avoid allocating .modinfo in vmlinux

     - Speed up kallsyms by indexing symbols by token and outputting
       binary data to disk directly then including in assembly via
       .incbin

     - Don't sort $(NM) output when unnecessary

     - Only emit relocations on the final vmlinx link

     - Reimplement mksysmap in C

     - Move many cc-option and ld-option calls into the Kconfig stage to
       cache their results

     - Use pigz for gzip compression when available

   - Move gen_init_cpio and gen_initramfs.sh from usr/ to scripts/

   - Add a TOML configuration to scripts/container and update
     documentation accordingly

   - Add a generic, opt-in mechanism for checking that headers can
     compile standalone

   - Update machine function splitting argument for LLVM 24 rename in
     AutoFDO build

   - Miscellaneous minor clean ups, fixes, and hardening, mostly
     found/fixed via LLMs

  Kconfig:

   - Turn recursive ranges into an error

   - Fix savedefconfig for defaults that were adjusted for being out of
     range and revert a previously applied workaround

   - Improvements and hardening around integer and hexadecimal values

   - Emit a warning when selecting or implying a choice symbol, which
     has no effect

   - Emit a warning when KCONFIG_PROBABILITY is malformed

   - Introduce def_string / def_int / def_hex to mirror the existing
     def_bool / def_tristate to succinctly set a value and type at the
     same time.

   - Add cc-option-str and ld-option-str macros to act like Kbuild's
     cc-option and ld-option, returning the string when the option is
     supported, allowing many checks to be moved into Kconfig

   - Minor usability improvements to Kconfig tests"

* tag 'kbuild-7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux: (59 commits)
  kbuild: AutoFDO: Update split machine function argument for upstream rename
  kbuild: Mark the initcall ordering recipe as recursive
  kbuild: Mark the gzip recipes as recursive
  localmodconfig: Explicitly report boolean configs during integrity check
  scripts/make_fit: Ignore schema checks when decomposing DTBs
  clang-tools: Import os for broken pipe handling
  kconfig: use the value argument in sym_get_near_range_bound()
  kconfig: fix infinite loop in conf_choice() when no choice value is visible
  kconfig: cleanup stale comment about 'keys' array
  kconfig: Improve ergonomics around disabling warnings with cc-option
  scripts/Kconfig.toolchain: Drop compiler symbols from dependencies
  checkkconfigsymbols.py: Parse Git status output line by line
  gen_init_cpio: stop parsing on lines with a missing argument list
  .gitignore: drop Module.markers
  .gitignore: ignore pacman package signatures
  kbuild: add header check facility as a manually run static analyzer
  Documentation: dev-tools: refer to user ID rather than id
  Documentation: dev-tools: update container.rst with config file
  scripts: add TOML config to container tool
  kconfig: tests: {old,save}defconfig: Forward dynamic keyword arguments
  ...
2026-10-21 10:45:44 -10:00
..
9p vfs-7.4-rc1.netfs 2026-10-19 20:12:19 -10:00
adfs vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
affs affs-for-7.4 2026-10-20 15:56:04 -10:00
afs vfs-7.4-rc1.netfs 2026-10-19 20:12:19 -10:00
autofs vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
befs
btrfs for-7.4-tag 2026-10-20 15:53:24 -10:00
cachefiles lsm/stable-7.4 PR 20261016 2026-10-20 20:04:07 -10:00
ceph vfs-7.4-rc1.netfs 2026-10-19 20:12:19 -10:00
coda fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
configfs configfs: Updates for v7.4 2026-10-20 16:25:43 -10:00
cramfs
crypto fscrypt: Move several items from fscrypt_private.h to .c files 2026-09-25 13:40:12 -07:00
debugfs vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
devpts devpts: reject max=0 instead of silently lifting the limit 2026-09-04 12:57:46 +02:00
dlm dlm: fix typos in comments 2026-10-05 09:26:02 -05:00
ecryptfs fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
efivarfs fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
erofs Kbuild / Kconfig updates for 7.4 2026-10-21 10:45:44 -10:00
exfat vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
exportfs
ext2 \n 2026-10-20 16:30:13 -10:00
ext4 fsverity updates for 7.4 2026-10-20 15:51:20 -10:00
f2fs fsverity updates for 7.4 2026-10-20 15:51:20 -10:00
fat vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
fuse vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
gfs2 gfs2 changes 2026-10-20 16:42:50 -10:00
hfs hfs/hfsplus updates for v7.4 2026-10-20 16:06:21 -10:00
hfsplus hfs/hfsplus updates for v7.4 2026-10-20 16:06:21 -10:00
hostfs fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
hpfs fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
hugetlbfs fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
iomap fs/iomap: document ret parameter of iomap_iter_continue 2026-10-13 16:59:01 +02:00
isofs \n 2026-10-20 16:30:13 -10:00
jbd2 buffer: clear BH_Write_EIO when a write succeeds, not when one starts 2026-09-10 09:27:27 +02:00
jffs2 fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
jfs fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
kernfs vfs-7.4-rc1.kernfs 2026-10-19 18:52:22 -10:00
lockd NFS client updates for Linux 7.3 2026-08-26 15:09:21 -07:00
minix fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
netfs fscache, cachefiles: Fix resize handling 2026-10-16 11:02:26 +02:00
nfs vfs-7.4-rc1.netfs 2026-10-19 20:12:19 -10:00
nfs_common NFS/localio: fix ref leak on nfs_uuid_add_file failure 2026-08-10 09:54:35 -04:00
nfsd vfs-7.4-rc1.misc 2026-10-19 19:30:45 -10:00
nilfs2 nilfs2 updates for v7.4 2026-10-20 15:59:26 -10:00
nls nls: fix the Unicode to charset tables of iso8859-14 2026-09-25 16:04:53 +02:00
notify \n 2026-10-20 16:28:33 -10:00
ntfs vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
ntfs3 vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
ocfs2 \n 2026-10-20 16:30:13 -10:00
omfs vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
openpromfs
orangefs vfs-7.4-rc1.misc 2026-10-19 19:30:45 -10:00
overlayfs vfs-7.4-rc1.lookup 2026-10-19 18:59:41 -10:00
proc Scheduler updates: 2026-10-20 12:35:35 -10:00
pstore
qnx4
qnx6
quota \n 2026-10-20 16:30:13 -10:00
ramfs fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
resctrl fs/resctrl: Ensure default group reports tasks on monitor-only systems 2026-10-09 17:43:05 -07:00
romfs vfs-7.3-rc1.super 2026-08-17 13:57:04 -07:00
smb smb client: fix mis-merge with fileattr_set taking a const idmap 2026-10-20 18:27:33 -10:00
squashfs squashfs: Add dictionary size range check to prevent shift-out-of-bounds 2026-09-16 10:26:47 +02:00
sysfs
tests vfs: use __struct_size() in the fdtable KUnit test 2026-09-11 14:47:49 +02:00
tracefs vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
ubifs fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
udf \n 2026-10-20 16:30:13 -10:00
ufs vfs-7.4-rc1.misc 2026-10-19 19:30:45 -10:00
unicode unicode: free the map after a grace period 2026-10-14 22:08:03 +02:00
vboxsf fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
verity fsverity updates for 7.4 2026-10-20 15:51:20 -10:00
xfs xfs: new code for v7.4 2026-10-20 16:46:38 -10:00
zonefs fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
aio.c fs/aio: fix comment typos 2026-08-31 11:55:48 +02:00
anon_inodes.c fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
attr.c fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
backing-file.c fs: port mnt_idmap() and file_mnt_idmap() to const mnt_idmap 2026-09-23 09:19:51 +02:00
bad_inode.c fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
binfmt_elf_fdpic.c vfs-7.4-rc1.sync_close 2026-10-19 21:03:21 -10:00
binfmt_elf.c vfs-7.4-rc1.sync_close 2026-10-19 21:03:21 -10:00
binfmt_flat.c
binfmt_misc_bpf.c binfmt_misc: fix racy checks in bpf set_interp kfuncs 2026-09-18 11:20:55 +02:00
binfmt_misc.c vfs-7.4-rc1.binfmt 2026-10-19 17:02:56 -10:00
binfmt_script.c
bpf_fs_kfuncs.c vfs-7.4-rc1.misc 2026-10-19 19:30:45 -10:00
buffer.c buffer: Rename label 2026-09-10 09:27:28 +02:00
char_dev.c chardev: check return value of kobject_set_name() in __register_chrdev() 2026-09-04 11:01:47 +02:00
compat_binfmt_elf.c
coredump.c vfs-7.4-rc1.sync_close 2026-10-19 21:03:21 -10:00
d_path.c fs: add failfs 2026-07-27 17:17:59 +02:00
dax.c vfs-7.4-rc1.misc 2026-10-19 19:30:45 -10:00
dcache.c vfs-7.4-rc1.misc 2026-10-19 19:30:45 -10:00
direct-io.c
drop_caches.c
eventfd.c file: make struct fd_prepare const and kill its err field 2026-09-23 09:27:44 +02:00
eventpoll.c file: make struct fd_prepare const and kill its err field 2026-09-23 09:27:44 +02:00
exec.c vfs-7.4-rc1.sync_close 2026-10-19 21:03:21 -10:00
failfs.c fs: port ->getattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
fcntl.c fcntl: refuse F_SET_RW_HINT on an immutable inode 2026-10-04 12:31:38 +02:00
fhandle.c vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
file_attr.c fsverity updates for 7.4 2026-10-20 15:51:20 -10:00
file_table.c namespace: drop the file's reference first in dissolve_on_fput() 2026-09-26 15:47:41 +02:00
file.c vfs-7.4-rc1.sync_close 2026-10-19 21:03:21 -10:00
filesystems.c fs: fix switch/case indentation in sysfs() syscall 2026-08-12 11:36:40 +02:00
fs_context.c namespace: don't reconfigure internal superblocks via remount and umount 2026-10-01 14:20:07 +02:00
fs_dirent.c
fs_parser.c
fs_pin.c fs_pin: publish pins with RCU list helpers 2026-09-04 12:56:04 +02:00
fs_struct.c
fs-writeback.c vfs-7.4-rc1.misc 2026-10-19 19:30:45 -10:00
fserror.c
fsopen.c audit: add FSOPEN record to log filesystem name 2026-10-04 07:33:18 -04:00
init.c
inode.c vfs-7.4-rc1.misc 2026-10-19 19:30:45 -10:00
internal.h vfs-7.4-rc1.sync_close 2026-10-19 21:03:21 -10:00
ioctl.c
Kconfig vfs-7.4-rc1.file 2026-10-19 17:35:50 -10:00
Kconfig.binfmt binfmt_misc: add binfmt_misc_ops bpf struct_ops 2026-08-03 10:08:41 +02:00
kernel_read_file.c
libfs.c fs: port ->setattr() to pass const mnt_idmap 2026-09-23 09:19:51 +02:00
locks.c
Makefile bfs: remove the filesystem 2026-09-04 12:43:07 +02:00
mbcache.c
mnt_idmapping.c fs: make nop_mnt_idmap and invalid_mnt_idmap const 2026-09-23 09:19:52 +02:00
mount.h namespace: rework connected mounts 2026-10-07 00:45:49 +02:00
mpage.c
namei.c lsm/stable-7.4 PR 20261016 2026-10-20 20:04:07 -10:00
namespace.c lsm/stable-7.4 PR 20261016 2026-10-20 20:04:07 -10:00
nsfs.c file: make struct fd_prepare const and kill its err field 2026-09-23 09:27:44 +02:00
nullfs.c vfs-7.4-rc1.idmap 2026-10-19 17:57:49 -10:00
open.c vfs-7.4-rc1.sync_close 2026-10-19 21:03:21 -10:00
pidfs.c vfs-7.4-rc1.shared.net-next.pidfd 2026-10-19 20:32:52 -10:00
pipe.c vfs-7.4-rc1.misc 2026-10-19 19:30:45 -10:00
pnode.c namespace: rework connected mounts 2026-10-07 00:45:49 +02:00
pnode.h
posix_acl.c fs: port ->get_acl() to pass const mnt_idmap 2026-09-23 09:19:50 +02:00
proc_namespace.c
read_write.c fs: fix misleading comments in read_write.c 2026-09-23 09:27:08 +02:00
readdir.c readdir: take no inode lock on an immutable directory 2026-10-04 12:36:13 +02:00
remap_range.c fs: port mnt_idmap() and file_mnt_idmap() to const mnt_idmap 2026-09-23 09:19:51 +02:00
select.c
seq_file.c seq_file: rename mangle_path to seq_mangle_path 2026-07-31 10:09:14 +02:00
signalfd.c
splice.c splice: pass a poll key when waking pipe readers and writers 2026-09-25 16:45:34 +02:00
stack.c
stat.c fsverity updates for 7.4 2026-10-20 15:51:20 -10:00
statfs.c
super.c vfs-7.4-rc1.shared.super 2026-10-19 20:55:04 -10:00
sync.c
sysctls.c
timerfd.c
utimes.c
xattr.c fs: port ->get_acl() to pass const mnt_idmap 2026-09-23 09:19:50 +02:00