Added symlink, rename and readlink
This commit is contained in:
parent
98f703ff1e
commit
daf979dbeb
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: irix_syscall.h,v 1.17 2001/12/26 11:04:20 manu Exp $ */
|
||||
/* $NetBSD: irix_syscall.h,v 1.18 2001/12/27 11:07:23 manu Exp $ */
|
||||
|
||||
/*
|
||||
* System call numbers.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.15 2001/12/25 21:32:31 manu Exp
|
||||
* created from NetBSD: syscalls.master,v 1.16 2001/12/26 11:04:20 manu Exp
|
||||
*/
|
||||
|
||||
/* syscall: "syscall" ret: "int" args: */
|
||||
@ -233,6 +233,15 @@
|
||||
/* syscall: "socket" ret: "int" args: "int" "int" "int" */
|
||||
#define IRIX_SYS_socket 107
|
||||
|
||||
/* syscall: "rename" ret: "int" args: "const char *" "const char *" */
|
||||
#define IRIX_SYS_rename 114
|
||||
|
||||
/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
|
||||
#define IRIX_SYS_symlink 115
|
||||
|
||||
/* syscall: "readlink" ret: "int" args: "const char *" "char *" "size_t" */
|
||||
#define IRIX_SYS_readlink 116
|
||||
|
||||
/* syscall: "prctl" ret: "ptrdiff_t" args: "unsigned int" "void *" */
|
||||
#define IRIX_SYS_prctl 130
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: irix_syscallargs.h,v 1.17 2001/12/26 11:04:20 manu Exp $ */
|
||||
/* $NetBSD: irix_syscallargs.h,v 1.18 2001/12/27 11:07:23 manu Exp $ */
|
||||
|
||||
/*
|
||||
* System call argument lists.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.15 2001/12/25 21:32:31 manu Exp
|
||||
* created from NetBSD: syscalls.master,v 1.16 2001/12/26 11:04:20 manu Exp
|
||||
*/
|
||||
|
||||
#ifndef _IRIX_SYS__SYSCALLARGS_H_
|
||||
@ -364,6 +364,9 @@ int sys_sendto(struct proc *, void *, register_t *);
|
||||
int sys_setsockopt(struct proc *, void *, register_t *);
|
||||
int sys_shutdown(struct proc *, void *, register_t *);
|
||||
int svr4_sys_socket(struct proc *, void *, register_t *);
|
||||
int sys_rename(struct proc *, void *, register_t *);
|
||||
int sys_symlink(struct proc *, void *, register_t *);
|
||||
int sys_readlink(struct proc *, void *, register_t *);
|
||||
int irix_sys_prctl(struct proc *, void *, register_t *);
|
||||
int svr4_sys_mmap(struct proc *, void *, register_t *);
|
||||
int irix_sys_xstat(struct proc *, void *, register_t *);
|
||||
|
@ -1,14 +1,14 @@
|
||||
/* $NetBSD: irix_syscalls.c,v 1.17 2001/12/26 11:04:20 manu Exp $ */
|
||||
/* $NetBSD: irix_syscalls.c,v 1.18 2001/12/27 11:07:23 manu Exp $ */
|
||||
|
||||
/*
|
||||
* System call names.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.15 2001/12/25 21:32:31 manu Exp
|
||||
* created from NetBSD: syscalls.master,v 1.16 2001/12/26 11:04:20 manu Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: irix_syscalls.c,v 1.17 2001/12/26 11:04:20 manu Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: irix_syscalls.c,v 1.18 2001/12/27 11:07:23 manu Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#if defined(_KERNEL_OPT)
|
||||
@ -155,9 +155,9 @@ const char *const irix_syscallnames[] = {
|
||||
"#111 (unimplemented setdomainname)", /* 111 = unimplemented setdomainname */
|
||||
"#112 (unimplemented truncate)", /* 112 = unimplemented truncate */
|
||||
"#113 (unimplemented ftruncate)", /* 113 = unimplemented ftruncate */
|
||||
"#114 (unimplemented rename)", /* 114 = unimplemented rename */
|
||||
"#115 (unimplemented symlink)", /* 115 = unimplemented symlink */
|
||||
"#116 (unimplemented readlink)", /* 116 = unimplemented readlink */
|
||||
"rename", /* 114 = rename */
|
||||
"symlink", /* 115 = symlink */
|
||||
"readlink", /* 116 = readlink */
|
||||
"#117 (unimplemented lstat)", /* 117 = unimplemented lstat */
|
||||
"#118 (unimplemented)", /* 118 = unimplemented */
|
||||
"#119 (unimplemented nfs_svc)", /* 119 = unimplemented nfs_svc */
|
||||
|
@ -1,14 +1,14 @@
|
||||
/* $NetBSD: irix_sysent.c,v 1.17 2001/12/26 11:04:20 manu Exp $ */
|
||||
/* $NetBSD: irix_sysent.c,v 1.18 2001/12/27 11:07:24 manu Exp $ */
|
||||
|
||||
/*
|
||||
* System call switch table.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.15 2001/12/25 21:32:31 manu Exp
|
||||
* created from NetBSD: syscalls.master,v 1.16 2001/12/26 11:04:20 manu Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: irix_sysent.c,v 1.17 2001/12/26 11:04:20 manu Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: irix_sysent.c,v 1.18 2001/12/27 11:07:24 manu Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_ntp.h"
|
||||
@ -272,12 +272,12 @@ struct sysent irix_sysent[] = {
|
||||
sys_nosys }, /* 112 = unimplemented truncate */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 113 = unimplemented ftruncate */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 114 = unimplemented rename */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 115 = unimplemented symlink */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 116 = unimplemented readlink */
|
||||
{ 2, s(struct sys_rename_args), 0,
|
||||
sys_rename }, /* 114 = rename */
|
||||
{ 2, s(struct sys_symlink_args), 0,
|
||||
sys_symlink }, /* 115 = symlink */
|
||||
{ 3, s(struct sys_readlink_args), 0,
|
||||
sys_readlink }, /* 116 = readlink */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 117 = unimplemented lstat */
|
||||
{ 0, 0, 0,
|
||||
|
@ -1,4 +1,4 @@
|
||||
$NetBSD: syscalls.master,v 1.16 2001/12/26 11:04:20 manu Exp $
|
||||
$NetBSD: syscalls.master,v 1.17 2001/12/27 11:07:24 manu Exp $
|
||||
|
||||
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
|
||||
|
||||
@ -213,9 +213,11 @@
|
||||
111 UNIMPL setdomainname
|
||||
112 UNIMPL truncate
|
||||
113 UNIMPL ftruncate
|
||||
114 UNIMPL rename
|
||||
115 UNIMPL symlink
|
||||
116 UNIMPL readlink
|
||||
114 NOARGS { int sys_rename(const char *from, const char *to); }
|
||||
115 NOARGS { int sys_symlink(const char *path, \
|
||||
const char *link); }
|
||||
116 NOARGS { int sys_readlink(const char *path, char *buf, \
|
||||
size_t count); }
|
||||
117 UNIMPL lstat
|
||||
118 UNIMPL
|
||||
119 UNIMPL nfs_svc
|
||||
|
Loading…
Reference in New Issue
Block a user