diff options
-rw-r--r-- | sandbox-seccomp-filter.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c index 6e7de3114..e86aa2c91 100644 --- a/sandbox-seccomp-filter.c +++ b/sandbox-seccomp-filter.c | |||
@@ -175,6 +175,18 @@ static const struct sock_filter preauth_insns[] = { | |||
175 | #ifdef __NR_getpid | 175 | #ifdef __NR_getpid |
176 | SC_ALLOW(__NR_getpid), | 176 | SC_ALLOW(__NR_getpid), |
177 | #endif | 177 | #endif |
178 | #ifdef __NR_getuid | ||
179 | SC_ALLOW(__NR_getuid), | ||
180 | #endif | ||
181 | #ifdef __NR_getuid32 | ||
182 | SC_ALLOW(__NR_getuid32), | ||
183 | #endif | ||
184 | #ifdef __NR_geteuid | ||
185 | SC_ALLOW(__NR_geteuid), | ||
186 | #endif | ||
187 | #ifdef __NR_geteuid32 | ||
188 | SC_ALLOW(__NR_geteuid32), | ||
189 | #endif | ||
178 | #ifdef __NR_getrandom | 190 | #ifdef __NR_getrandom |
179 | SC_ALLOW(__NR_getrandom), | 191 | SC_ALLOW(__NR_getrandom), |
180 | #endif | 192 | #endif |