syscall_emul.hh (11907:48a3d32da9d8) syscall_emul.hh (11908:2fd0307d03e9)
1/*
2 * Copyright (c) 2012-2013, 2015 ARM Limited
3 * Copyright (c) 2015 Advanced Micro Devices, Inc.
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

--- 227 unchanged lines hidden (view full) ---

236/// Target fchown() handler.
237SyscallReturn fchownFunc(SyscallDesc *desc, int num,
238 Process *p, ThreadContext *tc);
239
240/// Target dup() handler.
241SyscallReturn dupFunc(SyscallDesc *desc, int num,
242 Process *process, ThreadContext *tc);
243
1/*
2 * Copyright (c) 2012-2013, 2015 ARM Limited
3 * Copyright (c) 2015 Advanced Micro Devices, Inc.
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

--- 227 unchanged lines hidden (view full) ---

236/// Target fchown() handler.
237SyscallReturn fchownFunc(SyscallDesc *desc, int num,
238 Process *p, ThreadContext *tc);
239
240/// Target dup() handler.
241SyscallReturn dupFunc(SyscallDesc *desc, int num,
242 Process *process, ThreadContext *tc);
243
244/// Target dup2() handler.
245SyscallReturn dup2Func(SyscallDesc *desc, int num,
246 Process *process, ThreadContext *tc);
247
244/// Target fcntl() handler.
245SyscallReturn fcntlFunc(SyscallDesc *desc, int num,
246 Process *process, ThreadContext *tc);
247
248/// Target fcntl64() handler.
249SyscallReturn fcntl64Func(SyscallDesc *desc, int num,
250 Process *process, ThreadContext *tc);
251
252/// Target setuid() handler.
253SyscallReturn setuidFunc(SyscallDesc *desc, int num,
254 Process *p, ThreadContext *tc);
255
248/// Target fcntl() handler.
249SyscallReturn fcntlFunc(SyscallDesc *desc, int num,
250 Process *process, ThreadContext *tc);
251
252/// Target fcntl64() handler.
253SyscallReturn fcntl64Func(SyscallDesc *desc, int num,
254 Process *process, ThreadContext *tc);
255
256/// Target setuid() handler.
257SyscallReturn setuidFunc(SyscallDesc *desc, int num,
258 Process *p, ThreadContext *tc);
259
260/// Target pipe() handler.
261SyscallReturn pipeFunc(SyscallDesc *desc, int num,
262 Process *p, ThreadContext *tc);
263
264/// Internal pipe() handler.
265SyscallReturn pipeImpl(SyscallDesc *desc, int num, Process *p,
266 ThreadContext *tc, bool pseudoPipe);
267
256/// Target getpid() handler.
257SyscallReturn getpidFunc(SyscallDesc *desc, int num,
258 Process *p, ThreadContext *tc);
259
260/// Target getuid() handler.
261SyscallReturn getuidFunc(SyscallDesc *desc, int num,
262 Process *p, ThreadContext *tc);
263

--- 1702 unchanged lines hidden ---
268/// Target getpid() handler.
269SyscallReturn getpidFunc(SyscallDesc *desc, int num,
270 Process *p, ThreadContext *tc);
271
272/// Target getuid() handler.
273SyscallReturn getuidFunc(SyscallDesc *desc, int num,
274 Process *p, ThreadContext *tc);
275

--- 1702 unchanged lines hidden ---