{"provider_name":"Hatena Blog","blog_title":"\u03c6(\u30fb\u30fb*)\u309e \uff73\uff70\uff9d\u3000\u30ab\u30fc\u30cd\u30eb\u3068\u304b\u5f04\u3063\u305f\u308a\u306e\u30e1\u30e2","description":"Namespace\u5468\u308a\u306e\u30b3\u30fc\u30c9\u3092\u8aad\u3093\u3067\u3044\u305f\u3089inode\u304b\u3089task_struct\u69cb\u9020\u4f53\u3092\u53d6\u5f97\u3092\u3057\u3066\u3044\u308b\u3068\u3053\u308d\u304c\u3042\u3063\u3066\u3001\u3053\u3093\u306a\u3053\u3068\u3067\u304d\u308b\u3093\u3060\u301c\u306a\u3069\u3068\u601d\u3063\u305f\u306e\u3067\u3069\u3093\u306a\u65b9\u6cd5\u3067\u53d6\u5f97\u3059\u308b\u306e\u304b\u898b\u3066\u307f\u307e\u3059\u3002 \u4f7f\u3063\u3066\u305f\u5834\u6240\u306fproc_ns_follow_link()\u3068\u304b\u3067\u3059\u3002 \u2193\u306e\u3088\u3046\u306b\u3002 37 struct task_struct *task; 38 struct path ns_path; 39 void *error = ERR_PTR(-EACCES); 40 41 task = get_proc_task(inode); \u95a2\u6570\u306fget_proc_task()\u3067\u3001fs/proc/internal.h\u306b\u2026","blog_url":"https://kernhack.hatenablog.com/","title":"Linux: inode\u304b\u3089task_struct\u69cb\u9020\u4f53\u3092\u53d6\u5f97","categories":["kernel","linux"],"version":"1.0","author_url":"https://blog.hatena.ne.jp/masami256/","url":"https://kernhack.hatenablog.com/entry/2015/06/13/003928","type":"rich","author_name":"masami256","image_url":"http://ecx.images-amazon.com/images/I/41JZU3SCDWL.jpg","provider_url":"https://hatena.blog","height":"190","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernhack.hatenablog.com%2Fentry%2F2015%2F06%2F13%2F003928\" title=\"Linux: inode\u304b\u3089task_struct\u69cb\u9020\u4f53\u3092\u53d6\u5f97 - \u03c6(\u30fb\u30fb*)\u309e \uff73\uff70\uff9d\u3000\u30ab\u30fc\u30cd\u30eb\u3068\u304b\u5f04\u3063\u305f\u308a\u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2015-06-13 00:39:28"}