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;
--- 139 unchanged lines hidden (view full) ---
148 };
149
150 // For writev/readv
151 struct tgt_iovec {
152 uint64_t iov_base; // void *
153 uint64_t iov_len;
154 };
155
156 //@{
157 /// ioctl() command codes.
158 static const unsigned TGT_TCGETS = 0x5401;
159 static const unsigned TGT_TCGETA = 0x5405;
160 static const unsigned TGT_TCSETAW = 0x5407;
161 static const unsigned TGT_FIONREAD = 0x541B;
162 //@}
163
--- 96 unchanged lines hidden (view full) ---
260 static const unsigned TGT_CLONE_UNTRACED = 0x00800000;
261 static const unsigned TGT_CLONE_CHILD_SETTID = 0x01000000;
262 static const unsigned TGT_CLONE_NEWUTS = 0x04000000;
263 static const unsigned TGT_CLONE_NEWIPC = 0x08000000;
264 static const unsigned TGT_CLONE_NEWUSER = 0x10000000;
265 static const unsigned TGT_CLONE_NEWPID = 0x20000000;
266 static const unsigned TGT_CLONE_NEWNET = 0x40000000;
267 static const unsigned TGT_CLONE_IO = 0x80000000;
268}; // class Linux
269
270#endif // __LINUX_HH__
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;
--- 139 unchanged lines hidden (view full) ---
148 };
149
150 // For writev/readv
151 struct tgt_iovec {
152 uint64_t iov_base; // void *
153 uint64_t iov_len;
154 };
155
156 //@{
157 /// ioctl() command codes.
158 static const unsigned TGT_TCGETS = 0x5401;
159 static const unsigned TGT_TCGETA = 0x5405;
160 static const unsigned TGT_TCSETAW = 0x5407;
161 static const unsigned TGT_FIONREAD = 0x541B;
162 //@}
163
--- 96 unchanged lines hidden (view full) ---
260 static const unsigned TGT_CLONE_UNTRACED = 0x00800000;
261 static const unsigned TGT_CLONE_CHILD_SETTID = 0x01000000;
262 static const unsigned TGT_CLONE_NEWUTS = 0x04000000;
263 static const unsigned TGT_CLONE_NEWIPC = 0x08000000;
264 static const unsigned TGT_CLONE_NEWUSER = 0x10000000;
265 static const unsigned TGT_CLONE_NEWPID = 0x20000000;
266 static const unsigned TGT_CLONE_NEWNET = 0x40000000;
267 static const unsigned TGT_CLONE_IO = 0x80000000;
268}; // class Linux
269
270#endif // __LINUX_HH__