{"action":"opened","number":3615,"pull_request":{"url":"https://api.github.com/repos/coreos/rkt/pulls/3615","id":110682070,"html_url":"https://github.com/coreos/rkt/pull/3615","diff_url":"https://github.com/coreos/rkt/pull/3615.diff","patch_url":"https://github.com/coreos/rkt/pull/3615.patch","issue_url":"https://api.github.com/repos/coreos/rkt/issues/3615","number":3615,"state":"open","locked":false,"title":"pkg/lock: Verify file exists after lock is taken","user":{"login":"shobhit85","id":2654445,"avatar_url":"https://avatars2.githubusercontent.com/u/2654445?v=3","gravatar_id":"","url":"https://api.github.com/users/shobhit85","html_url":"https://github.com/shobhit85","followers_url":"https://api.github.com/users/shobhit85/followers","following_url":"https://api.github.com/users/shobhit85/following{/other_user}","gists_url":"https://api.github.com/users/shobhit85/gists{/gist_id}","starred_url":"https://api.github.com/users/shobhit85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shobhit85/subscriptions","organizations_url":"https://api.github.com/users/shobhit85/orgs","repos_url":"https://api.github.com/users/shobhit85/repos","events_url":"https://api.github.com/users/shobhit85/events{/privacy}","received_events_url":"https://api.github.com/users/shobhit85/received_events","type":"User","site_admin":false},"body":"Flock syscall does not check if file/dir pointed to by given fd exists\r\nbefore taking shared/exclusive locks after blocking for a while on\r\nexclusive in case of taking a shared lock and vice-versa.\r\n\r\nHere verification is done by matching inode number pointed to\r\nby fd used for locking and new fd created by reopening the file.","created_at":"2017-03-14T17:58:29Z","updated_at":"2017-03-14T17:58:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/coreos/rkt/pulls/3615/commits","review_comments_url":"https://api.github.com/repos/coreos/rkt/pulls/3615/comments","review_comment_url":"https://api.github.com/repos/coreos/rkt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/rkt/issues/3615/comments","statuses_url":"https://api.github.com/repos/coreos/rkt/statuses/225e629aea0952a070ab446bff07789f64129e7e","head":{"label":"shobhit85:pkg-lock-invalid-fd","ref":"pkg-lock-invalid-fd","sha":"225e629aea0952a070ab446bff07789f64129e7e","user":{"login":"shobhit85","id":2654445,"avatar_url":"https://avatars2.githubusercontent.com/u/2654445?v=3","gravatar_id":"","url":"https://api.github.com/users/shobhit85","html_url":"https://github.com/shobhit85","followers_url":"https://api.github.com/users/shobhit85/followers","following_url":"https://api.github.com/users/shobhit85/following{/other_user}","gists_url":"https://api.github.com/users/shobhit85/gists{/gist_id}","starred_url":"https://api.github.com/users/shobhit85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shobhit85/subscriptions","organizations_url":"https://api.github.com/users/shobhit85/orgs","repos_url":"https://api.github.com/users/shobhit85/repos","events_url":"https://api.github.com/users/shobhit85/events{/privacy}","received_events_url":"https://api.github.com/users/shobhit85/received_events","type":"User","site_admin":false},"repo":{"id":81614130,"name":"rkt","full_name":"shobhit85/rkt","owner":{"login":"shobhit85","id":2654445,"avatar_url":"https://avatars2.githubusercontent.com/u/2654445?v=3","gravatar_id":"","url":"https://api.github.com/users/shobhit85","html_url":"https://github.com/shobhit85","followers_url":"https://api.github.com/users/shobhit85/followers","following_url":"https://api.github.com/users/shobhit85/following{/other_user}","gists_url":"https://api.github.com/users/shobhit85/gists{/gist_id}","starred_url":"https://api.github.com/users/shobhit85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shobhit85/subscriptions","organizations_url":"https://api.github.com/users/shobhit85/orgs","repos_url":"https://api.github.com/users/shobhit85/repos","events_url":"https://api.github.com/users/shobhit85/events{/privacy}","received_events_url":"https://api.github.com/users/shobhit85/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shobhit85/rkt","description":"rkt is a pod-native container engine for Linux. It is composable, secure, and built on standards.","fork":true,"url":"https://api.github.com/repos/shobhit85/rkt","forks_url":"https://api.github.com/repos/shobhit85/rkt/forks","keys_url":"https://api.github.com/repos/shobhit85/rkt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shobhit85/rkt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shobhit85/rkt/teams","hooks_url":"https://api.github.com/repos/shobhit85/rkt/hooks","issue_events_url":"https://api.github.com/repos/shobhit85/rkt/issues/events{/number}","events_url":"https://api.github.com/repos/shobhit85/rkt/events","assignees_url":"https://api.github.com/repos/shobhit85/rkt/assignees{/user}","branches_url":"https://api.github.com/repos/shobhit85/rkt/branches{/branch}","tags_url":"https://api.github.com/repos/shobhit85/rkt/tags","blobs_url":"https://api.github.com/repos/shobhit85/rkt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shobhit85/rkt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shobhit85/rkt/git/refs{/sha}","trees_url":"https://api.github.com/repos/shobhit85/rkt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shobhit85/rkt/statuses/{sha}","languages_url":"https://api.github.com/repos/shobhit85/rkt/languages","stargazers_url":"https://api.github.com/repos/shobhit85/rkt/stargazers","contributors_url":"https://api.github.com/repos/shobhit85/rkt/contributors","subscribers_url":"https://api.github.com/repos/shobhit85/rkt/subscribers","subscription_url":"https://api.github.com/repos/shobhit85/rkt/subscription","commits_url":"https://api.github.com/repos/shobhit85/rkt/commits{/sha}","git_commits_url":"https://api.github.com/repos/shobhit85/rkt/git/commits{/sha}","comments_url":"https://api.github.com/repos/shobhit85/rkt/comments{/number}","issue_comment_url":"https://api.github.com/repos/shobhit85/rkt/issues/comments{/number}","contents_url":"https://api.github.com/repos/shobhit85/rkt/contents/{+path}","compare_url":"https://api.github.com/repos/shobhit85/rkt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shobhit85/rkt/merges","archive_url":"https://api.github.com/repos/shobhit85/rkt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shobhit85/rkt/downloads","issues_url":"https://api.github.com/repos/shobhit85/rkt/issues{/number}","pulls_url":"https://api.github.com/repos/shobhit85/rkt/pulls{/number}","milestones_url":"https://api.github.com/repos/shobhit85/rkt/milestones{/number}","notifications_url":"https://api.github.com/repos/shobhit85/rkt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shobhit85/rkt/labels{/name}","releases_url":"https://api.github.com/repos/shobhit85/rkt/releases{/id}","deployments_url":"https://api.github.com/repos/shobhit85/rkt/deployments","created_at":"2017-02-10T22:52:03Z","updated_at":"2017-02-10T22:52:07Z","pushed_at":"2017-03-14T17:56:52Z","git_url":"git://github.com/shobhit85/rkt.git","ssh_url":"git@github.com:shobhit85/rkt.git","clone_url":"https://github.com/shobhit85/rkt.git","svn_url":"https://github.com/shobhit85/rkt","homepage":"","size":24908,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"coreos:master","ref":"master","sha":"f287b6e82ddd353193c13ac89874300077928558","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars0.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":26509369,"name":"rkt","full_name":"coreos/rkt","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars0.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/rkt","description":"rkt is a pod-native container engine for Linux. It is composable, secure, and built on standards.","fork":false,"url":"https://api.github.com/repos/coreos/rkt","forks_url":"https://api.github.com/repos/coreos/rkt/forks","keys_url":"https://api.github.com/repos/coreos/rkt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/rkt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/rkt/teams","hooks_url":"https://api.github.com/repos/coreos/rkt/hooks","issue_events_url":"https://api.github.com/repos/coreos/rkt/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/rkt/events","assignees_url":"https://api.github.com/repos/coreos/rkt/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/rkt/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/rkt/tags","blobs_url":"https://api.github.com/repos/coreos/rkt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/rkt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/rkt/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/rkt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/rkt/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/rkt/languages","stargazers_url":"https://api.github.com/repos/coreos/rkt/stargazers","contributors_url":"https://api.github.com/repos/coreos/rkt/contributors","subscribers_url":"https://api.github.com/repos/coreos/rkt/subscribers","subscription_url":"https://api.github.com/repos/coreos/rkt/subscription","commits_url":"https://api.github.com/repos/coreos/rkt/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/rkt/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/rkt/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/rkt/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/rkt/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/rkt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/rkt/merges","archive_url":"https://api.github.com/repos/coreos/rkt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/rkt/downloads","issues_url":"https://api.github.com/repos/coreos/rkt/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/rkt/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/rkt/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/rkt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/rkt/labels{/name}","releases_url":"https://api.github.com/repos/coreos/rkt/releases{/id}","deployments_url":"https://api.github.com/repos/coreos/rkt/deployments","created_at":"2014-11-11T23:13:18Z","updated_at":"2017-03-14T13:17:14Z","pushed_at":"2017-03-14T17:53:25Z","git_url":"git://github.com/coreos/rkt.git","ssh_url":"git@github.com:coreos/rkt.git","clone_url":"https://github.com/coreos/rkt.git","svn_url":"https://github.com/coreos/rkt","homepage":"","size":25004,"stargazers_count":6792,"watchers_count":6792,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":663,"mirror_url":null,"open_issues_count":426,"forks":663,"open_issues":426,"watchers":6792,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/rkt/pulls/3615"},"html":{"href":"https://github.com/coreos/rkt/pull/3615"},"issue":{"href":"https://api.github.com/repos/coreos/rkt/issues/3615"},"comments":{"href":"https://api.github.com/repos/coreos/rkt/issues/3615/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/rkt/pulls/3615/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/rkt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/rkt/pulls/3615/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/rkt/statuses/225e629aea0952a070ab446bff07789f64129e7e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":171,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"shobhit85"}}