Deleted Added
full compact
freebsd32_misc.c (128597) freebsd32_misc.c (130640)
1/*-
2 * Copyright (c) 2002 Doug Rabson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2002 Doug Rabson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/compat/freebsd32/freebsd32_misc.c 128597 2004-04-24 04:31:59Z marcel $");
28__FBSDID("$FreeBSD: head/sys/compat/freebsd32/freebsd32_misc.c 130640 2004-06-17 17:16:53Z phk $");
29
30#include "opt_compat.h"
31
32#include <sys/param.h>
33#include <sys/systm.h>
34#include <sys/bus.h>
35#include <sys/exec.h>
36#include <sys/fcntl.h>

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

1078 ap.nbytes = uap->nbytes; /* XXX check */
1079 ap.hdtr = uap->hdtr; /* XXX check */
1080 ap.sbytes = uap->sbytes; /* XXX FIXME!! */
1081 ap.flags = uap->flags;
1082 return (sendfile(td, &ap));
1083}
1084
1085struct stat32 {
29
30#include "opt_compat.h"
31
32#include <sys/param.h>
33#include <sys/systm.h>
34#include <sys/bus.h>
35#include <sys/exec.h>
36#include <sys/fcntl.h>

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

1078 ap.nbytes = uap->nbytes; /* XXX check */
1079 ap.hdtr = uap->hdtr; /* XXX check */
1080 ap.sbytes = uap->sbytes; /* XXX FIXME!! */
1081 ap.flags = uap->flags;
1082 return (sendfile(td, &ap));
1083}
1084
1085struct stat32 {
1086 udev_t st_dev;
1086 dev_t st_dev;
1087 ino_t st_ino;
1088 mode_t st_mode;
1089 nlink_t st_nlink;
1090 uid_t st_uid;
1091 gid_t st_gid;
1087 ino_t st_ino;
1088 mode_t st_mode;
1089 nlink_t st_nlink;
1090 uid_t st_uid;
1091 gid_t st_gid;
1092 udev_t st_rdev;
1092 dev_t st_rdev;
1093 struct timespec32 st_atimespec;
1094 struct timespec32 st_mtimespec;
1095 struct timespec32 st_ctimespec;
1096 off_t st_size;
1097 int64_t st_blocks;
1098 u_int32_t st_blksize;
1099 u_int32_t st_flags;
1100 u_int32_t st_gen;

--- 237 unchanged lines hidden ---
1093 struct timespec32 st_atimespec;
1094 struct timespec32 st_mtimespec;
1095 struct timespec32 st_ctimespec;
1096 off_t st_size;
1097 int64_t st_blocks;
1098 u_int32_t st_blksize;
1099 u_int32_t st_flags;
1100 u_int32_t st_gen;

--- 237 unchanged lines hidden ---