diff options
author | bms <bms@FreeBSD.org> | 2004-03-28 21:43:27 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2004-03-28 21:43:27 +0000 |
commit | 54410035eae95a97fb17584b66d0b444cc2cc12e (patch) | |
tree | 14512ddab3969c97af31189ba5109ee0075d20e8 /sys/i386/linux/linux_proto.h | |
parent | 3709170070ae609614e96ef892496a543fb91483 (diff) | |
download | FreeBSD-src-54410035eae95a97fb17584b66d0b444cc2cc12e.zip FreeBSD-src-54410035eae95a97fb17584b66d0b444cc2cc12e.tar.gz |
Use the BSD madvise() syscall implementation for Linux binary emulation,
instead of treating it as an unimplemented syscall. This appears to make
StarOffice 7.0 Linux binaries work according to submitter; also tested
with nvidia driver by submitter.
Submitted by: Matthias Schuendehuette
Diffstat (limited to 'sys/i386/linux/linux_proto.h')
-rw-r--r-- | sys/i386/linux/linux_proto.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/i386/linux/linux_proto.h b/sys/i386/linux/linux_proto.h index cd04521..fec6d44 100644 --- a/sys/i386/linux/linux_proto.h +++ b/sys/i386/linux/linux_proto.h @@ -631,9 +631,6 @@ struct linux_mincore_args { char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)]; char vec_l_[PADL_(u_char *)]; u_char * vec; char vec_r_[PADR_(u_char *)]; }; -struct linux_madvise_args { - register_t dummy; -}; struct linux_getdents64_args { char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)]; char dirent_l_[PADL_(void *)]; void * dirent; char dirent_r_[PADR_(void *)]; @@ -833,7 +830,6 @@ int linux_setfsuid(struct thread *, struct linux_setfsuid_args *); int linux_setfsgid(struct thread *, struct linux_setfsgid_args *); int linux_pivot_root(struct thread *, struct linux_pivot_root_args *); int linux_mincore(struct thread *, struct linux_mincore_args *); -int linux_madvise(struct thread *, struct linux_madvise_args *); int linux_getdents64(struct thread *, struct linux_getdents64_args *); int linux_fcntl64(struct thread *, struct linux_fcntl64_args *); int linux_setxattr(struct thread *, struct linux_setxattr_args *); |