BarryServer : Git

All the code for all my projects
// BarryServer : Git / Orion / commit / 7ae31b03c38925f5d527e6303765925586731209 / task / syscall.c

// Related

Orion

Barry Moving signal handlers into separate namespace 7ae31b0 (2 years, 4 months ago)
diff --git a/task/syscall.c b/task/syscall.c
index d43542d..30e1a7b 100644
--- a/task/syscall.c
+++ b/task/syscall.c
@@ -14,25 +14,27 @@
 /* List of syscalls */
 void *syscalls[] = {
 	/* Tasking */
-	[SYSCALL_DBGPRINTF] = dbgprintf,
-	[SYSCALL_CLONE]     = clone,
-	[SYSCALL_EXIT]      = exit,
-	[SYSCALL_GETPID]    = getpid,
-	[SYSCALL_GETUID]    = getuid,
-	[SYSCALL_SETUID]    = setuid,
-	[SYSCALL_GETEUID]   = geteuid,
-	[SYSCALL_SETEUID]   = seteuid,
-	[SYSCALL_GETGID]    = getgid,
-	[SYSCALL_SETGID]    = setgid,
-	[SYSCALL_GETEGID]   = getegid,
-	[SYSCALL_SETEGID]   = setegid,
-	[SYSCALL_EXECVE]    = execve,
-	[SYSCALL_WAITPID]   = waitpid,
-	[SYSCALL_TGKILL]    = tgkill,
-	[SYSCALL_KILL]      = kill,
-	[SYSCALL_TIME]      = time,
-	[SYSCALL_TIMES]     = times,
-	[SYSCALL_SLEEP]     = sleep,
+	[SYSCALL_DBGPRINTF]   = dbgprintf,
+	[SYSCALL_CLONE]       = clone,
+	[SYSCALL_EXIT]        = exit,
+	[SYSCALL_GETPID]      = getpid,
+	[SYSCALL_GETUID]      = getuid,
+	[SYSCALL_SETUID]      = setuid,
+	[SYSCALL_GETEUID]     = geteuid,
+	[SYSCALL_SETEUID]     = seteuid,
+	[SYSCALL_GETGID]      = getgid,
+	[SYSCALL_SETGID]      = setgid,
+	[SYSCALL_GETEGID]     = getegid,
+	[SYSCALL_SETEGID]     = setegid,
+	[SYSCALL_EXECVE]      = execve,
+	[SYSCALL_WAITPID]     = waitpid,
+	[SYSCALL_TGKILL]      = tgkill,
+	[SYSCALL_KILL]        = kill,
+	[SYSCALL_SIGNAL]      = signal,
+	[SYSCALL_SIGPROCMASK] = sigprocmask,
+	[SYSCALL_TIME]        = time,
+	[SYSCALL_TIMES]       = times,
+	[SYSCALL_SLEEP]       = sleep,
 
 	/* Files */
 	[SYSCALL_OPEN]     = open,