Link Here
|
5 |
|
5 |
|
6 |
--- |
6 |
--- |
7 |
coregrind/m_syswrap/priv_syswrap-freebsd.h | 4 ++ |
7 |
coregrind/m_syswrap/priv_syswrap-freebsd.h | 4 ++ |
8 |
coregrind/m_syswrap/syswrap-freebsd.c | 65 ++++++++++++++++++++++++++++++ |
8 |
coregrind/m_syswrap/syswrap-freebsd.c | 65 ++++++++++++++++++++++ |
9 |
include/vki/vki-freebsd.h | 56 +++++++++++++++++++++++++ |
9 |
include/vki/vki-freebsd.h | 54 ++++++++++++++++++ |
10 |
include/vki/vki-scnums-freebsd.h | 4 ++ |
10 |
include/vki/vki-scnums-freebsd.h | 4 ++ |
11 |
4 files changed, 129 insertions(+) |
11 |
4 files changed, 127 insertions(+) |
12 |
|
12 |
|
13 |
diff --git a/coregrind/m_syswrap/priv_syswrap-freebsd.h b/coregrind/m_syswrap/priv_syswrap-freebsd.h |
13 |
diff --git a/coregrind/m_syswrap/priv_syswrap-freebsd.h b/coregrind/m_syswrap/priv_syswrap-freebsd.h |
14 |
index 63d122f..715ad48 100644 |
14 |
index 63d122f..715ad48 100644 |
Link Here
|
148 |
|
148 |
|
149 |
}; |
149 |
}; |
150 |
diff --git a/include/vki/vki-freebsd.h b/include/vki/vki-freebsd.h |
150 |
diff --git a/include/vki/vki-freebsd.h b/include/vki/vki-freebsd.h |
151 |
index aee453e..f20833a 100644 |
151 |
index aee453e..318a207 100644 |
152 |
--- a/include/vki/vki-freebsd.h |
152 |
--- a/include/vki/vki-freebsd.h |
153 |
+++ b/include/vki/vki-freebsd.h |
153 |
+++ b/include/vki/vki-freebsd.h |
154 |
@@ -367,6 +367,38 @@ struct vki_stat { |
154 |
@@ -367,6 +367,36 @@ struct vki_stat { |
155 |
unsigned int :(8 / 2) * (16 - (int)sizeof(struct vki_timespec)); |
155 |
unsigned int :(8 / 2) * (16 - (int)sizeof(struct vki_timespec)); |
156 |
}; |
156 |
}; |
157 |
|
157 |
|
Link Here
|
177 |
+ vki_time_t st_ctime; |
177 |
+ vki_time_t st_ctime; |
178 |
+ long st_ctime_nsec; |
178 |
+ long st_ctime_nsec; |
179 |
+#endif |
179 |
+#endif |
|
|
180 |
+ struct vki_timespec st_birthtim; |
180 |
+ vki_off_t st_size; |
181 |
+ vki_off_t st_size; |
181 |
+ vki_blkcnt_t st_blocks; |
182 |
+ vki_blkcnt_t st_blocks; |
182 |
+ vki_blksize_t st_blksize; |
183 |
+ vki_blksize_t st_blksize; |
Link Here
|
183 |
+ vki_fflags_t st_flags; |
184 |
+ vki_fflags_t st_flags; |
184 |
+ vki_uint64_t st_gen; |
185 |
+ vki_uint64_t st_gen; |
185 |
+ vki_int64_t st_spare[10]; |
186 |
+ vki_int64_t st_spare[10]; |
186 |
+// struct vki_timespec st_birthtimespec; |
|
|
187 |
+// unsigned int :(8 / 2) * (16 - (int)sizeof(struct vki_timespec)); |
188 |
+// unsigned int :(8 / 2) * (16 - (int)sizeof(struct vki_timespec)); |
189 |
+}; |
187 |
+}; |
190 |
|
188 |
|
191 |
//---------------------------------------------------------------------- |
189 |
//---------------------------------------------------------------------- |
192 |
// From linux-2.6.8.1/include/linux/sched.h |
190 |
// From linux-2.6.8.1/include/linux/sched.h |
193 |
@@ -941,6 +973,30 @@ struct vki_statfs { |
191 |
@@ -941,6 +971,30 @@ struct vki_statfs { |
194 |
char f_mntonname[VKI_MNAMELEN]; |
192 |
char f_mntonname[VKI_MNAMELEN]; |
195 |
}; |
193 |
}; |
196 |
|
194 |
|