svn commit: r211300 - stable/8/sys/compat/freebsd32

Konstantin Belousov kib at FreeBSD.org
Sat Aug 14 14:09:14 UTC 2010


Author: kib
Date: Sat Aug 14 14:09:13 2010
New Revision: 211300
URL: http://svn.freebsd.org/changeset/base/211300

Log:
  MFC r211005:
  Add compat32 definition for (old) struct ostat.

Modified:
  stable/8/sys/compat/freebsd32/freebsd32.h
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cam/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/e1000/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/compat/freebsd32/freebsd32.h
==============================================================================
--- stable/8/sys/compat/freebsd32/freebsd32.h	Sat Aug 14 14:01:12 2010	(r211299)
+++ stable/8/sys/compat/freebsd32/freebsd32.h	Sat Aug 14 14:09:13 2010	(r211300)
@@ -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;


More information about the svn-src-all mailing list