compatibility-list.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Namespaces compatibility list
  2. This document contains the information about the problems user
  3. may have when creating tasks living in different namespaces.
  4. Here's the summary. This matrix shows the known problems, that
  5. occur when tasks share some namespace (the columns) while living
  6. in different other namespaces (the rows):
  7. UTS IPC VFS PID User Net
  8. UTS X
  9. IPC X 1
  10. VFS X
  11. PID 1 1 X
  12. User 2 2 X
  13. Net X
  14. 1. Both the IPC and the PID namespaces provide IDs to address
  15. object inside the kernel. E.g. semaphore with IPCID or
  16. process group with pid.
  17. In both cases, tasks shouldn't try exposing this ID to some
  18. other task living in a different namespace via a shared filesystem
  19. or IPC shmem/message. The fact is that this ID is only valid
  20. within the namespace it was obtained in and may refer to some
  21. other object in another namespace.
  22. 2. Intentionally, two equal user IDs in different user namespaces
  23. should not be equal from the VFS point of view. In other
  24. words, user 10 in one user namespace shouldn't have the same
  25. access permissions to files, belonging to user 10 in another
  26. namespace.
  27. The same is true for the IPC namespaces being shared - two users
  28. from different user namespaces should not access the same IPC objects
  29. even having equal UIDs.
  30. But currently this is not so.