{"action":"created","comment":{"url":"https://api.github.com/repos/opencontainers/runc/pulls/comments/58410003","id":58410003,"diff_hunk":"@@ -166,6 +167,7 @@ func matchCall(filter *libseccomp.ScmpFilter, call *configs.Syscall) error {\n \t// Ignore it, don't error out\n \tcallNum, err := libseccomp.GetSyscallFromName(call.Name)\n \tif err != nil {\n+\t\tlogrus.Warnf(\"syscall %s is not supported on this kernel\\n\", call.Name)","path":"libcontainer/seccomp/seccomp_linux.go","position":12,"original_position":12,"commit_id":"5887787664da0010b1930711fe0fea234223c40c","original_commit_id":"5887787664da0010b1930711fe0fea234223c40c","user":{"login":"mlaventure","id":16065150,"avatar_url":"https://avatars.githubusercontent.com/u/16065150?v=3","gravatar_id":"","url":"https://api.github.com/users/mlaventure","html_url":"https://github.com/mlaventure","followers_url":"https://api.github.com/users/mlaventure/followers","following_url":"https://api.github.com/users/mlaventure/following{/other_user}","gists_url":"https://api.github.com/users/mlaventure/gists{/gist_id}","starred_url":"https://api.github.com/users/mlaventure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlaventure/subscriptions","organizations_url":"https://api.github.com/users/mlaventure/orgs","repos_url":"https://api.github.com/users/mlaventure/repos","events_url":"https://api.github.com/users/mlaventure/events{/privacy}","received_events_url":"https://api.github.com/users/mlaventure/received_events","type":"User","site_admin":false},"body":"`...supported by this kernel`.\r\n\r\nOtherwise LGTM, but I'm not a maintainer here :)","created_at":"2016-04-04T17:03:46Z","updated_at":"2016-04-04T17:03:46Z","html_url":"https://github.com/opencontainers/runc/pull/720#discussion_r58410003","pull_request_url":"https://api.github.com/repos/opencontainers/runc/pulls/720","_links":{"self":{"href":"https://api.github.com/repos/opencontainers/runc/pulls/comments/58410003"},"html":{"href":"https://github.com/opencontainers/runc/pull/720#discussion_r58410003"},"pull_request":{"href":"https://api.github.com/repos/opencontainers/runc/pulls/720"}}},"pull_request":{"url":"https://api.github.com/repos/opencontainers/runc/pulls/720","id":65136622,"html_url":"https://github.com/opencontainers/runc/pull/720","diff_url":"https://github.com/opencontainers/runc/pull/720.diff","patch_url":"https://github.com/opencontainers/runc/pull/720.patch","issue_url":"https://api.github.com/repos/opencontainers/runc/issues/720","number":720,"state":"open","locked":false,"title":"Adding message for seccomp syscall failure","user":{"login":"rajasec","id":8536762,"avatar_url":"https://avatars.githubusercontent.com/u/8536762?v=3","gravatar_id":"","url":"https://api.github.com/users/rajasec","html_url":"https://github.com/rajasec","followers_url":"https://api.github.com/users/rajasec/followers","following_url":"https://api.github.com/users/rajasec/following{/other_user}","gists_url":"https://api.github.com/users/rajasec/gists{/gist_id}","starred_url":"https://api.github.com/users/rajasec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajasec/subscriptions","organizations_url":"https://api.github.com/users/rajasec/orgs","repos_url":"https://api.github.com/users/rajasec/repos","events_url":"https://api.github.com/users/rajasec/events{/privacy}","received_events_url":"https://api.github.com/users/rajasec/received_events","type":"User","site_admin":false},"body":"Currently if any seccomp syscall specified in config is not available in kernel, seccomp is ignoring and continuing.\r\nEven if there is any \"wrong syscall\" mentioned in config, it is ignoring.\r\nuser is not aware whether it is success or failure, added an message to say that syscall is not supported from the current kernel.\r\nSigned-off-by: rajasec <rajasec79@gmail.com>","created_at":"2016-04-04T12:24:02Z","updated_at":"2016-04-04T17:03:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"53256d343de137883de89a5e5e0e99b4ad8cf61f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opencontainers/runc/pulls/720/commits","review_comments_url":"https://api.github.com/repos/opencontainers/runc/pulls/720/comments","review_comment_url":"https://api.github.com/repos/opencontainers/runc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencontainers/runc/issues/720/comments","statuses_url":"https://api.github.com/repos/opencontainers/runc/statuses/5887787664da0010b1930711fe0fea234223c40c","head":{"label":"rajasec:seccomp-syscallcheck","ref":"seccomp-syscallcheck","sha":"5887787664da0010b1930711fe0fea234223c40c","user":{"login":"rajasec","id":8536762,"avatar_url":"https://avatars.githubusercontent.com/u/8536762?v=3","gravatar_id":"","url":"https://api.github.com/users/rajasec","html_url":"https://github.com/rajasec","followers_url":"https://api.github.com/users/rajasec/followers","following_url":"https://api.github.com/users/rajasec/following{/other_user}","gists_url":"https://api.github.com/users/rajasec/gists{/gist_id}","starred_url":"https://api.github.com/users/rajasec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajasec/subscriptions","organizations_url":"https://api.github.com/users/rajasec/orgs","repos_url":"https://api.github.com/users/rajasec/repos","events_url":"https://api.github.com/users/rajasec/events{/privacy}","received_events_url":"https://api.github.com/users/rajasec/received_events","type":"User","site_admin":false},"repo":{"id":38353789,"name":"runc","full_name":"rajasec/runc","owner":{"login":"rajasec","id":8536762,"avatar_url":"https://avatars.githubusercontent.com/u/8536762?v=3","gravatar_id":"","url":"https://api.github.com/users/rajasec","html_url":"https://github.com/rajasec","followers_url":"https://api.github.com/users/rajasec/followers","following_url":"https://api.github.com/users/rajasec/following{/other_user}","gists_url":"https://api.github.com/users/rajasec/gists{/gist_id}","starred_url":"https://api.github.com/users/rajasec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajasec/subscriptions","organizations_url":"https://api.github.com/users/rajasec/orgs","repos_url":"https://api.github.com/users/rajasec/repos","events_url":"https://api.github.com/users/rajasec/events{/privacy}","received_events_url":"https://api.github.com/users/rajasec/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rajasec/runc","description":"runc container cli tools","fork":true,"url":"https://api.github.com/repos/rajasec/runc","forks_url":"https://api.github.com/repos/rajasec/runc/forks","keys_url":"https://api.github.com/repos/rajasec/runc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rajasec/runc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rajasec/runc/teams","hooks_url":"https://api.github.com/repos/rajasec/runc/hooks","issue_events_url":"https://api.github.com/repos/rajasec/runc/issues/events{/number}","events_url":"https://api.github.com/repos/rajasec/runc/events","assignees_url":"https://api.github.com/repos/rajasec/runc/assignees{/user}","branches_url":"https://api.github.com/repos/rajasec/runc/branches{/branch}","tags_url":"https://api.github.com/repos/rajasec/runc/tags","blobs_url":"https://api.github.com/repos/rajasec/runc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rajasec/runc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rajasec/runc/git/refs{/sha}","trees_url":"https://api.github.com/repos/rajasec/runc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rajasec/runc/statuses/{sha}","languages_url":"https://api.github.com/repos/rajasec/runc/languages","stargazers_url":"https://api.github.com/repos/rajasec/runc/stargazers","contributors_url":"https://api.github.com/repos/rajasec/runc/contributors","subscribers_url":"https://api.github.com/repos/rajasec/runc/subscribers","subscription_url":"https://api.github.com/repos/rajasec/runc/subscription","commits_url":"https://api.github.com/repos/rajasec/runc/commits{/sha}","git_commits_url":"https://api.github.com/repos/rajasec/runc/git/commits{/sha}","comments_url":"https://api.github.com/repos/rajasec/runc/comments{/number}","issue_comment_url":"https://api.github.com/repos/rajasec/runc/issues/comments{/number}","contents_url":"https://api.github.com/repos/rajasec/runc/contents/{+path}","compare_url":"https://api.github.com/repos/rajasec/runc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rajasec/runc/merges","archive_url":"https://api.github.com/repos/rajasec/runc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rajasec/runc/downloads","issues_url":"https://api.github.com/repos/rajasec/runc/issues{/number}","pulls_url":"https://api.github.com/repos/rajasec/runc/pulls{/number}","milestones_url":"https://api.github.com/repos/rajasec/runc/milestones{/number}","notifications_url":"https://api.github.com/repos/rajasec/runc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rajasec/runc/labels{/name}","releases_url":"https://api.github.com/repos/rajasec/runc/releases{/id}","deployments_url":"https://api.github.com/repos/rajasec/runc/deployments","created_at":"2015-07-01T06:26:56Z","updated_at":"2016-01-18T12:46:43Z","pushed_at":"2016-04-04T16:41:25Z","git_url":"git://github.com/rajasec/runc.git","ssh_url":"git@github.com:rajasec/runc.git","clone_url":"https://github.com/rajasec/runc.git","svn_url":"https://github.com/rajasec/runc","homepage":"","size":2964,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"opencontainers:master","ref":"master","sha":"89ab7f2ccc1e45ddf6485eaa802c35dcf321dfc8","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":36960321,"name":"runc","full_name":"opencontainers/runc","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/runc","description":"runc container cli tools","fork":false,"url":"https://api.github.com/repos/opencontainers/runc","forks_url":"https://api.github.com/repos/opencontainers/runc/forks","keys_url":"https://api.github.com/repos/opencontainers/runc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencontainers/runc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencontainers/runc/teams","hooks_url":"https://api.github.com/repos/opencontainers/runc/hooks","issue_events_url":"https://api.github.com/repos/opencontainers/runc/issues/events{/number}","events_url":"https://api.github.com/repos/opencontainers/runc/events","assignees_url":"https://api.github.com/repos/opencontainers/runc/assignees{/user}","branches_url":"https://api.github.com/repos/opencontainers/runc/branches{/branch}","tags_url":"https://api.github.com/repos/opencontainers/runc/tags","blobs_url":"https://api.github.com/repos/opencontainers/runc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencontainers/runc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencontainers/runc/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencontainers/runc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencontainers/runc/statuses/{sha}","languages_url":"https://api.github.com/repos/opencontainers/runc/languages","stargazers_url":"https://api.github.com/repos/opencontainers/runc/stargazers","contributors_url":"https://api.github.com/repos/opencontainers/runc/contributors","subscribers_url":"https://api.github.com/repos/opencontainers/runc/subscribers","subscription_url":"https://api.github.com/repos/opencontainers/runc/subscription","commits_url":"https://api.github.com/repos/opencontainers/runc/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencontainers/runc/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencontainers/runc/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencontainers/runc/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencontainers/runc/contents/{+path}","compare_url":"https://api.github.com/repos/opencontainers/runc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencontainers/runc/merges","archive_url":"https://api.github.com/repos/opencontainers/runc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencontainers/runc/downloads","issues_url":"https://api.github.com/repos/opencontainers/runc/issues{/number}","pulls_url":"https://api.github.com/repos/opencontainers/runc/pulls{/number}","milestones_url":"https://api.github.com/repos/opencontainers/runc/milestones{/number}","notifications_url":"https://api.github.com/repos/opencontainers/runc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencontainers/runc/labels{/name}","releases_url":"https://api.github.com/repos/opencontainers/runc/releases{/id}","deployments_url":"https://api.github.com/repos/opencontainers/runc/deployments","created_at":"2015-06-05T23:30:45Z","updated_at":"2016-04-03T19:38:15Z","pushed_at":"2016-04-04T16:44:35Z","git_url":"git://github.com/opencontainers/runc.git","ssh_url":"git@github.com:opencontainers/runc.git","clone_url":"https://github.com/opencontainers/runc.git","svn_url":"https://github.com/opencontainers/runc","homepage":"","size":5268,"stargazers_count":2624,"watchers_count":2624,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":329,"mirror_url":null,"open_issues_count":57,"forks":329,"open_issues":57,"watchers":2624,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencontainers/runc/pulls/720"},"html":{"href":"https://github.com/opencontainers/runc/pull/720"},"issue":{"href":"https://api.github.com/repos/opencontainers/runc/issues/720"},"comments":{"href":"https://api.github.com/repos/opencontainers/runc/issues/720/comments"},"review_comments":{"href":"https://api.github.com/repos/opencontainers/runc/pulls/720/comments"},"review_comment":{"href":"https://api.github.com/repos/opencontainers/runc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencontainers/runc/pulls/720/commits"},"statuses":{"href":"https://api.github.com/repos/opencontainers/runc/statuses/5887787664da0010b1930711fe0fea234223c40c"}}}}