process.hh (4434:2ea7b6e0b78f) process.hh (4793:315e1db6bd39)
1/*
2 * Copyright (c) 2001-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;

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

209 uint64_t __egid;
210
211 // pid of the process and it's parent
212 uint64_t __pid;
213 uint64_t __ppid;
214
215 public:
216
1/*
2 * Copyright (c) 2001-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;

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

209 uint64_t __egid;
210
211 // pid of the process and it's parent
212 uint64_t __pid;
213 uint64_t __ppid;
214
215 public:
216
217 enum AuxiliaryVectorType {
218 M5_AT_NULL = 0,
219 M5_AT_IGNORE = 1,
220 M5_AT_EXECFD = 2,
221 M5_AT_PHDR = 3,
222 M5_AT_PHENT = 4,
223 M5_AT_PHNUM = 5,
224 M5_AT_PAGESZ = 6,
225 M5_AT_BASE = 7,
226 M5_AT_FLAGS = 8,
227 M5_AT_ENTRY = 9,
228 M5_AT_NOTELF = 10,
229 M5_AT_UID = 11,
230 M5_AT_EUID = 12,
231 M5_AT_GID = 13,
232 M5_AT_EGID = 14,
233 // The following may be specific to Linux
234 M5_AT_PLATFORM = 15,
235 M5_AT_HWCAP = 16,
236 M5_AT_CLKTCK = 17,
237
238 M5_AT_SECURE = 23,
239
240 M5_AT_VECTOR_SIZE = 44
241 };
242
217 inline uint64_t uid() {return __uid;}
218 inline uint64_t euid() {return __euid;}
219 inline uint64_t gid() {return __gid;}
220 inline uint64_t egid() {return __egid;}
221 inline uint64_t pid() {return __pid;}
222 inline uint64_t ppid() {return __ppid;}
223
224 std::string

--- 36 unchanged lines hidden ---
243 inline uint64_t uid() {return __uid;}
244 inline uint64_t euid() {return __euid;}
245 inline uint64_t gid() {return __gid;}
246 inline uint64_t egid() {return __egid;}
247 inline uint64_t pid() {return __pid;}
248 inline uint64_t ppid() {return __ppid;}
249
250 std::string

--- 36 unchanged lines hidden ---