Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace

Pull pid leak fix from Eric Biederman:
"Oleg noticed that put_pid(thread_pid) was not getting called when proc
was not compiled in.

Let's get that fixed before 5.7 is released and causes problems for
anyone"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
proc: Put thread_pid in release_task not proc_flush_pid

+1 -1
-1
fs/proc/base.c
··· 3286 3286 void proc_flush_pid(struct pid *pid) 3287 3287 { 3288 3288 proc_invalidate_siblings_dcache(&pid->inodes, &pid->lock); 3289 - put_pid(pid); 3290 3289 } 3291 3290 3292 3291 static struct dentry *proc_pid_instantiate(struct dentry * dentry,
+1
kernel/exit.c
··· 219 219 220 220 write_unlock_irq(&tasklist_lock); 221 221 proc_flush_pid(thread_pid); 222 + put_pid(thread_pid); 222 223 release_thread(p); 223 224 put_task_struct_rcu_user(p); 224 225