{"action":"created","issue":{"url":"https://api.github.com/repos/dynup/kpatch/issues/477","labels_url":"https://api.github.com/repos/dynup/kpatch/issues/477/labels{/name}","comments_url":"https://api.github.com/repos/dynup/kpatch/issues/477/comments","events_url":"https://api.github.com/repos/dynup/kpatch/issues/477/events","html_url":"https://github.com/dynup/kpatch/pull/477","id":55098331,"number":477,"title":"add livepatch API support","user":{"login":"spartacus06","id":493891,"avatar_url":"https://avatars.githubusercontent.com/u/493891?v=3","gravatar_id":"","url":"https://api.github.com/users/spartacus06","html_url":"https://github.com/spartacus06","followers_url":"https://api.github.com/users/spartacus06/followers","following_url":"https://api.github.com/users/spartacus06/following{/other_user}","gists_url":"https://api.github.com/users/spartacus06/gists{/gist_id}","starred_url":"https://api.github.com/users/spartacus06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spartacus06/subscriptions","organizations_url":"https://api.github.com/users/spartacus06/orgs","repos_url":"https://api.github.com/users/spartacus06/repos","events_url":"https://api.github.com/users/spartacus06/events{/privacy}","received_events_url":"https://api.github.com/users/spartacus06/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-22T00:30:36Z","updated_at":"2015-01-22T16:41:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dynup/kpatch/pulls/477","html_url":"https://github.com/dynup/kpatch/pull/477","diff_url":"https://github.com/dynup/kpatch/pull/477.diff","patch_url":"https://github.com/dynup/kpatch/pull/477.patch"},"body":"Adds a new patch module scaffold for use when building against a kernel\r\nwith CONFIG_LIVE_PATCHING=y.\r\n\r\nFixes issue #476\r\n\r\nSigned-off-by: Seth Jennings <sjenning@redhat.com>"},"comment":{"url":"https://api.github.com/repos/dynup/kpatch/issues/comments/71051509","html_url":"https://github.com/dynup/kpatch/pull/477#issuecomment-71051509","issue_url":"https://api.github.com/repos/dynup/kpatch/issues/477","id":71051509,"user":{"login":"spartacus06","id":493891,"avatar_url":"https://avatars.githubusercontent.com/u/493891?v=3","gravatar_id":"","url":"https://api.github.com/users/spartacus06","html_url":"https://github.com/spartacus06","followers_url":"https://api.github.com/users/spartacus06/followers","following_url":"https://api.github.com/users/spartacus06/following{/other_user}","gists_url":"https://api.github.com/users/spartacus06/gists{/gist_id}","starred_url":"https://api.github.com/users/spartacus06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spartacus06/subscriptions","organizations_url":"https://api.github.com/users/spartacus06/orgs","repos_url":"https://api.github.com/users/spartacus06/repos","events_url":"https://api.github.com/users/spartacus06/events{/privacy}","received_events_url":"https://api.github.com/users/spartacus06/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T16:41:55Z","updated_at":"2015-01-22T16:41:55Z","body":"Regarding making the klp_patch structure at build time, I think that would be quite an undertaking.  You'd need a separate program to read in the all the kpatch sections from all of the changed objects, create the section that contains the klp_patch structure, and exclude the (now temporary) kpatch section from the final linking.  I'm pretty confident that it would be more code than this scaffold."}}