Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/arch Add support for emulating the Linux pr...
details: https://anonhg.NetBSD.org/src/rev/7b81416ea08a
branches: trunk
changeset: 467324:7b81416ea08a
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Mar 23 03:00:51 1999 +0000
description:
Add support for emulating the Linux pread(2) and pwrite(2) system calls;
just call the native NetBSD versions.
PR #7202, Jaromir Dolecek <dolecek%ics.muni.cz@localhost>.
diffstat:
sys/compat/linux/arch/alpha/syscalls.master | 8 +++++---
sys/compat/linux/arch/i386/syscalls.master | 8 +++++---
sys/compat/linux/arch/m68k/syscalls.master | 8 +++++---
3 files changed, 15 insertions(+), 9 deletions(-)
diffs (66 lines):
diff -r f5c7e28c568e -r 7b81416ea08a sys/compat/linux/arch/alpha/syscalls.master
--- a/sys/compat/linux/arch/alpha/syscalls.master Tue Mar 23 02:58:50 1999 +0000
+++ b/sys/compat/linux/arch/alpha/syscalls.master Tue Mar 23 03:00:51 1999 +0000
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.6 1998/12/10 17:07:04 christos Exp $
+ $NetBSD: syscalls.master,v 1.7 1999/03/23 03:00:51 thorpej Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -503,8 +503,10 @@
346 UNIMPL pciconfig_write
347 UNIMPL query_module
348 UNIMPL prctl
-349 UNIMPL pread
-350 UNIMPL pwrite
+349 NOARGS { int sys_pread(int fd, char *buf, size_t nbytes, \
+ off_t offset); }
+350 NOARGS { int sys_pwrite(int fd, char *buf, size_t nbytes, \
+ off_t offset); }
351 STD { int linux_sys_rt_sigreturn( \
struct linux_rt_sigframe *sfp); }
352 STD { int linux_sys_rt_sigaction(int signum, \
diff -r f5c7e28c568e -r 7b81416ea08a sys/compat/linux/arch/i386/syscalls.master
--- a/sys/compat/linux/arch/i386/syscalls.master Tue Mar 23 02:58:50 1999 +0000
+++ b/sys/compat/linux/arch/i386/syscalls.master Tue Mar 23 03:00:51 1999 +0000
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.29 1999/02/09 20:37:00 christos Exp $
+ $NetBSD: syscalls.master,v 1.30 1999/03/23 03:00:52 thorpej Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -287,8 +287,10 @@
void *uinfo); }
179 STD { int linux_sys_rt_sigsuspend(linux_sigset_t *unewset, \
size_t sigsetsize); }
-180 UNIMPL pread
-181 UNIMPL pwrite
+180 NOARGS { int sys_pread(int fd, char *buf, size_t nbytes, \
+ off_t offset); }
+181 NOARGS { int sys_pwrite(int fd, char *buf, size_t nbytes, \
+ off_t offset); }
182 STD { int linux_sys_chown(const char *path, int uid, \
int gid); }
183 UNIMPL getcwd
diff -r f5c7e28c568e -r 7b81416ea08a sys/compat/linux/arch/m68k/syscalls.master
--- a/sys/compat/linux/arch/m68k/syscalls.master Tue Mar 23 02:58:50 1999 +0000
+++ b/sys/compat/linux/arch/m68k/syscalls.master Tue Mar 23 03:00:51 1999 +0000
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.2 1999/02/10 10:36:26 itohy Exp $
+ $NetBSD: syscalls.master,v 1.3 1999/03/23 03:00:52 thorpej Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -312,8 +312,10 @@
void *uinfo); }
179 STD { int linux_sys_rt_sigsuspend(linux_sigset_t *unewset, \
size_t sigsetsize); }
-180 UNIMPL pread
-181 UNIMPL pwrite
+180 NOARGS { int sys_pread(int fd, char *buf, size_t nbytes, \
+ off_t offset); }
+181 NOARGS { int sys_pwrite(int fd, char *buf, size_t nbytes, \
+ off_t offset); }
;182 chown on i386; lchown on m68k.
182 STD { int linux_sys_lchown(const char *path, int uid, \
int gid); }
Home |
Main Index |
Thread Index |
Old Index