linux-IllusionX/fs
Linus Torvalds b4a04f92a4 v6.6-fs.proc.uapi
-----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQRAhzRXHqcMeLMyaSiRxhvAZXjcogUCZOXT2QAKCRCRxhvAZXjc
 olkFAQCT4nRkRTpBvbiv4DgvCIy+URqLNfHGxCxdAX1B09o3UwEAyepf1tz7aFpB
 wB67V265JFDMWtvQkSx4ORNpAjZ9Kg0=
 =Opqi
 -----END PGP SIGNATURE-----

Merge tag 'v6.6-fs.proc.uapi' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull procfs fixes from Christian Brauner:
 "Mode changes to files under /proc/<pid>/ aren't supported ever since
  commit 6d76fa58b0 ("Don't allow chmod() on the /proc/<pid>/ files").

  Due to an oversight in commit 1b3044e39a ("procfs: fix pthread
  cross-thread naming if !PR_DUMPABLE") in switching from REG to NOD,
  mode changes on /proc/thread-self/comm were accidently allowed.

  Similar, mode changes for all files beneath /proc/<pid>/net/ are
  blocked but mode changes on /proc/<pid>/net itself were accidently
  allowed.

  Both issues come down to not using the generic proc_setattr() helper
  which blocks all mode changes. This is rectified with this pull
  request.

  This also removes a strange nolibc test that abused /proc/<pid>/net
  for testing mode changes. Using procfs for this test never made a lot
  of sense given procfs has special semantics for almost everything
  anway.

  Both changes are minor user-visible changes. It is however very
  unlikely that mode changes on proc/<pid>/net and
  /proc/thread-self/comm are something that userspace relies on"

* tag 'v6.6-fs.proc.uapi' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  procfs: block chmod on /proc/thread-self/comm
  proc: use generic setattr() for /proc/$PID/net
  selftests/nolibc: drop test chmod_net
2023-08-28 11:43:19 -07:00
..
9p v6.6-vfs.ctime 2023-08-28 09:31:32 -07:00
adfs adfs: convert to ctime accessor functions 2023-07-13 10:28:03 +02:00
affs affs: convert to ctime accessor functions 2023-07-13 10:28:03 +02:00
afs fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
autofs v6.6-vfs.autofs 2023-08-28 11:39:14 -07:00
befs befs: convert to ctime accessor functions 2023-07-13 10:28:04 +02:00
bfs bfs: convert to ctime accessor functions 2023-07-13 10:28:04 +02:00
btrfs v6.6-vfs.ctime 2023-08-28 09:31:32 -07:00
cachefiles cachefiles: use kiocb_{start,end}_write() helpers 2023-08-21 17:27:27 +02:00
ceph v6.6-vfs.ctime 2023-08-28 09:31:32 -07:00
coda v6.6-vfs.ctime 2023-08-28 09:31:32 -07:00
configfs configfs: convert to ctime accessor functions 2023-07-13 10:28:05 +02:00
cramfs v6.6-vfs.super 2023-08-28 11:04:18 -07:00
crypto
debugfs debugfs: convert to ctime accessor functions 2023-07-13 10:28:05 +02:00
devpts v6.6-vfs.misc 2023-08-28 10:17:14 -07:00
dlm
ecryptfs v6.6-vfs.misc 2023-08-28 10:17:14 -07:00
efivarfs efivarfs: convert to ctime accessor functions 2023-07-13 10:28:06 +02:00
efs efs: convert to ctime accessor functions 2023-07-13 10:28:06 +02:00
erofs v6.6-vfs.ctime 2023-08-28 09:31:32 -07:00
exfat v6.6-vfs.super 2023-08-28 11:04:18 -07:00
exportfs vfs: get rid of old '->iterate' directory operation 2023-08-06 15:08:35 +02:00
ext2 fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
ext4 v6.6-vfs.super 2023-08-28 11:04:18 -07:00
f2fs v6.6-vfs.super 2023-08-28 11:04:18 -07:00
fat fs: drop the timespec64 argument from update_time 2023-08-11 09:04:57 +02:00
freevxfs freevxfs: convert to ctime accessor functions 2023-07-24 10:29:59 +02:00
fscache
fuse v6.6-vfs.ctime 2023-08-28 09:31:32 -07:00
gfs2 v6.6-vfs.super 2023-08-28 11:04:18 -07:00
hfs hfs: convert to ctime accessor functions 2023-07-24 10:29:59 +02:00
hfsplus fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
hostfs hostfs: convert to ctime accessor functions 2023-07-24 10:30:00 +02:00
hpfs hpfs: convert to ctime accessor functions 2023-07-24 10:30:00 +02:00
hugetlbfs hugetlbfs: convert to ctime accessor functions 2023-07-24 10:30:00 +02:00
iomap iomap: micro optimize the ki_pos assignment in iomap_file_buffered_write 2023-07-17 08:49:57 -07:00
isofs isofs: convert to ctime accessor functions 2023-07-24 10:30:00 +02:00
jbd2 jbd2: remove __journal_try_to_free_buffer() 2023-07-10 23:09:21 -04:00
jffs2 jffs2: convert to ctime accessor functions 2023-07-24 10:30:01 +02:00
jfs v6.6-vfs.ctime 2023-08-28 09:31:32 -07:00
kernfs v6.6-vfs.tmpfs 2023-08-28 09:55:25 -07:00
lockd NFS client updates for Linux 6.5 2023-07-01 14:38:25 -07:00
minix fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
netfs
nfs v6.6-vfs.misc 2023-08-28 10:17:14 -07:00
nfs_common
nfsd v6.6-vfs.ctime 2023-08-28 09:31:32 -07:00
nilfs2 v6.6-vfs.super 2023-08-28 11:04:18 -07:00
nls fs/nls: make load_nls() take a const parameter 2023-07-25 00:30:02 -05:00
notify dnotify: Pass argument of fcntl_dirnotify as int 2023-07-10 14:36:12 +02:00
ntfs v6.6-vfs.ctime 2023-08-28 09:31:32 -07:00
ntfs3 v6.6-vfs.super 2023-08-28 11:04:18 -07:00
ocfs2 v6.6-vfs.super 2023-08-28 11:04:18 -07:00
omfs omfs: convert to ctime accessor functions 2023-07-24 10:30:02 +02:00
openpromfs openpromfs: convert to ctime accessor functions 2023-07-24 10:30:03 +02:00
orangefs fs: drop the timespec64 argument from update_time 2023-08-11 09:04:57 +02:00
overlayfs v6.6-vfs.misc 2023-08-28 10:17:14 -07:00
proc v6.6-fs.proc.uapi 2023-08-28 11:43:19 -07:00
pstore pstore: convert to ctime accessor functions 2023-07-24 10:30:03 +02:00
qnx4 qnx4: convert to ctime accessor functions 2023-07-24 10:30:04 +02:00
qnx6 qnx6: convert to ctime accessor functions 2023-07-24 10:30:04 +02:00
quota quota: Check presence of quota operation structures instead of ->quota_read and ->quota_write callbacks 2023-08-09 09:15:39 +02:00
ramfs ramfs: convert to ctime accessor functions 2023-07-24 10:30:04 +02:00
reiserfs v6.6-vfs.misc 2023-08-28 10:17:14 -07:00
romfs v6.6-vfs.super 2023-08-28 11:04:18 -07:00
smb v6.6-vfs.misc 2023-08-28 10:17:14 -07:00
squashfs squashfs: convert to ctime accessor functions 2023-07-24 10:30:05 +02:00
sysfs
sysv fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
tracefs tracefs: convert to ctime accessor functions 2023-07-24 10:30:05 +02:00
ubifs fs: drop the timespec64 argument from update_time 2023-08-11 09:04:57 +02:00
udf fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
ufs ufs: convert to ctime accessor functions 2023-07-24 10:30:06 +02:00
unicode
vboxsf v6.6-vfs.ctime 2023-08-28 09:31:32 -07:00
verity
xfs v6.6-vfs.super 2023-08-28 11:04:18 -07:00
zonefs v6.6-vfs.ctime 2023-08-28 09:31:32 -07:00
aio.c aio: use kiocb_{start,end}_write() helpers 2023-08-21 17:27:26 +02:00
anon_inodes.c
attr.c v6.6-vfs.misc 2023-08-28 10:17:14 -07:00
bad_inode.c fs: drop the timespec64 argument from update_time 2023-08-11 09:04:57 +02:00
binfmt_elf.c
binfmt_elf_fdpic.c
binfmt_elf_test.c
binfmt_flat.c
binfmt_misc.c fs: convert to ctime accessor functions 2023-07-13 10:28:04 +02:00
binfmt_script.c
buffer.c v6.6-vfs.super 2023-08-28 11:04:18 -07:00
char_dev.c
compat_binfmt_elf.c
coredump.c
d_path.c
dax.c
dcache.c fs/dcache: Replace printk and WARN_ON by WARN 2023-08-19 13:41:11 +02:00
direct-io.c
drop_caches.c
eventfd.c eventfd: prevent underflow for eventfd semaphores 2023-07-11 11:41:34 +02:00
eventpoll.c epoll: simplify ep_alloc() 2023-07-26 14:56:07 +02:00
exec.c \n 2023-06-29 13:31:44 -07:00
fcntl.c fcntl: Cast commands with int args explicitly 2023-07-10 14:36:11 +02:00
fhandle.c
file.c v6.6-vfs.misc 2023-08-28 10:17:14 -07:00
file_table.c fs: use __fput_sync in close(2) 2023-08-08 19:36:51 +02:00
filesystems.c
fs-writeback.c super: make locking naming consistent 2023-08-21 14:36:57 +02:00
fs_context.c v6.6-vfs.misc 2023-08-28 10:17:14 -07:00
fs_parser.c
fs_pin.c
fs_struct.c
fs_types.c
fsopen.c fs: add FSCONFIG_CMD_CREATE_EXCL 2023-08-14 18:48:02 +02:00
init.c
inode.c v6.6-vfs.super 2023-08-28 11:04:18 -07:00
internal.h super: make locking naming consistent 2023-08-21 14:36:57 +02:00
ioctl.c v6.6-vfs.super 2023-08-28 11:04:18 -07:00
Kconfig tmpfs,xattr: enable limited user extended attributes 2023-08-10 12:06:04 +02:00
Kconfig.binfmt
kernel_read_file.c fs: Fix kernel-doc warnings 2023-08-19 12:12:12 +02:00
libfs.c v6.6-vfs.misc 2023-08-28 10:17:14 -07:00
locks.c fs: Pass argument to fcntl_setlease as int 2023-07-10 14:36:11 +02:00
Makefile
mbcache.c
mnt_idmapping.c
mount.h
mpage.c
namei.c fs: Fix kernel-doc warnings 2023-08-19 12:12:12 +02:00
namespace.c
nsfs.c fs: convert to ctime accessor functions 2023-07-13 10:28:04 +02:00
open.c v6.6-vfs.fchmodat2 2023-08-28 11:25:27 -07:00
pipe.c v6.6-vfs.misc 2023-08-28 10:17:14 -07:00
pnode.c
pnode.h
posix_acl.c fs: convert to ctime accessor functions 2023-07-13 10:28:04 +02:00
proc_namespace.c
read_write.c fs: Fix one kernel-doc comment 2023-08-15 08:32:45 +02:00
readdir.c vfs: get rid of old '->iterate' directory operation 2023-08-06 15:08:35 +02:00
remap_range.c
select.c
seq_file.c
signalfd.c
splice.c v6.6-vfs.misc 2023-08-28 10:17:14 -07:00
stack.c fs: convert to ctime accessor functions 2023-07-13 10:28:04 +02:00
stat.c fs: add infrastructure for multigrain timestamps 2023-08-11 09:04:57 +02:00
statfs.c
super.c v6.6-vfs.super 2023-08-28 11:04:18 -07:00
sync.c
sysctls.c
timerfd.c
userfaultfd.c
utimes.c
xattr.c tmpfs,xattr: GFP_KERNEL_ACCOUNT for simple xattrs 2023-08-22 10:57:46 +02:00