1/* 2 * Copyright (c) 2003-2004 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; --- 34 unchanged lines hidden (view full) --- 43{ 44 public: 45 /// Constructor. 46 SparcLinuxProcess(const std::string &name, 47 ObjectFile *objFile, 48 System * system, 49 int stdin_fd, int stdout_fd, int stderr_fd, 50 std::vector<std::string> &argv, |
51 std::vector<std::string> &envp, 52 uint64_t _uid, uint64_t _euid, 53 uint64_t _gid, uint64_t _egid, 54 uint64_t _pid, uint64_t _ppid); |
55 56 virtual SyscallDesc* getDesc(int callnum); 57 58 /// The target system's hostname. 59 static const char *hostname; 60 61 /// Array of syscall descriptors, indexed by call number. 62 static SyscallDesc syscallDescs[]; 63 64 const int Num_Syscall_Descs; 65}; 66 67SyscallReturn getresuidFunc(SyscallDesc *desc, int num, |
68 LiveProcess *p, ThreadContext *tc); |
69 70} // namespace SparcISA 71#endif // __ALPHA_LINUX_PROCESS_HH__ |