linux.hh (10796:5bcba8001c7e) linux.hh (11382:654272b82e94)
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 static const unsigned TGT_FUTEX_PRIVATE_FLAG = 128;
235
236 // for *at syscalls
237 static const int TGT_AT_FDCWD = -100;
238
239 // for MREMAP
240 static const unsigned TGT_MREMAP_MAYMOVE = 0x1;
241 static const unsigned TGT_MREMAP_FIXED = 0x2;
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 static const unsigned TGT_FUTEX_PRIVATE_FLAG = 128;
235
236 // for *at syscalls
237 static const int TGT_AT_FDCWD = -100;
238
239 // for MREMAP
240 static const unsigned TGT_MREMAP_MAYMOVE = 0x1;
241 static const unsigned TGT_MREMAP_FIXED = 0x2;
242
243 static const unsigned TGT_CLONE_VM = 0x00000100;
244 static const unsigned TGT_CLONE_FS = 0x00000200;
245 static const unsigned TGT_CLONE_FILES = 0x00000400;
246 static const unsigned TGT_CLONE_SIGHAND = 0x00000800;
247 static const unsigned TGT_CLONE_PTRACE = 0x00002000;
248 static const unsigned TGT_CLONE_VFORK = 0x00004000;
249 static const unsigned TGT_CLONE_PARENT = 0x00008000;
250 static const unsigned TGT_CLONE_THREAD = 0x00010000;
251 static const unsigned TGT_CLONE_NEWNS = 0x00020000;
252 static const unsigned TGT_CLONE_SYSVSEM = 0x00040000;
253 static const unsigned TGT_CLONE_SETTLS = 0x00080000;
254 static const unsigned TGT_CLONE_PARENT_SETTID = 0x00100000;
255 static const unsigned TGT_CLONE_CHILD_CLEARTID = 0x00200000;
256 static const unsigned TGT_CLONE_DETACHED = 0x00400000;
257 static const unsigned TGT_CLONE_UNTRACED = 0x00800000;
258 static const unsigned TGT_CLONE_CHILD_SETTID = 0x01000000;
259 static const unsigned TGT_CLONE_NEWUTS = 0x04000000;
260 static const unsigned TGT_CLONE_NEWIPC = 0x08000000;
261 static const unsigned TGT_CLONE_NEWUSER = 0x10000000;
262 static const unsigned TGT_CLONE_NEWPID = 0x20000000;
263 static const unsigned TGT_CLONE_NEWNET = 0x40000000;
264 static const unsigned TGT_CLONE_IO = 0x80000000;
242}; // class Linux
243
244#endif // __LINUX_HH__
265}; // class Linux
266
267#endif // __LINUX_HH__