diff options
Diffstat (limited to 'src/sim/syscall_emul.hh')
-rw-r--r-- | src/sim/syscall_emul.hh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh index d379bbe85..d75841cc6 100644 --- a/src/sim/syscall_emul.hh +++ b/src/sim/syscall_emul.hh @@ -241,6 +241,10 @@ SyscallReturn fchownFunc(SyscallDesc *desc, int num, SyscallReturn dupFunc(SyscallDesc *desc, int num, Process *process, ThreadContext *tc); +/// Target dup2() handler. +SyscallReturn dup2Func(SyscallDesc *desc, int num, + Process *process, ThreadContext *tc); + /// Target fcntl() handler. SyscallReturn fcntlFunc(SyscallDesc *desc, int num, Process *process, ThreadContext *tc); @@ -253,6 +257,14 @@ SyscallReturn fcntl64Func(SyscallDesc *desc, int num, SyscallReturn setuidFunc(SyscallDesc *desc, int num, Process *p, ThreadContext *tc); +/// Target pipe() handler. +SyscallReturn pipeFunc(SyscallDesc *desc, int num, + Process *p, ThreadContext *tc); + +/// Internal pipe() handler. +SyscallReturn pipeImpl(SyscallDesc *desc, int num, Process *p, + ThreadContext *tc, bool pseudoPipe); + /// Target getpid() handler. SyscallReturn getpidFunc(SyscallDesc *desc, int num, Process *p, ThreadContext *tc); |