Linuxã§åå空éã«é¢ãã¦è¨å®ã§ããã®ã¯clone(2)ãunshare(2)ãsetns(2)ã§ããã®ãã¡å®è¡ä¸ã®ããã»ã¹ã®åå空éãå¤æ´ã§ããã®ã¯å¾è ã®2åãªãã§ãããã«ã¼ãã«å´ã§ã¯kernel/nsproxy.cã«ããswitch_task_namespaces()ãå®éã®å¦çãè¡ã£ã¦ã¾ãããããªããã§ãã®è¾ºãã®ã³ã¼ããè¦ã¦ã¿ã¾ãã ã¾ããswitch_task_namespaces()ãå¼ãã§ããç®æã§ãã以ä¸ã®4ã¤ãããã¾ãã unshareã·ã¹ãã ã³ã¼ã«ã®å®è¡æ setnsã·ã¹ãã ã³ã¼ã«ã®å®è¡æ exitã·ã¹ãã ã³ã¼ã«å®è¡æ copy_process()ã®ã¨ã©ã¼å¦ç ãã®ãã¡1ã2ã¯å®è¡ä¸ã®ããã»ã¹ã®åå空éãåãæ¿ããããã3ã¯ããã»ã¹ã®çµäºå¦çã®ä¸ç°ã§ä½¿ç¨ãã¦ããåå空éãããã»ã¹ããåç §ã§ããªãããããããæå¾ã¯åå空éãè¨å®ãããã©ããã»ã¹ã®çæã«å¤±æããã®ã§å¾å§æ«ã¨
{{#tags}}- {{label}}
{{/tags}}