{"action":"closed","number":10062,"pull_request":{"url":"https://api.github.com/repos/systemd/systemd/pulls/10062","id":214758743,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NzU4NzQz","html_url":"https://github.com/systemd/systemd/pull/10062","diff_url":"https://github.com/systemd/systemd/pull/10062.diff","patch_url":"https://github.com/systemd/systemd/pull/10062.patch","issue_url":"https://api.github.com/repos/systemd/systemd/issues/10062","number":10062,"state":"closed","locked":false,"title":"Support cgroup v2 bpf-based device controller","user":{"login":"rgushchin","id":8522129,"node_id":"MDQ6VXNlcjg1MjIxMjk=","avatar_url":"https://avatars3.githubusercontent.com/u/8522129?v=4","gravatar_id":"","url":"https://api.github.com/users/rgushchin","html_url":"https://github.com/rgushchin","followers_url":"https://api.github.com/users/rgushchin/followers","following_url":"https://api.github.com/users/rgushchin/following{/other_user}","gists_url":"https://api.github.com/users/rgushchin/gists{/gist_id}","starred_url":"https://api.github.com/users/rgushchin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgushchin/subscriptions","organizations_url":"https://api.github.com/users/rgushchin/orgs","repos_url":"https://api.github.com/users/rgushchin/repos","events_url":"https://api.github.com/users/rgushchin/events{/privacy}","received_events_url":"https://api.github.com/users/rgushchin/received_events","type":"User","site_admin":false},"body":"Currently, systemd doesn't support the device controller on cgroup v2, what prevents some users\r\nto switch to it. Let's add this support.\r\n\r\nAs cgroup v2 implements a bpf-based device controller, it requires some changes on systemd side.\r\nThe idea is to generate a bpf-program on the fly depending on the specified device policy and device whitelist and attach it to the cgroup.","created_at":"2018-09-11T20:36:57Z","updated_at":"2018-10-09T21:29:27Z","closed_at":"2018-10-09T21:29:27Z","merged_at":"2018-10-09T21:29:27Z","merge_commit_sha":"3316429f19b36dc9cbdcf22e50607b97dfed82e4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":219550195,"node_id":"MDU6TGFiZWwyMTk1NTAxOTU=","url":"https://api.github.com/repos/systemd/systemd/labels/cgroups","name":"cgroups","color":"d4c5f9","default":false},{"id":221925707,"node_id":"MDU6TGFiZWwyMjE5MjU3MDc=","url":"https://api.github.com/repos/systemd/systemd/labels/pid1","name":"pid1","color":"c7def8","default":false},{"id":222775092,"node_id":"MDU6TGFiZWwyMjI3NzUwOTI=","url":"https://api.github.com/repos/systemd/systemd/labels/reviewed/needs-rework%20%F0%9F%94%A8","name":"reviewed/needs-rework 🔨","color":"eb6420","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/systemd/systemd/pulls/10062/commits","review_comments_url":"https://api.github.com/repos/systemd/systemd/pulls/10062/comments","review_comment_url":"https://api.github.com/repos/systemd/systemd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/10062/comments","statuses_url":"https://api.github.com/repos/systemd/systemd/statuses/084c7007804b08d13acc90bf3145c5ac82d1c8a1","head":{"label":"rgushchin:device","ref":"device","sha":"084c7007804b08d13acc90bf3145c5ac82d1c8a1","user":{"login":"rgushchin","id":8522129,"node_id":"MDQ6VXNlcjg1MjIxMjk=","avatar_url":"https://avatars3.githubusercontent.com/u/8522129?v=4","gravatar_id":"","url":"https://api.github.com/users/rgushchin","html_url":"https://github.com/rgushchin","followers_url":"https://api.github.com/users/rgushchin/followers","following_url":"https://api.github.com/users/rgushchin/following{/other_user}","gists_url":"https://api.github.com/users/rgushchin/gists{/gist_id}","starred_url":"https://api.github.com/users/rgushchin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgushchin/subscriptions","organizations_url":"https://api.github.com/users/rgushchin/orgs","repos_url":"https://api.github.com/users/rgushchin/repos","events_url":"https://api.github.com/users/rgushchin/events{/privacy}","received_events_url":"https://api.github.com/users/rgushchin/received_events","type":"User","site_admin":false},"repo":{"id":133845395,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM4NDUzOTU=","name":"systemd","full_name":"rgushchin/systemd","private":false,"owner":{"login":"rgushchin","id":8522129,"node_id":"MDQ6VXNlcjg1MjIxMjk=","avatar_url":"https://avatars3.githubusercontent.com/u/8522129?v=4","gravatar_id":"","url":"https://api.github.com/users/rgushchin","html_url":"https://github.com/rgushchin","followers_url":"https://api.github.com/users/rgushchin/followers","following_url":"https://api.github.com/users/rgushchin/following{/other_user}","gists_url":"https://api.github.com/users/rgushchin/gists{/gist_id}","starred_url":"https://api.github.com/users/rgushchin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgushchin/subscriptions","organizations_url":"https://api.github.com/users/rgushchin/orgs","repos_url":"https://api.github.com/users/rgushchin/repos","events_url":"https://api.github.com/users/rgushchin/events{/privacy}","received_events_url":"https://api.github.com/users/rgushchin/received_events","type":"User","site_admin":false},"html_url":"https://github.com/rgushchin/systemd","description":"⚙️ 🐧 systemd System and Service Manager ","fork":true,"url":"https://api.github.com/repos/rgushchin/systemd","forks_url":"https://api.github.com/repos/rgushchin/systemd/forks","keys_url":"https://api.github.com/repos/rgushchin/systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rgushchin/systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rgushchin/systemd/teams","hooks_url":"https://api.github.com/repos/rgushchin/systemd/hooks","issue_events_url":"https://api.github.com/repos/rgushchin/systemd/issues/events{/number}","events_url":"https://api.github.com/repos/rgushchin/systemd/events","assignees_url":"https://api.github.com/repos/rgushchin/systemd/assignees{/user}","branches_url":"https://api.github.com/repos/rgushchin/systemd/branches{/branch}","tags_url":"https://api.github.com/repos/rgushchin/systemd/tags","blobs_url":"https://api.github.com/repos/rgushchin/systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rgushchin/systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rgushchin/systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/rgushchin/systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rgushchin/systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/rgushchin/systemd/languages","stargazers_url":"https://api.github.com/repos/rgushchin/systemd/stargazers","contributors_url":"https://api.github.com/repos/rgushchin/systemd/contributors","subscribers_url":"https://api.github.com/repos/rgushchin/systemd/subscribers","subscription_url":"https://api.github.com/repos/rgushchin/systemd/subscription","commits_url":"https://api.github.com/repos/rgushchin/systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/rgushchin/systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/rgushchin/systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/rgushchin/systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/rgushchin/systemd/contents/{+path}","compare_url":"https://api.github.com/repos/rgushchin/systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rgushchin/systemd/merges","archive_url":"https://api.github.com/repos/rgushchin/systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rgushchin/systemd/downloads","issues_url":"https://api.github.com/repos/rgushchin/systemd/issues{/number}","pulls_url":"https://api.github.com/repos/rgushchin/systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/rgushchin/systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/rgushchin/systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rgushchin/systemd/labels{/name}","releases_url":"https://api.github.com/repos/rgushchin/systemd/releases{/id}","deployments_url":"https://api.github.com/repos/rgushchin/systemd/deployments","created_at":"2018-05-17T17:13:04Z","updated_at":"2018-05-17T17:13:14Z","pushed_at":"2018-10-09T16:48:09Z","git_url":"git://github.com/rgushchin/systemd.git","ssh_url":"git@github.com:rgushchin/systemd.git","clone_url":"https://github.com/rgushchin/systemd.git","svn_url":"https://github.com/rgushchin/systemd","homepage":"https://www.freedesktop.org/wiki/Software/systemd/","size":98378,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"systemd:master","ref":"master","sha":"b03d6c5f48dd9f499bfdaf6481ea4f9507d34848","user":{"login":"systemd","id":1918868,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MTg4Njg=","avatar_url":"https://avatars0.githubusercontent.com/u/1918868?v=4","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"repo":{"id":32873313,"node_id":"MDEwOlJlcG9zaXRvcnkzMjg3MzMxMw==","name":"systemd","full_name":"systemd/systemd","private":false,"owner":{"login":"systemd","id":1918868,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MTg4Njg=","avatar_url":"https://avatars0.githubusercontent.com/u/1918868?v=4","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/systemd/systemd","description":"⚙️ 🐧 systemd System and Service Manager ","fork":false,"url":"https://api.github.com/repos/systemd/systemd","forks_url":"https://api.github.com/repos/systemd/systemd/forks","keys_url":"https://api.github.com/repos/systemd/systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systemd/systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systemd/systemd/teams","hooks_url":"https://api.github.com/repos/systemd/systemd/hooks","issue_events_url":"https://api.github.com/repos/systemd/systemd/issues/events{/number}","events_url":"https://api.github.com/repos/systemd/systemd/events","assignees_url":"https://api.github.com/repos/systemd/systemd/assignees{/user}","branches_url":"https://api.github.com/repos/systemd/systemd/branches{/branch}","tags_url":"https://api.github.com/repos/systemd/systemd/tags","blobs_url":"https://api.github.com/repos/systemd/systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systemd/systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systemd/systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/systemd/systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systemd/systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/systemd/systemd/languages","stargazers_url":"https://api.github.com/repos/systemd/systemd/stargazers","contributors_url":"https://api.github.com/repos/systemd/systemd/contributors","subscribers_url":"https://api.github.com/repos/systemd/systemd/subscribers","subscription_url":"https://api.github.com/repos/systemd/systemd/subscription","commits_url":"https://api.github.com/repos/systemd/systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/systemd/systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/systemd/systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/systemd/systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/systemd/systemd/contents/{+path}","compare_url":"https://api.github.com/repos/systemd/systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systemd/systemd/merges","archive_url":"https://api.github.com/repos/systemd/systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systemd/systemd/downloads","issues_url":"https://api.github.com/repos/systemd/systemd/issues{/number}","pulls_url":"https://api.github.com/repos/systemd/systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/systemd/systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/systemd/systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systemd/systemd/labels{/name}","releases_url":"https://api.github.com/repos/systemd/systemd/releases{/id}","deployments_url":"https://api.github.com/repos/systemd/systemd/deployments","created_at":"2015-03-25T15:27:27Z","updated_at":"2018-10-09T19:12:15Z","pushed_at":"2018-10-09T21:29:27Z","git_url":"git://github.com/systemd/systemd.git","ssh_url":"git@github.com:systemd/systemd.git","clone_url":"https://github.com/systemd/systemd.git","svn_url":"https://github.com/systemd/systemd","homepage":"https://www.freedesktop.org/wiki/Software/systemd/","size":98646,"stargazers_count":3764,"watchers_count":3764,"language":"C","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1403,"mirror_url":null,"archived":false,"open_issues_count":1084,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":1403,"open_issues":1084,"watchers":3764,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/systemd/systemd/pulls/10062"},"html":{"href":"https://github.com/systemd/systemd/pull/10062"},"issue":{"href":"https://api.github.com/repos/systemd/systemd/issues/10062"},"comments":{"href":"https://api.github.com/repos/systemd/systemd/issues/10062/comments"},"review_comments":{"href":"https://api.github.com/repos/systemd/systemd/pulls/10062/comments"},"review_comment":{"href":"https://api.github.com/repos/systemd/systemd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systemd/systemd/pulls/10062/commits"},"statuses":{"href":"https://api.github.com/repos/systemd/systemd/statuses/084c7007804b08d13acc90bf3145c5ac82d1c8a1"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"poettering","id":2130732,"node_id":"MDQ6VXNlcjIxMzA3MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/2130732?v=4","gravatar_id":"","url":"https://api.github.com/users/poettering","html_url":"https://github.com/poettering","followers_url":"https://api.github.com/users/poettering/followers","following_url":"https://api.github.com/users/poettering/following{/other_user}","gists_url":"https://api.github.com/users/poettering/gists{/gist_id}","starred_url":"https://api.github.com/users/poettering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poettering/subscriptions","organizations_url":"https://api.github.com/users/poettering/orgs","repos_url":"https://api.github.com/users/poettering/repos","events_url":"https://api.github.com/users/poettering/events{/privacy}","received_events_url":"https://api.github.com/users/poettering/received_events","type":"User","site_admin":false},"comments":13,"review_comments":39,"maintainer_can_modify":false,"commits":4,"additions":431,"deletions":89,"changed_files":12}}
{"actor":{"display_login":"poettering"}}