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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user