]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
added getpid() to the list of system calls used
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 27 Feb 2016 16:56:36 +0000 (17:56 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 27 Feb 2016 16:56:51 +0000 (17:56 +0100)
doc/cha-gtls-app.texi
tests/seccomp.c

index 124451f6b61cba88557a62a88395acff3f420dbe..5fec95c5d56f8fc339bd1e4752e32b9c23f39acf 100644 (file)
@@ -256,6 +256,7 @@ operation.
 @item gettimeofday
 @item clock_gettime
 @item getrusage
+@item getpid
 @item send
 @item recv
 @item sendmsg
index f5c0f2a7662b6d88ee8d6046d8fa5cab0e027a71..b68fcd7efabf80bc58621fe3c9de257c59636154 100644 (file)
@@ -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);