syscall_emul: [patch 14/22] adds identifier system calls

This changeset add fields to the process object and adds the following
three system calls: setpgid, gettid, getpid.
This commit is contained in:
Brandon Potter
2017-02-27 14:10:02 -05:00
parent f5656738dc
commit 073cb26607
8 changed files with 75 additions and 13 deletions

View File

@@ -26,7 +26,8 @@
#
# Authors: Korey Sewell
process1 = Process(cmd = 'hello', executable = binpath('hello'))
process2 = Process(cmd = 'hello', executable = binpath('hello'))
process1 = Process(cmd = 'hello', executable = binpath('hello'), pid = 100)
process2 = Process(cmd = 'hello', executable = binpath('hello'),
pid = 101, ppid = 100)
root.system.cpu[0].workload = [process1, process2]