{
    "content": [
        {
            "type": "text",
            "text": "# PROCESS-KEYRING (info)\n\n## NAME\n\nprocess-keyring - per-process shared keyring\n\n## DESCRIPTION\n\nThe  process  keyring  is  a keyring used to anchor keys on behalf of a\nprocess.  It is created only when a process requests it.   The  process\nkeyring has the name (description) pid.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **COLOPHON**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "PROCESS-KEYRING",
        "section": "",
        "mode": "info",
        "summary": "process-keyring - per-process shared keyring",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "keyctl",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/keyctl/1/json"
            },
            {
                "name": "keyctl",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/keyctl/3/json"
            },
            {
                "name": "keyrings",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/keyrings/7/json"
            },
            {
                "name": "persistent-keyring",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/persistent-keyring/7/json"
            },
            {
                "name": "session-keyring",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/session-keyring/7/json"
            },
            {
                "name": "thread-keyring",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/thread-keyring/7/json"
            },
            {
                "name": "user-keyring",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/user-keyring/7/json"
            },
            {
                "name": "user-session-keyring",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/user-session-keyring/7/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 22,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "COLOPHON",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "process-keyring - per-process shared keyring\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The  process  keyring  is  a keyring used to anchor keys on behalf of a\nprocess.  It is created only when a process requests it.   The  process\nkeyring has the name (description) pid.\n\nA  special  serial  number  value, KEYSPECPROCESSKEYRING, is defined\nthat can be used in lieu of the actual serial  number  of  the  calling\nprocess's process keyring.\n\nFrom  the  keyctl(1) utility, '@p' can be used instead of a numeric key\nID in much the same way, but since keyctl(1) is  a  program  run  after\nforking, this is of no utility.\n\nA  thread  created  using  the  clone(2) CLONETHREAD flag has the same\nprocess keyring as the caller of clone(2).  When a new process is  cre-\nated  using  fork()  it  initially has no process keyring.  A process's\nprocess keyring is cleared on execve(2).  The process  keyring  is  de-\nstroyed when the last thread that refers to it terminates.\n\nIf  a  process doesn't have a process keyring when it is accessed, then\nthe process keyring will be created if the keyring is to  be  modified;\notherwise, the error ENOKEY results.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "keyctl(1), keyctl(3), keyrings(7), persistent-keyring(7),\nsession-keyring(7), thread-keyring(7), user-keyring(7),\nuser-session-keyring(7)\n",
                "subsections": []
            },
            "COLOPHON": {
                "content": "This page is part of release 5.10 of the Linux man-pages project.  A\ndescription of the project, information about reporting bugs, and the\nlatest version of this page, can be found at\nhttps://www.kernel.org/doc/man-pages/.\n\nLinux                             2020-08-13                PROCESS-KEYRING(7)",
                "subsections": []
            }
        }
    }
}