linux.hh (6341:46819ffe2778) linux.hh (6395:05f1d2cd7e9e)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007-2008 The Florida State University
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

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

118 TGT_RLIMIT_AS = 6,
119 TGT_RLIMIT_RSS = 7,
120 TGT_RLIMIT_VMEM = 7,
121 TGT_RLIMIT_NPROC = 8,
122 TGT_RLIMIT_MEMLOCK = 9,
123 TGT_RLIMIT_LOCKS = 10
124 };
125
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007-2008 The Florida State University
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

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

118 TGT_RLIMIT_AS = 6,
119 TGT_RLIMIT_RSS = 7,
120 TGT_RLIMIT_VMEM = 7,
121 TGT_RLIMIT_NPROC = 8,
122 TGT_RLIMIT_MEMLOCK = 9,
123 TGT_RLIMIT_LOCKS = 10
124 };
125
126 typedef struct {
127 uint32_t st_dev;
128 uint32_t st_ino;
129 uint16_t st_mode;
130 uint16_t st_nlink;
131 uint16_t st_uid;
132 uint16_t st_gid;
133 uint32_t st_rdev;
134 uint32_t st_size;
135 uint32_t st_blksize;
136 uint32_t st_blocks;
137 uint32_t st_atimeX;
138 uint32_t st_atime_nsec;
139 uint32_t st_mtimeX;
140 uint32_t st_mtime_nsec;
141 uint32_t st_ctimeX;
142 uint32_t st_ctime_nsec;
143 } tgt_stat;
144
145 typedef struct {
146 uint64_t st_dev;
147 uint8_t __pad0[4];
148 uint32_t __st_ino;
149 uint32_t st_mode;
150 uint32_t st_nlink;
151 uint32_t st_uid;
152 uint32_t st_gid;
153 uint64_t st_rdev;
154 uint8_t __pad3[4];
155 int64_t __attribute__ ((aligned (8))) st_size;
156 uint32_t st_blksize;
157 uint64_t __attribute__ ((aligned (8))) st_blocks;
158 uint32_t st_atimeX;
159 uint32_t st_atime_nsec;
160 uint32_t st_mtimeX;
161 uint32_t st_mtime_nsec;
162 uint32_t st_ctimeX;
163 uint32_t st_ctime_nsec;
164 uint64_t st_ino;
165 } tgt_stat64;
166
167
126};
127
128#endif
168};
169
170#endif