Merge pull request #95 from szanni/seccomp-filter-fix

Add newfstatat() syscall to seccomp filter allow list.
This commit is contained in:
Kristaps Dz authored and GitHub committed 2021-09-23 15:40:08 +02:00
commit c37614ff8a
1 file changed
+3
+3
View File
@@ -173,6 +173,9 @@ static const struct sock_filter preauth_work[] = {
SC_ALLOW(readv),
SC_ALLOW(lseek), /* for kutil_openlog logging */
SC_ALLOW(fstat), /* for kutil_openlog logging */
#ifdef __NR_newfstatat
SC_ALLOW(newfstatat), /* for kutil_openlog logging */
#endif
SC_ALLOW(write),
SC_ALLOW(writev),
SC_ALLOW(close),