syscall_emul.hh (5282:2dba627b6646) syscall_emul.hh (5513:8631b29873a2)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

218/// Target munmap() handler.
219SyscallReturn munmapFunc(SyscallDesc *desc, int num,
220 LiveProcess *p, ThreadContext *tc);
221
222/// Target gethostname() handler.
223SyscallReturn gethostnameFunc(SyscallDesc *desc, int num,
224 LiveProcess *p, ThreadContext *tc);
225
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

218/// Target munmap() handler.
219SyscallReturn munmapFunc(SyscallDesc *desc, int num,
220 LiveProcess *p, ThreadContext *tc);
221
222/// Target gethostname() handler.
223SyscallReturn gethostnameFunc(SyscallDesc *desc, int num,
224 LiveProcess *p, ThreadContext *tc);
225
226/// Target getcwd() handler.
227SyscallReturn getcwdFunc(SyscallDesc *desc, int num,
228 LiveProcess *p, ThreadContext *tc);
229
226/// Target unlink() handler.
230/// Target unlink() handler.
231SyscallReturn readlinkFunc(SyscallDesc *desc, int num,
232 LiveProcess *p, ThreadContext *tc);
233
234/// Target unlink() handler.
227SyscallReturn unlinkFunc(SyscallDesc *desc, int num,
228 LiveProcess *p, ThreadContext *tc);
229
235SyscallReturn unlinkFunc(SyscallDesc *desc, int num,
236 LiveProcess *p, ThreadContext *tc);
237
238/// Target mkdir() handler.
239SyscallReturn mkdirFunc(SyscallDesc *desc, int num,
240 LiveProcess *p, ThreadContext *tc);
241
230/// Target rename() handler.
231SyscallReturn renameFunc(SyscallDesc *desc, int num,
232 LiveProcess *p, ThreadContext *tc);
233
234
235/// Target truncate() handler.
236SyscallReturn truncateFunc(SyscallDesc *desc, int num,
237 LiveProcess *p, ThreadContext *tc);
238
239
240/// Target ftruncate() handler.
241SyscallReturn ftruncateFunc(SyscallDesc *desc, int num,
242 LiveProcess *p, ThreadContext *tc);
243
244
242/// Target rename() handler.
243SyscallReturn renameFunc(SyscallDesc *desc, int num,
244 LiveProcess *p, ThreadContext *tc);
245
246
247/// Target truncate() handler.
248SyscallReturn truncateFunc(SyscallDesc *desc, int num,
249 LiveProcess *p, ThreadContext *tc);
250
251
252/// Target ftruncate() handler.
253SyscallReturn ftruncateFunc(SyscallDesc *desc, int num,
254 LiveProcess *p, ThreadContext *tc);
255
256
257/// Target umask() handler.
258SyscallReturn umaskFunc(SyscallDesc *desc, int num,
259 LiveProcess *p, ThreadContext *tc);
260
261
245/// Target chown() handler.
246SyscallReturn chownFunc(SyscallDesc *desc, int num,
247 LiveProcess *p, ThreadContext *tc);
248
249
250/// Target fchown() handler.
251SyscallReturn fchownFunc(SyscallDesc *desc, int num,
252 LiveProcess *p, ThreadContext *tc);

--- 771 unchanged lines hidden ---
262/// Target chown() handler.
263SyscallReturn chownFunc(SyscallDesc *desc, int num,
264 LiveProcess *p, ThreadContext *tc);
265
266
267/// Target fchown() handler.
268SyscallReturn fchownFunc(SyscallDesc *desc, int num,
269 LiveProcess *p, ThreadContext *tc);

--- 771 unchanged lines hidden ---