linux.hh (11851:824055fe6b30) | linux.hh (11907:48a3d32da9d8) |
---|---|
1/* 2 * Copyright (c) 2004-2009 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; --- 212 unchanged lines hidden (view full) --- 221 int64_t ru_nsignals; //!< signals received 222 int64_t ru_nvcsw; //!< voluntary context switches 223 int64_t ru_nivcsw; //!< involuntary " 224 }; 225 226 static int openSpecialFile(std::string path, Process *process, 227 ThreadContext *tc); 228 static std::string procMeminfo(Process *process, ThreadContext *tc); | 1/* 2 * Copyright (c) 2004-2009 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; --- 212 unchanged lines hidden (view full) --- 221 int64_t ru_nsignals; //!< signals received 222 int64_t ru_nvcsw; //!< voluntary context switches 223 int64_t ru_nivcsw; //!< involuntary " 224 }; 225 226 static int openSpecialFile(std::string path, Process *process, 227 ThreadContext *tc); 228 static std::string procMeminfo(Process *process, ThreadContext *tc); |
229 static std::string etcPasswd(Process *process, ThreadContext *tc); |
|
229 230 // For futex system call 231 static const unsigned TGT_FUTEX_WAIT = 0; 232 static const unsigned TGT_FUTEX_WAKE = 1; 233 static const unsigned TGT_EAGAIN = 11; 234 static const unsigned TGT_EWOULDBLOCK = TGT_EAGAIN; 235 static const unsigned TGT_FUTEX_PRIVATE_FLAG = 128; 236 --- 32 unchanged lines hidden --- | 230 231 // For futex system call 232 static const unsigned TGT_FUTEX_WAIT = 0; 233 static const unsigned TGT_FUTEX_WAKE = 1; 234 static const unsigned TGT_EAGAIN = 11; 235 static const unsigned TGT_EWOULDBLOCK = TGT_EAGAIN; 236 static const unsigned TGT_FUTEX_PRIVATE_FLAG = 128; 237 --- 32 unchanged lines hidden --- |