add epoll_pwait to secomp profile

Last year golang changed from epoll_wait to epoll_pwait https://github.com/golang/go/issues/23750

This causes golang panic errors on mac when running secomp secure compiles using docker 18.09.1. It may start to become a problem on linux where we are running on 17.03.2-ce in production.
This commit is contained in:
Henry Oswald committed 2019-01-24 12:30:37 +00:00
1 parent ddaa944aa3
commit 12fee9e4df
1 file changed
+4
+4
View File
@@ -827,6 +827,10 @@
"name": "gettimeofday",
"action": "SCMP_ACT_ALLOW",
"args": []
}, {
"name": "epoll_pwait",
"action": "SCMP_ACT_ALLOW",
"args": []
}
]
}