user.txt 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Documentation for /proc/sys/user/* kernel version 4.9.0
  2. (c) 2016 Eric Biederman <ebiederm@xmission.com>
  3. ==============================================================
  4. This file contains the documetation for the sysctl files in
  5. /proc/sys/user.
  6. The files in this directory can be used to override the default
  7. limits on the number of namespaces and other objects that have
  8. per user per user namespace limits.
  9. The primary purpose of these limits is to stop programs that
  10. malfunction and attempt to create a ridiculous number of objects,
  11. before the malfunction becomes a system wide problem. It is the
  12. intention that the defaults of these limits are set high enough that
  13. no program in normal operation should run into these limits.
  14. The creation of per user per user namespace objects are charged to
  15. the user in the user namespace who created the object and
  16. verified to be below the per user limit in that user namespace.
  17. The creation of objects is also charged to all of the users
  18. who created user namespaces the creation of the object happens
  19. in (user namespaces can be nested) and verified to be below the per user
  20. limits in the user namespaces of those users.
  21. This recursive counting of created objects ensures that creating a
  22. user namespace does not allow a user to escape their current limits.
  23. Currently, these files are in /proc/sys/user:
  24. - max_cgroup_namespaces
  25. The maximum number of cgroup namespaces that any user in the current
  26. user namespace may create.
  27. - max_ipc_namespaces
  28. The maximum number of ipc namespaces that any user in the current
  29. user namespace may create.
  30. - max_mnt_namespaces
  31. The maximum number of mount namespaces that any user in the current
  32. user namespace may create.
  33. - max_net_namespaces
  34. The maximum number of network namespaces that any user in the
  35. current user namespace may create.
  36. - max_pid_namespaces
  37. The maximum number of pid namespaces that any user in the current
  38. user namespace may create.
  39. - max_user_namespaces
  40. The maximum number of user namespaces that any user in the current
  41. user namespace may create.
  42. - max_uts_namespaces
  43. The maximum number of user namespaces that any user in the current
  44. user namespace may create.