{"action":"closed","issue":{"url":"https://api.github.com/repos/cloudius-systems/osv/issues/625","labels_url":"https://api.github.com/repos/cloudius-systems/osv/issues/625/labels{/name}","comments_url":"https://api.github.com/repos/cloudius-systems/osv/issues/625/comments","events_url":"https://api.github.com/repos/cloudius-systems/osv/issues/625/events","html_url":"https://github.com/cloudius-systems/osv/issues/625","id":71812724,"number":625,"title":"missing syscall(__NR_sched_getaffinity)","user":{"login":"nyh","id":584227,"avatar_url":"https://avatars.githubusercontent.com/u/584227?v=3","gravatar_id":"","url":"https://api.github.com/users/nyh","html_url":"https://github.com/nyh","followers_url":"https://api.github.com/users/nyh/followers","following_url":"https://api.github.com/users/nyh/following{/other_user}","gists_url":"https://api.github.com/users/nyh/gists{/gist_id}","starred_url":"https://api.github.com/users/nyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyh/subscriptions","organizations_url":"https://api.github.com/users/nyh/orgs","repos_url":"https://api.github.com/users/nyh/repos","events_url":"https://api.github.com/users/nyh/events{/privacy}","received_events_url":"https://api.github.com/users/nyh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-29T08:23:22Z","updated_at":"2015-04-30T07:12:20Z","closed_at":"2015-04-30T07:12:20Z","body":"The Linux libnuma (part of the numactl package) calls several system calls through the syscall() function. For example, OpenMPI uses libnuma, and ends up crashing on startup because of missing syscall() 204 (__NR_sched_getaffinity).\r\n\r\nSo we need to implement __NR_sched_getaffinity.\r\n\r\nlibnuma also needs (but we haven't seen yet a crash on this) __NR_sched_setaffinity, __NR_mbind, __NR_set_mempolicy, __NR_migrate_pages and __NR_move_pages. We already implemented __NR_get_mempolicy in an earlier patch (for the same reason)."}}