solaris.hh (11381:516213d2f0cf) solaris.hh (11383:5ac090acd180)
1/*
2 * Copyright (c) 2003-2005 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;

--- 44 unchanged lines hidden (view full) ---

53 static const int TGT_O_CREAT = 0x00000100; //!< O_CREAT
54 static const int TGT_O_TRUNC = 0x00000200; //!< O_TRUNC
55 static const int TGT_O_EXCL = 0x00000400; //!< O_EXCL
56 static const int TGT_O_NOCTTY = 0x00000800; //!< O_NOCTTY
57 static const int TGT_O_XATTR = 0x00004000; //??
58
59 static const int NUM_OPEN_FLAGS;
60
1/*
2 * Copyright (c) 2003-2005 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;

--- 44 unchanged lines hidden (view full) ---

53 static const int TGT_O_CREAT = 0x00000100; //!< O_CREAT
54 static const int TGT_O_TRUNC = 0x00000200; //!< O_TRUNC
55 static const int TGT_O_EXCL = 0x00000400; //!< O_EXCL
56 static const int TGT_O_NOCTTY = 0x00000800; //!< O_NOCTTY
57 static const int TGT_O_XATTR = 0x00004000; //??
58
59 static const int NUM_OPEN_FLAGS;
60
61 static const unsigned TGT_MAP_ANONYMOUS = 0x100;
62 static const unsigned TGT_MAP_FIXED = 0x10;
61 /// For mmap().
62 static SyscallFlagTransTable mmapFlagTable[];
63
64 static const unsigned TGT_MAP_SHARED = 0x00001;
65 static const unsigned TGT_MAP_PRIVATE = 0x00002;
66 static const unsigned TGT_MAP_32BIT = 0x00040;
67 static const unsigned TGT_MAP_ANON = 0x00020;
68 static const unsigned TGT_MAP_DENYWRITE = 0x00800;
69 static const unsigned TGT_MAP_EXECUTABLE = 0x01000;
70 static const unsigned TGT_MAP_FILE = 0x00000;
71 static const unsigned TGT_MAP_GROWSDOWN = 0x00100;
72 static const unsigned TGT_MAP_HUGETLB = 0x40000;
73 static const unsigned TGT_MAP_LOCKED = 0x02000;
74 static const unsigned TGT_MAP_NONBLOCK = 0x10000;
75 static const unsigned TGT_MAP_NORESERVE = 0x04000;
76 static const unsigned TGT_MAP_POPULATE = 0x08000;
77 static const unsigned TGT_MAP_STACK = 0x20000;
78 static const unsigned TGT_MAP_ANONYMOUS = 0x00020;
79 static const unsigned TGT_MAP_FIXED = 0x00010;
80
81 static const unsigned NUM_MMAP_FLAGS;
63};
64
65#endif
82};
83
84#endif