{"author_url":"https://blog.hatena.ne.jp/masami256/","categories":["linux","kernel"],"published":"2014-10-17 00:51:29","version":"1.0","provider_url":"https://hatena.blog","type":"rich","blog_url":"https://kernhack.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernhack.hatenablog.com%2Fentry%2F2014%2F10%2F17%2F005129\" title=\"Linux SystemV IPC: shmctl()\u3067IPC_RMID\u306e\u51e6\u7406 - \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>","provider_name":"Hatena Blog","author_name":"masami256","height":"190","image_url":"http://ecx.images-amazon.com/images/I/51vtnj0LpIL.jpg","width":"100%","title":"Linux SystemV IPC: shmctl()\u3067IPC_RMID\u306e\u51e6\u7406","blog_title":"\u03c6(\u30fb\u30fb*)\u309e \uff73\uff70\uff9d\u3000\u30ab\u30fc\u30cd\u30eb\u3068\u304b\u5f04\u3063\u305f\u308a\u306e\u30e1\u30e2","description":"shmctl()\u306f\u30bb\u30b0\u30e1\u30f3\u30c8\u306e\u524a\u9664\u3060\u3051\u898b\u3066\u304a\u3051\u3070\u826f\u3044\u304b\u306a\u3068\u3044\u3046\u3068\u3053\u308d\u3067\u3002 shmctl()\u306fipc()\u3088\u308asys_shmctl()\u306e\u547c\u3073\u51fa\u3057\u3068\u3044\u3046\u5f62\u3067\u547c\u3070\u308c\u307e\u3059\u3002 \u305d\u3057\u3066\u3001shmctl()\u306e\u7b2c\u4e8c\u5f15\u6570\u306b\u3042\u305f\u308bcmd\u306e\u5024\u3092\u4f7f\u3063\u305fswitch\u304c\u3042\u308a\u3001IPC_RMID\u3068IPC_SET\u306e\u5834\u5408\u306fshmctl_down()\u304c\u547c\u3070\u308c\u307e\u3059\u3002 963 case IPC_RMID: 964 case IPC_SET: 965 return shmctl_down(ns, shmid, cmd, buf, version); \u3067\u306fshmctl_down()\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002 \u6700\u521d\u306f\u5909\u6570\u5b9a\u7fa9\u3068IPC_SET\u306e\u5834\u5408\u306e\u51e6\u7406\u306a\u2026","url":"https://kernhack.hatenablog.com/entry/2014/10/17/005129"}