<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>totofuga</author_name>
  <author_url>https://blog.hatena.ne.jp/totofuga/</author_url>
  <blog_title>totofugaのブログ</blog_title>
  <blog_url>https://totofuga.hateblo.jp/</blog_url>
  <categories>
    <anon>カーネル</anon>
    <anon>c言語</anon>
    <anon>linux</anon>
  </categories>
  <description>カーネルのpid管理と取得周りを調べてみた PID名前空間 Linuxではpid_namespace(詳しくはman 7参照)に対応しているため、 1つのプロセスに対して複数のプロセスIDを複数持てるようになっている。 pid_namespaceは階層構造になっていて、 子のプロセスIDは同一プロセスでもそれぞれの名前空間で別のプロセスidとなる 親で作成されたのプロセスIDは子からは見えないようになっている したがってプロセスIDは作成された階層の深度分プロセスIDを持つようになっている カーネルでの表現 カーネル内部ではPIDはpidとupidという構造で表される enum pid_typ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftotofuga.hateblo.jp%2Fentry%2F2017%2F06%2F24%2F103521&quot; title=&quot;linuxカーネルのpid管理(取得周り) - totofugaのブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/t/totofuga/20170624/20170624091642.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-06-24 10:35:21</published>
  <title>linuxカーネルのpid管理(取得周り)</title>
  <type>rich</type>
  <url>https://totofuga.hateblo.jp/entry/2017/06/24/103521</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
