linux-next: manual merge of the fs-next tree with the mm-nonmm-unstable tree
From: Mark Brown
Date: Wed Nov 25 2026 - 09:33:36 EST
Hi all,
Today's linux-next merge of the fs-next tree got a conflict in:
fs/proc/internal.h
between commit:
262ae352515b6 ("proc: don't lock task inodes whose owner has not changed")
from the mm-nonmm-unstable tree and commit:
6819e45d237d1 ("proc: add helpers for files that outlive an execve()")
from the fs-next tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
diff --cc fs/proc/internal.h
index 5782189431d42,6c18496aad93e..0000000000000
--- a/fs/proc/internal.h
+++ b/fs/proc/internal.h
@@@ -8,8 -8,8 +8,9 @@@
#include <linux/proc_fs.h>
#include <linux/proc_ns.h>
#include <linux/refcount.h>
+#include <linux/seqlock.h>
#include <linux/spinlock.h>
+ #include <linux/lockdep.h>
#include <linux/atomic.h>
#include <linux/binfmts.h>
#include <linux/sched/coredump.h>
@@@ -292,8 -330,14 +357,16 @@@ int proc_nochmod_setattr(const struct m
extern void proc_pid_evict_inode(struct proc_inode *);
extern struct inode *proc_pid_make_inode(struct super_block *, struct task_struct *, umode_t);
extern void pid_update_inode(struct task_struct *, struct inode *);
+bool proc_task_owner_valid(struct task_struct *task, struct inode *inode,
+ umode_t dump_mode, umode_t mode);
+ int proc_exec_id_single_open(struct inode *inode, struct file *file,
+ int (*show)(struct seq_file *, void *));
+ int proc_exec_id_single_release(struct inode *inode, struct file *file);
+ int proc_exec_id_dir_open(struct inode *inode, struct file *file);
+ int proc_exec_id_dir_release(struct inode *inode, struct file *file);
+ int proc_exec_id_lock(const struct file *file, struct task_struct *task,
+ u64 *exec_id);
+ void proc_exec_id_unlock(struct task_struct *task);
extern int pid_delete_dentry(const struct dentry *);
extern int proc_pid_readdir(struct file *, struct dir_context *);
struct dentry *proc_pid_lookup(struct dentry *, unsigned int);
Attachment:
signature.asc
Description: PGP signature