Public bug reported: == Comment: #0 - Breno Henrique Leitao <bren...@br.ibm.com> - 2017-05-11 15:30:52 == The PR_DUMPABLE flag causes the pid related paths of the proc file system to be owned by ROOT. The implementation of pthread_set/getname_np however needs access to /proc/<pid>/task/<tid>/comm. If PR_DUMPABLE is false this implementation is locked out. This patch installs a special permission function for the file "comm" that grants read and write access to all threads of the same group regardless of the ownership of the inode. For all other threads the function falls back to the generic inode permission check.
Nvidia-docker issue on ppc64le: 1b3044e39a89cb1d4d5313da477e8dfea2b5232d This is fixed by commit 1b3044e39a89cb1d4d5313da477e8dfea2b5232d ** Affects: linux (Ubuntu) Importance: Undecided Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) Status: New ** Tags: architecture-ppc64le bugnameltc-154432 severity-high targetmilestone-inin--- ** Tags added: architecture-ppc64le bugnameltc-154432 severity-high targetmilestone-inin--- ** Changed in: ubuntu Assignee: (unassigned) => Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) ** Package changed: ubuntu => linux (Ubuntu) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1690225 Title: nvidia-docker on ppc64le-ubuntu16.04 issue due to cross-thread naming if !PR_DUMPABLE Status in linux package in Ubuntu: New Bug description: == Comment: #0 - Breno Henrique Leitao <bren...@br.ibm.com> - 2017-05-11 15:30:52 == The PR_DUMPABLE flag causes the pid related paths of the proc file system to be owned by ROOT. The implementation of pthread_set/getname_np however needs access to /proc/<pid>/task/<tid>/comm. If PR_DUMPABLE is false this implementation is locked out. This patch installs a special permission function for the file "comm" that grants read and write access to all threads of the same group regardless of the ownership of the inode. For all other threads the function falls back to the generic inode permission check. Nvidia-docker issue on ppc64le: 1b3044e39a89cb1d4d5313da477e8dfea2b5232d This is fixed by commit 1b3044e39a89cb1d4d5313da477e8dfea2b5232d To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1690225/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp