+/* stats flags in proc_fileinfo */
+#define PROC_FP_SHARED 1 /* shared by more than one fd */
+#define PROC_FP_CLEXEC 2 /* close on exec */
+
+/*
+ * A copy of stat64 with static sized fields.
+ */
+struct vinfo_stat {
+ uint32_t vst_dev; /* [XSI] ID of device containing file */
+ uint16_t vst_mode; /* [XSI] Mode of file (see below) */
+ uint16_t vst_nlink; /* [XSI] Number of hard links */
+ uint64_t vst_ino; /* [XSI] File serial number */
+ uid_t vst_uid; /* [XSI] User ID of the file */
+ gid_t vst_gid; /* [XSI] Group ID of the file */
+ int64_t vst_atime; /* [XSI] Time of last access */
+ int64_t vst_atimensec; /* nsec of last access */
+ int64_t vst_mtime; /* [XSI] Last data modification time */
+ int64_t vst_mtimensec; /* last data modification nsec */
+ int64_t vst_ctime; /* [XSI] Time of last status change */
+ int64_t vst_ctimensec; /* nsec of last status change */
+ int64_t vst_birthtime; /* File creation time(birth) */
+ int64_t vst_birthtimensec; /* nsec of File creation time */
+ off_t vst_size; /* [XSI] file size, in bytes */
+ int64_t vst_blocks; /* [XSI] blocks allocated for file */
+ int32_t vst_blksize; /* [XSI] optimal blocksize for I/O */
+ uint32_t vst_flags; /* user defined flags for file */
+ uint32_t vst_gen; /* file generation number */
+ uint32_t vst_rdev; /* [XSI] Device ID */
+ int64_t vst_qspare[2]; /* RESERVED: DO NOT USE! */
+};