aboutsummaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2010-08-07 11:53:38 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2010-08-07 11:53:38 +0000
commit4605ef76e763bd546a418350b2505f83c514f471 (patch)
treebc7ceffe1855c434059b63d7a1b1a1d5313aac43 /sys/compat
parent0d0699a17226a3e9bd023b46596eb9280e41a729 (diff)
downloadsrc-4605ef76e763bd546a418350b2505f83c514f471.tar.gz
src-4605ef76e763bd546a418350b2505f83c514f471.zip
Add compat32 definition for (old) struct ostat.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=211005
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/freebsd32/freebsd32.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/compat/freebsd32/freebsd32.h b/sys/compat/freebsd32/freebsd32.h
index aad550e16b53..eebaae67e494 100644
--- a/sys/compat/freebsd32/freebsd32.h
+++ b/sys/compat/freebsd32/freebsd32.h
@@ -157,6 +157,24 @@ struct stat32 {
unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec32));
};
+struct ostat32 {
+ __uint16_t st_dev;
+ ino_t st_ino;
+ mode_t st_mode;
+ nlink_t st_nlink;
+ __uint16_t st_uid;
+ __uint16_t st_gid;
+ __uint16_t st_rdev;
+ __int32_t st_size;
+ struct timespec32 st_atim;
+ struct timespec32 st_mtim;
+ struct timespec32 st_ctim;
+ __int32_t st_blksize;
+ __int32_t st_blocks;
+ u_int32_t st_flags;
+ __uint32_t st_gen;
+};
+
struct jail32_v0 {
u_int32_t version;
uint32_t path;