{"action":"created","comment":{"url":"https://api.github.com/repos/opencontainers/specs/pulls/comments/35932113","id":35932113,"diff_hunk":"@@ -148,5 +134,60 @@ rootfsPropagation sets the rootfs's mount propagation. Its value is either slave\n \n ## Security\n \n-**TODO:** security profiles\n+### Linux capabilities\n+\n+Capabilities is an array that specifies Linux capabilities that can be provided to the process\n+inside the container. Valid values are the string after `CAP_` for capabilities defined \n+in [the man page](http://man7.org/linux/man-pages/man7/capabilities.7.html)\n+\n+```json\n+   \"security\": {\n+       \"capabilities\": [\n+            \"AUDIT_WRITE\",\n+            \"KILL\",\n+            \"NET_BIND_SERVICE\"\n+        ]\n+    }\n+```\n+\n+### Selinux process label\n+\n+Selinux process label specifies the label with which the processes in a container are run.","path":"config-linux.md","position":44,"original_position":44,"commit_id":"9cca39e6232dcf66546114651d902ac34261f447","original_commit_id":"9cca39e6232dcf66546114651d902ac34261f447","user":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"body":"I think this would read easier as:\r\n\r\n> The SELinux label under which a container's processes are run.\r\n","created_at":"2015-07-30T23:11:29Z","updated_at":"2015-07-30T23:11:29Z","html_url":"https://github.com/opencontainers/specs/pull/89#discussion_r35932113","pull_request_url":"https://api.github.com/repos/opencontainers/specs/pulls/89","_links":{"self":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/comments/35932113"},"html":{"href":"https://github.com/opencontainers/specs/pull/89#discussion_r35932113"},"pull_request":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/89"}}},"pull_request":{"url":"https://api.github.com/repos/opencontainers/specs/pulls/89","id":41279999,"html_url":"https://github.com/opencontainers/specs/pull/89","diff_url":"https://github.com/opencontainers/specs/pull/89.diff","patch_url":"https://github.com/opencontainers/specs/pull/89.patch","issue_url":"https://api.github.com/repos/opencontainers/specs/issues/89","number":89,"state":"open","locked":false,"title":"Add security section ","user":{"login":"mrunalp","id":53798,"avatar_url":"https://avatars.githubusercontent.com/u/53798?v=3","gravatar_id":"","url":"https://api.github.com/users/mrunalp","html_url":"https://github.com/mrunalp","followers_url":"https://api.github.com/users/mrunalp/followers","following_url":"https://api.github.com/users/mrunalp/following{/other_user}","gists_url":"https://api.github.com/users/mrunalp/gists{/gist_id}","starred_url":"https://api.github.com/users/mrunalp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrunalp/subscriptions","organizations_url":"https://api.github.com/users/mrunalp/orgs","repos_url":"https://api.github.com/users/mrunalp/repos","events_url":"https://api.github.com/users/mrunalp/events{/privacy}","received_events_url":"https://api.github.com/users/mrunalp/received_events","type":"User","site_admin":false},"body":"This is WIP for adding security settings as discussed in the meeting.\r\n\r\nThe settings are based on security profiles in nsinit and Seccomp configuration in #70 ","created_at":"2015-07-30T20:46:33Z","updated_at":"2015-07-30T23:11:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f89bb08f6b475226e1d63a70d2727ff2a48f2b23","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opencontainers/specs/pulls/89/commits","review_comments_url":"https://api.github.com/repos/opencontainers/specs/pulls/89/comments","review_comment_url":"https://api.github.com/repos/opencontainers/specs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencontainers/specs/issues/89/comments","statuses_url":"https://api.github.com/repos/opencontainers/specs/statuses/9cca39e6232dcf66546114651d902ac34261f447","head":{"label":"mrunalp:security","ref":"security","sha":"9cca39e6232dcf66546114651d902ac34261f447","user":{"login":"mrunalp","id":53798,"avatar_url":"https://avatars.githubusercontent.com/u/53798?v=3","gravatar_id":"","url":"https://api.github.com/users/mrunalp","html_url":"https://github.com/mrunalp","followers_url":"https://api.github.com/users/mrunalp/followers","following_url":"https://api.github.com/users/mrunalp/following{/other_user}","gists_url":"https://api.github.com/users/mrunalp/gists{/gist_id}","starred_url":"https://api.github.com/users/mrunalp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrunalp/subscriptions","organizations_url":"https://api.github.com/users/mrunalp/orgs","repos_url":"https://api.github.com/users/mrunalp/repos","events_url":"https://api.github.com/users/mrunalp/events{/privacy}","received_events_url":"https://api.github.com/users/mrunalp/received_events","type":"User","site_admin":false},"repo":{"id":38027472,"name":"specs","full_name":"mrunalp/specs","owner":{"login":"mrunalp","id":53798,"avatar_url":"https://avatars.githubusercontent.com/u/53798?v=3","gravatar_id":"","url":"https://api.github.com/users/mrunalp","html_url":"https://github.com/mrunalp","followers_url":"https://api.github.com/users/mrunalp/followers","following_url":"https://api.github.com/users/mrunalp/following{/other_user}","gists_url":"https://api.github.com/users/mrunalp/gists{/gist_id}","starred_url":"https://api.github.com/users/mrunalp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrunalp/subscriptions","organizations_url":"https://api.github.com/users/mrunalp/orgs","repos_url":"https://api.github.com/users/mrunalp/repos","events_url":"https://api.github.com/users/mrunalp/events{/privacy}","received_events_url":"https://api.github.com/users/mrunalp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrunalp/specs","description":"Open Container Specifications","fork":true,"url":"https://api.github.com/repos/mrunalp/specs","forks_url":"https://api.github.com/repos/mrunalp/specs/forks","keys_url":"https://api.github.com/repos/mrunalp/specs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrunalp/specs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrunalp/specs/teams","hooks_url":"https://api.github.com/repos/mrunalp/specs/hooks","issue_events_url":"https://api.github.com/repos/mrunalp/specs/issues/events{/number}","events_url":"https://api.github.com/repos/mrunalp/specs/events","assignees_url":"https://api.github.com/repos/mrunalp/specs/assignees{/user}","branches_url":"https://api.github.com/repos/mrunalp/specs/branches{/branch}","tags_url":"https://api.github.com/repos/mrunalp/specs/tags","blobs_url":"https://api.github.com/repos/mrunalp/specs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrunalp/specs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrunalp/specs/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrunalp/specs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrunalp/specs/statuses/{sha}","languages_url":"https://api.github.com/repos/mrunalp/specs/languages","stargazers_url":"https://api.github.com/repos/mrunalp/specs/stargazers","contributors_url":"https://api.github.com/repos/mrunalp/specs/contributors","subscribers_url":"https://api.github.com/repos/mrunalp/specs/subscribers","subscription_url":"https://api.github.com/repos/mrunalp/specs/subscription","commits_url":"https://api.github.com/repos/mrunalp/specs/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrunalp/specs/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrunalp/specs/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrunalp/specs/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrunalp/specs/contents/{+path}","compare_url":"https://api.github.com/repos/mrunalp/specs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrunalp/specs/merges","archive_url":"https://api.github.com/repos/mrunalp/specs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrunalp/specs/downloads","issues_url":"https://api.github.com/repos/mrunalp/specs/issues{/number}","pulls_url":"https://api.github.com/repos/mrunalp/specs/pulls{/number}","milestones_url":"https://api.github.com/repos/mrunalp/specs/milestones{/number}","notifications_url":"https://api.github.com/repos/mrunalp/specs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrunalp/specs/labels{/name}","releases_url":"https://api.github.com/repos/mrunalp/specs/releases{/id}","created_at":"2015-06-25T04:18:30Z","updated_at":"2015-06-25T03:30:37Z","pushed_at":"2015-07-30T20:48:22Z","git_url":"git://github.com/mrunalp/specs.git","ssh_url":"git@github.com:mrunalp/specs.git","clone_url":"https://github.com/mrunalp/specs.git","svn_url":"https://github.com/mrunalp/specs","homepage":"http://www.opencontainers.org","size":228,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"opencontainers:master","ref":"master","sha":"d619f2fccb13385e5c6bfcbf3ac1a3dcd36f314b","user":{"login":"opencontainers","id":12563465,"avatar_url":"https://avatars.githubusercontent.com/u/12563465?v=3","gravatar_id":"","url":"https://api.github.com/users/opencontainers","html_url":"https://github.com/opencontainers","followers_url":"https://api.github.com/users/opencontainers/followers","following_url":"https://api.github.com/users/opencontainers/following{/other_user}","gists_url":"https://api.github.com/users/opencontainers/gists{/gist_id}","starred_url":"https://api.github.com/users/opencontainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencontainers/subscriptions","organizations_url":"https://api.github.com/users/opencontainers/orgs","repos_url":"https://api.github.com/users/opencontainers/repos","events_url":"https://api.github.com/users/opencontainers/events{/privacy}","received_events_url":"https://api.github.com/users/opencontainers/received_events","type":"Organization","site_admin":false},"repo":{"id":36960293,"name":"specs","full_name":"opencontainers/specs","owner":{"login":"opencontainers","id":12563465,"avatar_url":"https://avatars.githubusercontent.com/u/12563465?v=3","gravatar_id":"","url":"https://api.github.com/users/opencontainers","html_url":"https://github.com/opencontainers","followers_url":"https://api.github.com/users/opencontainers/followers","following_url":"https://api.github.com/users/opencontainers/following{/other_user}","gists_url":"https://api.github.com/users/opencontainers/gists{/gist_id}","starred_url":"https://api.github.com/users/opencontainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencontainers/subscriptions","organizations_url":"https://api.github.com/users/opencontainers/orgs","repos_url":"https://api.github.com/users/opencontainers/repos","events_url":"https://api.github.com/users/opencontainers/events{/privacy}","received_events_url":"https://api.github.com/users/opencontainers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opencontainers/specs","description":"Open Container Specifications","fork":false,"url":"https://api.github.com/repos/opencontainers/specs","forks_url":"https://api.github.com/repos/opencontainers/specs/forks","keys_url":"https://api.github.com/repos/opencontainers/specs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencontainers/specs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencontainers/specs/teams","hooks_url":"https://api.github.com/repos/opencontainers/specs/hooks","issue_events_url":"https://api.github.com/repos/opencontainers/specs/issues/events{/number}","events_url":"https://api.github.com/repos/opencontainers/specs/events","assignees_url":"https://api.github.com/repos/opencontainers/specs/assignees{/user}","branches_url":"https://api.github.com/repos/opencontainers/specs/branches{/branch}","tags_url":"https://api.github.com/repos/opencontainers/specs/tags","blobs_url":"https://api.github.com/repos/opencontainers/specs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencontainers/specs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencontainers/specs/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencontainers/specs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencontainers/specs/statuses/{sha}","languages_url":"https://api.github.com/repos/opencontainers/specs/languages","stargazers_url":"https://api.github.com/repos/opencontainers/specs/stargazers","contributors_url":"https://api.github.com/repos/opencontainers/specs/contributors","subscribers_url":"https://api.github.com/repos/opencontainers/specs/subscribers","subscription_url":"https://api.github.com/repos/opencontainers/specs/subscription","commits_url":"https://api.github.com/repos/opencontainers/specs/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencontainers/specs/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencontainers/specs/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencontainers/specs/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencontainers/specs/contents/{+path}","compare_url":"https://api.github.com/repos/opencontainers/specs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencontainers/specs/merges","archive_url":"https://api.github.com/repos/opencontainers/specs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencontainers/specs/downloads","issues_url":"https://api.github.com/repos/opencontainers/specs/issues{/number}","pulls_url":"https://api.github.com/repos/opencontainers/specs/pulls{/number}","milestones_url":"https://api.github.com/repos/opencontainers/specs/milestones{/number}","notifications_url":"https://api.github.com/repos/opencontainers/specs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencontainers/specs/labels{/name}","releases_url":"https://api.github.com/repos/opencontainers/specs/releases{/id}","created_at":"2015-06-05T23:30:10Z","updated_at":"2015-07-30T20:20:38Z","pushed_at":"2015-07-30T20:48:23Z","git_url":"git://github.com/opencontainers/specs.git","ssh_url":"git@github.com:opencontainers/specs.git","clone_url":"https://github.com/opencontainers/specs.git","svn_url":"https://github.com/opencontainers/specs","homepage":"http://www.opencontainers.org","size":663,"stargazers_count":333,"watchers_count":333,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":23,"forks":45,"open_issues":23,"watchers":333,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/89"},"html":{"href":"https://github.com/opencontainers/specs/pull/89"},"issue":{"href":"https://api.github.com/repos/opencontainers/specs/issues/89"},"comments":{"href":"https://api.github.com/repos/opencontainers/specs/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/89/comments"},"review_comment":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/89/commits"},"statuses":{"href":"https://api.github.com/repos/opencontainers/specs/statuses/9cca39e6232dcf66546114651d902ac34261f447"}}}}