linux.hh (13570:b6484720c6a9) | linux.hh (13642:253cda14088e) |
---|---|
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; --- 225 unchanged lines hidden (view full) --- 234 235 static int openSpecialFile(std::string path, Process *process, 236 ThreadContext *tc); 237 static std::string procMeminfo(Process *process, ThreadContext *tc); 238 static std::string etcPasswd(Process *process, ThreadContext *tc); 239 static std::string cpuOnline(Process *process, ThreadContext *tc); 240 241 // For futex system call | 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; --- 225 unchanged lines hidden (view full) --- 234 235 static int openSpecialFile(std::string path, Process *process, 236 ThreadContext *tc); 237 static std::string procMeminfo(Process *process, ThreadContext *tc); 238 static std::string etcPasswd(Process *process, ThreadContext *tc); 239 static std::string cpuOnline(Process *process, ThreadContext *tc); 240 241 // For futex system call |
242 static const unsigned TGT_FUTEX_WAIT = 0; 243 static const unsigned TGT_FUTEX_WAKE = 1; 244 static const unsigned TGT_EAGAIN = 11; 245 static const unsigned TGT_EWOULDBLOCK = TGT_EAGAIN; 246 static const unsigned TGT_FUTEX_PRIVATE_FLAG = 128; | 242 static const unsigned TGT_FUTEX_WAIT = 0; 243 static const unsigned TGT_FUTEX_WAKE = 1; 244 static const unsigned TGT_FUTEX_WAIT_BITSET = 9; 245 static const unsigned TGT_FUTEX_WAKE_BITSET = 10; 246 static const unsigned TGT_EAGAIN = 11; 247 static const unsigned TGT_EWOULDBLOCK = TGT_EAGAIN; 248 static const unsigned TGT_FUTEX_PRIVATE_FLAG = 128; 249 static const unsigned TGT_FUTEX_CLOCK_REALTIME_FLAG = 256; |
247 248 // for *at syscalls 249 static const int TGT_AT_FDCWD = -100; 250 251 // for MREMAP 252 static const unsigned TGT_MREMAP_MAYMOVE = 0x1; 253 static const unsigned TGT_MREMAP_FIXED = 0x2; 254 --- 33 unchanged lines hidden --- | 250 251 // for *at syscalls 252 static const int TGT_AT_FDCWD = -100; 253 254 // for MREMAP 255 static const unsigned TGT_MREMAP_MAYMOVE = 0x1; 256 static const unsigned TGT_MREMAP_FIXED = 0x2; 257 --- 33 unchanged lines hidden --- |