android_kernel_google_msm/fs/proc
Eric W. Biederman e8f9b710c1 proc: Use nd_jump_link in proc_ns_follow_link
Update proc_ns_follow_link to use nd_jump_link instead of just
manually updating nd.path.dentry.

This fixes the BUG_ON(nd->inode != parent->d_inode) reported by Dave
Jones and reproduced trivially with mkdir /proc/self/ns/uts/a.

Sigh it looks like the VFS change to require use of nd_jump_link
happend while proc_ns_follow_link was baking and since the common case
of proc_ns_follow_link continued to work without problems the need for
making this change was overlooked.

Cc: stable@vger.kernel.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Change-Id: I465f73b64069aca5b059bad28bfef098dddc1b99
2018-12-07 22:28:48 +04:00
..
array.c Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
base.c fs: add nd_jump_link 2018-12-07 22:28:48 +04:00
cmdline.c
consoles.c
cpuinfo.c
devices.c
generic.c stop passing nameidata to ->lookup() 2018-12-07 22:26:28 +04:00
inode.c Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
internal.h stop passing nameidata to ->lookup() 2018-12-07 22:26:28 +04:00
interrupts.c
Kconfig
kcore.c
kmsg.c
loadavg.c
Makefile
meminfo.c swap: make each swap partition have one address_space 2018-01-01 22:02:05 +03:00
mmu.c
namespaces.c proc: Use nd_jump_link in proc_ns_follow_link 2018-12-07 22:28:48 +04:00
nommu.c
page.c
proc_devtree.c
proc_net.c stop passing nameidata to ->lookup() 2018-12-07 22:26:28 +04:00
proc_sysctl.c stop passing nameidata to ->lookup() 2018-12-07 22:26:28 +04:00
proc_tty.c
root.c stop passing nameidata to ->lookup() 2018-12-07 22:26:28 +04:00
softirqs.c
stat.c Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
task_mmu.c BACKPORT: mm: /proc/pid/smaps:: show proportional swap share of the mapping 2017-12-27 22:48:40 +03:00
task_nommu.c
uptime.c
version.c
vmcore.c