linux.hh (11382:654272b82e94) | linux.hh (11383:5ac090acd180) |
---|---|
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * Copyright (c) 2009 The University of Edinburgh 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 150 unchanged lines hidden (view full) --- 159 static const int TGT_O_NOFOLLOW = 000100000; //!< O_NOFOLLOW 160 static const int TGT_O_NOATIME = 001000000; //!< O_NOATIME 161 static const int TGT_O_CLOEXEC = 002000000; //!< O_CLOEXEC 162 static const int TGT_O_SYNC = 004010000; //!< O_SYNC 163 static const int TGT_O_PATH = 010000000; //!< O_PATH 164 //@} 165 166 /// For mmap(). | 1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * Copyright (c) 2009 The University of Edinburgh 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 150 unchanged lines hidden (view full) --- 159 static const int TGT_O_NOFOLLOW = 000100000; //!< O_NOFOLLOW 160 static const int TGT_O_NOATIME = 001000000; //!< O_NOATIME 161 static const int TGT_O_CLOEXEC = 002000000; //!< O_CLOEXEC 162 static const int TGT_O_SYNC = 004010000; //!< O_SYNC 163 static const int TGT_O_PATH = 010000000; //!< O_PATH 164 //@} 165 166 /// For mmap(). |
167 static const unsigned TGT_MAP_ANONYMOUS = 0x20; 168 static const unsigned TGT_MAP_FIXED = 0x10; | 167 static SyscallFlagTransTable mmapFlagTable[]; |
169 | 168 |
169 static const unsigned TGT_MAP_SHARED = 0x00001; 170 static const unsigned TGT_MAP_PRIVATE = 0x00002; 171 static const unsigned TGT_MAP_ANON = 0x00020; 172 static const unsigned TGT_MAP_DENYWRITE = 0x00800; 173 static const unsigned TGT_MAP_EXECUTABLE = 0x01000; 174 static const unsigned TGT_MAP_FILE = 0x00000; 175 static const unsigned TGT_MAP_GROWSDOWN = 0x00100; 176 static const unsigned TGT_MAP_HUGETLB = 0x40000; 177 static const unsigned TGT_MAP_LOCKED = 0x00080; 178 static const unsigned TGT_MAP_NONBLOCK = 0x10000; 179 static const unsigned TGT_MAP_NORESERVE = 0x00040; 180 static const unsigned TGT_MAP_POPULATE = 0x08000; 181 static const unsigned TGT_MAP_STACK = 0x20000; 182 static const unsigned TGT_MAP_ANONYMOUS = 0x00020; 183 static const unsigned TGT_MAP_FIXED = 0x00010; 184 185 static const unsigned NUM_MMAP_FLAGS; 186 |
|
170 //@{ 171 /// ioctl() command codes. 172 static const unsigned TGT_TIOCGETP = 0x40067408; 173 static const unsigned TGT_TIOCSETP = 0x80067409; 174 static const unsigned TGT_TIOCSETN = 0x8006740a; 175 static const unsigned TGT_TIOCSETC = 0x80067411; 176 static const unsigned TGT_TIOCGETC = 0x40067412; 177 static const unsigned TGT_FIONREAD = 0x4004667f; --- 25 unchanged lines hidden --- | 187 //@{ 188 /// ioctl() command codes. 189 static const unsigned TGT_TIOCGETP = 0x40067408; 190 static const unsigned TGT_TIOCSETP = 0x80067409; 191 static const unsigned TGT_TIOCSETN = 0x8006740a; 192 static const unsigned TGT_TIOCSETC = 0x80067411; 193 static const unsigned TGT_TIOCGETC = 0x40067412; 194 static const unsigned TGT_FIONREAD = 0x4004667f; --- 25 unchanged lines hidden --- |