<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masami256</author_name>
  <author_url>https://blog.hatena.ne.jp/masami256/</author_url>
  <blog_title>φ(・・*)ゞ ｳｰﾝ　カーネルとか弄ったりのメモ</blog_title>
  <blog_url>https://kernhack.hatenablog.com/</blog_url>
  <categories>
    <anon>linux</anon>
    <anon>kernel</anon>
  </categories>
  <description>shmctl()はセグメントの削除だけ見ておけば良いかなというところで。 shmctl()はipc()よりsys_shmctl()の呼び出しという形で呼ばれます。 そして、shmctl()の第二引数にあたるcmdの値を使ったswitchがあり、IPC_RMIDとIPC_SETの場合はshmctl_down()が呼ばれます。 963 case IPC_RMID: 964 case IPC_SET: 965 return shmctl_down(ns, shmid, cmd, buf, version); ではshmctl_down()を見ていきます。 最初は変数定義とIPC_SETの場合の処理な…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernhack.hatenablog.com%2Fentry%2F2014%2F10%2F17%2F005129&quot; title=&quot;Linux SystemV IPC: shmctl()でIPC_RMIDの処理 - φ(・・*)ゞ ｳｰﾝ　カーネルとか弄ったりのメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://ecx.images-amazon.com/images/I/51vtnj0LpIL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-10-17 00:51:29</published>
  <title>Linux SystemV IPC: shmctl()でIPC_RMIDの処理</title>
  <type>rich</type>
  <url>https://kernhack.hatenablog.com/entry/2014/10/17/005129</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
