{"blog_title":"\u03c6(\u30fb\u30fb*)\u309e \uff73\uff70\uff9d\u3000\u30ab\u30fc\u30cd\u30eb\u3068\u304b\u5f04\u3063\u305f\u308a\u306e\u30e1\u30e2","author_name":"masami256","blog_url":"https://kernhack.hatenablog.com/","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/719640/1514202348571315","title":"When kallsyms doesn't show addresses even though kptr_restrict is 0","width":"100%","type":"rich","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/masami256/","version":"1.0","categories":["kernel","linux"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernhack.hatenablog.com%2Fentry%2F2018%2F10%2F16%2F231945\" title=\"When kallsyms doesn&#39;t show addresses even though kptr_restrict is 0 - \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_url":"https://hatena.blog","url":"https://kernhack.hatenablog.com/entry/2018/10/16/231945","published":"2018-10-16 23:19:45","description":"When I did grep kernel symbol address, addresses were all zero. masami@saga:~$ grep slab_alloc /proc/kallsyms 0000000000000000 t ___slab_alloc 0000000000000000 t __slab_alloc So, I checked kptr_restrict if it's not zero. masami@saga:~$ sudo sysctl kernel.kptr_restrict kernel.kptr_restrict = 0 Um, kp\u2026","height":"190"}