summaryrefslogtreecommitdiff
path: root/tests/seccomp.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-02-27 17:56:36 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-02-27 17:56:51 +0100
commit3cd9f45d01a0a56ef68cc6817b75a3ddabaf0a7c (patch)
treed868b253198362f31f4313fcebeba47a0422206a /tests/seccomp.c
parent506ada3459b8e162865bfd7bb89698a457aaaae6 (diff)
downloadgnutls-3cd9f45d01a0a56ef68cc6817b75a3ddabaf0a7c.tar.gz
added getpid() to the list of system calls used
Diffstat (limited to 'tests/seccomp.c')
-rw-r--r--tests/seccomp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/seccomp.c b/tests/seccomp.c
index f5c0f2a766..b68fcd7efa 100644
--- a/tests/seccomp.c
+++ b/tests/seccomp.c
@@ -50,6 +50,7 @@ int disable_system_calls(void)
ADD_SYSCALL(nanosleep, 0);
ADD_SYSCALL(time, 0);
+ ADD_SYSCALL(getpid, 0);
ADD_SYSCALL(gettimeofday, 0);
#if defined(HAVE_CLOCK_GETTIME)
ADD_SYSCALL(clock_gettime, 0);