{"action":"opened","number":124,"pull_request":{"url":"https://api.github.com/repos/01org/linux-sgx/pulls/124","id":130345890,"html_url":"https://github.com/01org/linux-sgx/pull/124","diff_url":"https://github.com/01org/linux-sgx/pull/124.diff","patch_url":"https://github.com/01org/linux-sgx/pull/124.patch","issue_url":"https://api.github.com/repos/01org/linux-sgx/issues/124","number":124,"state":"open","locked":false,"title":"Improve const correctness of sgx_fopen and sgx_fimport_auto_key.","user":{"login":"Jaak","id":34106,"avatar_url":"https://avatars2.githubusercontent.com/u/34106?v=3","gravatar_id":"","url":"https://api.github.com/users/Jaak","html_url":"https://github.com/Jaak","followers_url":"https://api.github.com/users/Jaak/followers","following_url":"https://api.github.com/users/Jaak/following{/other_user}","gists_url":"https://api.github.com/users/Jaak/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaak/subscriptions","organizations_url":"https://api.github.com/users/Jaak/orgs","repos_url":"https://api.github.com/users/Jaak/repos","events_url":"https://api.github.com/users/Jaak/events{/privacy}","received_events_url":"https://api.github.com/users/Jaak/received_events","type":"User","site_admin":false},"body":"* Makes the interface easier to understand. Eliminates the mismatch\r\n  between [IN] parameters and their types. It is no longer as easy to\r\n  mix key import and export functions.\r\n* Makes the interface compatible with other const-correct code.\r\n\r\nSigned-off-by: Jaak Randmets <jaak.randmets@cyber.ee>","created_at":"2017-07-13T11:18:24Z","updated_at":"2017-07-13T11:18:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/01org/linux-sgx/pulls/124/commits","review_comments_url":"https://api.github.com/repos/01org/linux-sgx/pulls/124/comments","review_comment_url":"https://api.github.com/repos/01org/linux-sgx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/01org/linux-sgx/issues/124/comments","statuses_url":"https://api.github.com/repos/01org/linux-sgx/statuses/a18dabf3e116d141d687a772fccbed4cced1448f","head":{"label":"Jaak:master","ref":"master","sha":"a18dabf3e116d141d687a772fccbed4cced1448f","user":{"login":"Jaak","id":34106,"avatar_url":"https://avatars2.githubusercontent.com/u/34106?v=3","gravatar_id":"","url":"https://api.github.com/users/Jaak","html_url":"https://github.com/Jaak","followers_url":"https://api.github.com/users/Jaak/followers","following_url":"https://api.github.com/users/Jaak/following{/other_user}","gists_url":"https://api.github.com/users/Jaak/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaak/subscriptions","organizations_url":"https://api.github.com/users/Jaak/orgs","repos_url":"https://api.github.com/users/Jaak/repos","events_url":"https://api.github.com/users/Jaak/events{/privacy}","received_events_url":"https://api.github.com/users/Jaak/received_events","type":"User","site_admin":false},"repo":{"id":97112817,"name":"linux-sgx","full_name":"Jaak/linux-sgx","owner":{"login":"Jaak","id":34106,"avatar_url":"https://avatars2.githubusercontent.com/u/34106?v=3","gravatar_id":"","url":"https://api.github.com/users/Jaak","html_url":"https://github.com/Jaak","followers_url":"https://api.github.com/users/Jaak/followers","following_url":"https://api.github.com/users/Jaak/following{/other_user}","gists_url":"https://api.github.com/users/Jaak/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaak/subscriptions","organizations_url":"https://api.github.com/users/Jaak/orgs","repos_url":"https://api.github.com/users/Jaak/repos","events_url":"https://api.github.com/users/Jaak/events{/privacy}","received_events_url":"https://api.github.com/users/Jaak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jaak/linux-sgx","description":"Intel SGX for Linux*","fork":true,"url":"https://api.github.com/repos/Jaak/linux-sgx","forks_url":"https://api.github.com/repos/Jaak/linux-sgx/forks","keys_url":"https://api.github.com/repos/Jaak/linux-sgx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jaak/linux-sgx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jaak/linux-sgx/teams","hooks_url":"https://api.github.com/repos/Jaak/linux-sgx/hooks","issue_events_url":"https://api.github.com/repos/Jaak/linux-sgx/issues/events{/number}","events_url":"https://api.github.com/repos/Jaak/linux-sgx/events","assignees_url":"https://api.github.com/repos/Jaak/linux-sgx/assignees{/user}","branches_url":"https://api.github.com/repos/Jaak/linux-sgx/branches{/branch}","tags_url":"https://api.github.com/repos/Jaak/linux-sgx/tags","blobs_url":"https://api.github.com/repos/Jaak/linux-sgx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jaak/linux-sgx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jaak/linux-sgx/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jaak/linux-sgx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jaak/linux-sgx/statuses/{sha}","languages_url":"https://api.github.com/repos/Jaak/linux-sgx/languages","stargazers_url":"https://api.github.com/repos/Jaak/linux-sgx/stargazers","contributors_url":"https://api.github.com/repos/Jaak/linux-sgx/contributors","subscribers_url":"https://api.github.com/repos/Jaak/linux-sgx/subscribers","subscription_url":"https://api.github.com/repos/Jaak/linux-sgx/subscription","commits_url":"https://api.github.com/repos/Jaak/linux-sgx/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jaak/linux-sgx/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jaak/linux-sgx/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jaak/linux-sgx/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jaak/linux-sgx/contents/{+path}","compare_url":"https://api.github.com/repos/Jaak/linux-sgx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jaak/linux-sgx/merges","archive_url":"https://api.github.com/repos/Jaak/linux-sgx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jaak/linux-sgx/downloads","issues_url":"https://api.github.com/repos/Jaak/linux-sgx/issues{/number}","pulls_url":"https://api.github.com/repos/Jaak/linux-sgx/pulls{/number}","milestones_url":"https://api.github.com/repos/Jaak/linux-sgx/milestones{/number}","notifications_url":"https://api.github.com/repos/Jaak/linux-sgx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jaak/linux-sgx/labels{/name}","releases_url":"https://api.github.com/repos/Jaak/linux-sgx/releases{/id}","deployments_url":"https://api.github.com/repos/Jaak/linux-sgx/deployments","created_at":"2017-07-13T10:57:58Z","updated_at":"2017-07-13T10:58:07Z","pushed_at":"2017-07-13T11:08:19Z","git_url":"git://github.com/Jaak/linux-sgx.git","ssh_url":"git@github.com:Jaak/linux-sgx.git","clone_url":"https://github.com/Jaak/linux-sgx.git","svn_url":"https://github.com/Jaak/linux-sgx","homepage":"https://01.org/intel-softwareguard-extensions","size":16067,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"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":"01org:master","ref":"master","sha":"8383b8c65f49fca017c62eb7efdd97a212829caf","user":{"login":"01org","id":1635439,"avatar_url":"https://avatars2.githubusercontent.com/u/1635439?v=3","gravatar_id":"","url":"https://api.github.com/users/01org","html_url":"https://github.com/01org","followers_url":"https://api.github.com/users/01org/followers","following_url":"https://api.github.com/users/01org/following{/other_user}","gists_url":"https://api.github.com/users/01org/gists{/gist_id}","starred_url":"https://api.github.com/users/01org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/01org/subscriptions","organizations_url":"https://api.github.com/users/01org/orgs","repos_url":"https://api.github.com/users/01org/repos","events_url":"https://api.github.com/users/01org/events{/privacy}","received_events_url":"https://api.github.com/users/01org/received_events","type":"Organization","site_admin":false},"repo":{"id":52399959,"name":"linux-sgx","full_name":"01org/linux-sgx","owner":{"login":"01org","id":1635439,"avatar_url":"https://avatars2.githubusercontent.com/u/1635439?v=3","gravatar_id":"","url":"https://api.github.com/users/01org","html_url":"https://github.com/01org","followers_url":"https://api.github.com/users/01org/followers","following_url":"https://api.github.com/users/01org/following{/other_user}","gists_url":"https://api.github.com/users/01org/gists{/gist_id}","starred_url":"https://api.github.com/users/01org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/01org/subscriptions","organizations_url":"https://api.github.com/users/01org/orgs","repos_url":"https://api.github.com/users/01org/repos","events_url":"https://api.github.com/users/01org/events{/privacy}","received_events_url":"https://api.github.com/users/01org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/01org/linux-sgx","description":"Intel SGX for Linux*","fork":false,"url":"https://api.github.com/repos/01org/linux-sgx","forks_url":"https://api.github.com/repos/01org/linux-sgx/forks","keys_url":"https://api.github.com/repos/01org/linux-sgx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/01org/linux-sgx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/01org/linux-sgx/teams","hooks_url":"https://api.github.com/repos/01org/linux-sgx/hooks","issue_events_url":"https://api.github.com/repos/01org/linux-sgx/issues/events{/number}","events_url":"https://api.github.com/repos/01org/linux-sgx/events","assignees_url":"https://api.github.com/repos/01org/linux-sgx/assignees{/user}","branches_url":"https://api.github.com/repos/01org/linux-sgx/branches{/branch}","tags_url":"https://api.github.com/repos/01org/linux-sgx/tags","blobs_url":"https://api.github.com/repos/01org/linux-sgx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/01org/linux-sgx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/01org/linux-sgx/git/refs{/sha}","trees_url":"https://api.github.com/repos/01org/linux-sgx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/01org/linux-sgx/statuses/{sha}","languages_url":"https://api.github.com/repos/01org/linux-sgx/languages","stargazers_url":"https://api.github.com/repos/01org/linux-sgx/stargazers","contributors_url":"https://api.github.com/repos/01org/linux-sgx/contributors","subscribers_url":"https://api.github.com/repos/01org/linux-sgx/subscribers","subscription_url":"https://api.github.com/repos/01org/linux-sgx/subscription","commits_url":"https://api.github.com/repos/01org/linux-sgx/commits{/sha}","git_commits_url":"https://api.github.com/repos/01org/linux-sgx/git/commits{/sha}","comments_url":"https://api.github.com/repos/01org/linux-sgx/comments{/number}","issue_comment_url":"https://api.github.com/repos/01org/linux-sgx/issues/comments{/number}","contents_url":"https://api.github.com/repos/01org/linux-sgx/contents/{+path}","compare_url":"https://api.github.com/repos/01org/linux-sgx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/01org/linux-sgx/merges","archive_url":"https://api.github.com/repos/01org/linux-sgx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/01org/linux-sgx/downloads","issues_url":"https://api.github.com/repos/01org/linux-sgx/issues{/number}","pulls_url":"https://api.github.com/repos/01org/linux-sgx/pulls{/number}","milestones_url":"https://api.github.com/repos/01org/linux-sgx/milestones{/number}","notifications_url":"https://api.github.com/repos/01org/linux-sgx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/01org/linux-sgx/labels{/name}","releases_url":"https://api.github.com/repos/01org/linux-sgx/releases{/id}","deployments_url":"https://api.github.com/repos/01org/linux-sgx/deployments","created_at":"2016-02-23T23:41:25Z","updated_at":"2017-07-12T18:08:48Z","pushed_at":"2017-07-11T06:17:40Z","git_url":"git://github.com/01org/linux-sgx.git","ssh_url":"git@github.com:01org/linux-sgx.git","clone_url":"https://github.com/01org/linux-sgx.git","svn_url":"https://github.com/01org/linux-sgx","homepage":"https://01.org/intel-softwareguard-extensions","size":16067,"stargazers_count":196,"watchers_count":196,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":83,"mirror_url":null,"open_issues_count":30,"forks":83,"open_issues":30,"watchers":196,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/01org/linux-sgx/pulls/124"},"html":{"href":"https://github.com/01org/linux-sgx/pull/124"},"issue":{"href":"https://api.github.com/repos/01org/linux-sgx/issues/124"},"comments":{"href":"https://api.github.com/repos/01org/linux-sgx/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/01org/linux-sgx/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/01org/linux-sgx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/01org/linux-sgx/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/01org/linux-sgx/statuses/a18dabf3e116d141d687a772fccbed4cced1448f"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":11,"deletions":11,"changed_files":5}}
{"actor":{"display_login":"Jaak"}}