Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: src/nonsfi/linux/linux_sys_private.c

Issue 424763007: Non-SFI Mode: Centralise test whitelists; move to Scons (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/nonsfi/irt/irt_interfaces.c ('k') | src/nonsfi/linux/linux_syscalls.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/nonsfi/linux/linux_sys_private.c
diff --git a/src/nonsfi/linux/linux_sys_private.c b/src/nonsfi/linux/linux_sys_private.c
index d7e0b976d42eed03d8faadc6b69be88dae625e76..ec27047ffe88df89bbfc12ad3a3b75fda5fff1b5 100644
--- a/src/nonsfi/linux/linux_sys_private.c
+++ b/src/nonsfi/linux/linux_sys_private.c
@@ -353,6 +353,10 @@ int fcntl(int fd, int cmd, ...) {
return -1;
}
+int getpid(void) {
+ return errno_value_call(linux_syscall0(__NR_getpid));
+}
+
int fork(void) {
/* Set SIGCHLD as flag so we can wait. */
return errno_value_call(
« no previous file with comments | « src/nonsfi/irt/irt_interfaces.c ('k') | src/nonsfi/linux/linux_syscalls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698