Added fchdir, fchown and fchmod system calls
This commit is contained in:
parent
1608f561f2
commit
f599dce291
|
@ -1,10 +1,10 @@
|
||||||
/* $NetBSD: irix_syscall.h,v 1.38 2002/04/22 05:58:47 manu Exp $ */
|
/* $NetBSD: irix_syscall.h,v 1.39 2002/04/23 05:47:38 manu Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* System call numbers.
|
* System call numbers.
|
||||||
*
|
*
|
||||||
* DO NOT EDIT-- this file is automatically generated.
|
* DO NOT EDIT-- this file is automatically generated.
|
||||||
* created from NetBSD: syscalls.master,v 1.36 2002/04/20 16:56:29 manu Exp
|
* created from NetBSD: syscalls.master,v 1.37 2002/04/22 05:58:49 manu Exp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* syscall: "syscall" ret: "int" args: */
|
/* syscall: "syscall" ret: "int" args: */
|
||||||
|
@ -310,6 +310,15 @@
|
||||||
/* syscall: "fsync" ret: "int" args: "int" */
|
/* syscall: "fsync" ret: "int" args: "int" */
|
||||||
#define IRIX_SYS_fsync 146
|
#define IRIX_SYS_fsync 146
|
||||||
|
|
||||||
|
/* syscall: "fchdir" ret: "int" args: "int" */
|
||||||
|
#define IRIX_SYS_fchdir 147
|
||||||
|
|
||||||
|
/* syscall: "fchown" ret: "int" args: "int" "int" "int" */
|
||||||
|
#define IRIX_SYS_fchown 152
|
||||||
|
|
||||||
|
/* syscall: "fchmod" ret: "int" args: "int" "int" */
|
||||||
|
#define IRIX_SYS_fchmod 153
|
||||||
|
|
||||||
/* syscall: "systeminfo" ret: "long" args: "int" "char *" "long" */
|
/* syscall: "systeminfo" ret: "long" args: "int" "char *" "long" */
|
||||||
#define IRIX_SYS_systeminfo 156
|
#define IRIX_SYS_systeminfo 156
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
/* $NetBSD: irix_syscallargs.h,v 1.38 2002/04/22 05:58:48 manu Exp $ */
|
/* $NetBSD: irix_syscallargs.h,v 1.39 2002/04/23 05:47:38 manu Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* System call argument lists.
|
* System call argument lists.
|
||||||
*
|
*
|
||||||
* DO NOT EDIT-- this file is automatically generated.
|
* DO NOT EDIT-- this file is automatically generated.
|
||||||
* created from NetBSD: syscalls.master,v 1.36 2002/04/20 16:56:29 manu Exp
|
* created from NetBSD: syscalls.master,v 1.37 2002/04/22 05:58:49 manu Exp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _IRIX_SYS__SYSCALLARGS_H_
|
#ifndef _IRIX_SYS__SYSCALLARGS_H_
|
||||||
|
@ -304,6 +304,9 @@ int sys___msync13(struct proc *, void *, register_t *);
|
||||||
int sys_getpgrp(struct proc *, void *, register_t *);
|
int sys_getpgrp(struct proc *, void *, register_t *);
|
||||||
int irix_sys_setpgrp(struct proc *, void *, register_t *);
|
int irix_sys_setpgrp(struct proc *, void *, register_t *);
|
||||||
int sys_fsync(struct proc *, void *, register_t *);
|
int sys_fsync(struct proc *, void *, register_t *);
|
||||||
|
int sys_fchdir(struct proc *, void *, register_t *);
|
||||||
|
int sys___posix_fchown(struct proc *, void *, register_t *);
|
||||||
|
int sys_fchmod(struct proc *, void *, register_t *);
|
||||||
int irix_sys_systeminfo(struct proc *, void *, register_t *);
|
int irix_sys_systeminfo(struct proc *, void *, register_t *);
|
||||||
int irix_sys_xstat(struct proc *, void *, register_t *);
|
int irix_sys_xstat(struct proc *, void *, register_t *);
|
||||||
int irix_sys_lxstat(struct proc *, void *, register_t *);
|
int irix_sys_lxstat(struct proc *, void *, register_t *);
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
/* $NetBSD: irix_syscalls.c,v 1.38 2002/04/22 05:58:48 manu Exp $ */
|
/* $NetBSD: irix_syscalls.c,v 1.39 2002/04/23 05:47:38 manu Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* System call names.
|
* System call names.
|
||||||
*
|
*
|
||||||
* DO NOT EDIT-- this file is automatically generated.
|
* DO NOT EDIT-- this file is automatically generated.
|
||||||
* created from NetBSD: syscalls.master,v 1.36 2002/04/20 16:56:29 manu Exp
|
* created from NetBSD: syscalls.master,v 1.37 2002/04/22 05:58:49 manu Exp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: irix_syscalls.c,v 1.38 2002/04/22 05:58:48 manu Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: irix_syscalls.c,v 1.39 2002/04/23 05:47:38 manu Exp $");
|
||||||
|
|
||||||
#if defined(_KERNEL_OPT)
|
#if defined(_KERNEL_OPT)
|
||||||
#if defined(_KERNEL_OPT)
|
#if defined(_KERNEL_OPT)
|
||||||
|
@ -194,13 +194,13 @@ const char *const irix_syscallnames[] = {
|
||||||
"setpgrp", /* 144 = setpgrp */
|
"setpgrp", /* 144 = setpgrp */
|
||||||
"#145 (unimplemented vhangup)", /* 145 = unimplemented vhangup */
|
"#145 (unimplemented vhangup)", /* 145 = unimplemented vhangup */
|
||||||
"fsync", /* 146 = fsync */
|
"fsync", /* 146 = fsync */
|
||||||
"#147 (unimplemented fchdir)", /* 147 = unimplemented fchdir */
|
"fchdir", /* 147 = fchdir */
|
||||||
"#148 (unimplemented getrlimit)", /* 148 = unimplemented getrlimit */
|
"#148 (unimplemented getrlimit)", /* 148 = unimplemented getrlimit */
|
||||||
"#149 (unimplemented setrlimit)", /* 149 = unimplemented setrlimit */
|
"#149 (unimplemented setrlimit)", /* 149 = unimplemented setrlimit */
|
||||||
"#150 (unimplemented cacheflush)", /* 150 = unimplemented cacheflush */
|
"#150 (unimplemented cacheflush)", /* 150 = unimplemented cacheflush */
|
||||||
"#151 (unimplemented cachectl)", /* 151 = unimplemented cachectl */
|
"#151 (unimplemented cachectl)", /* 151 = unimplemented cachectl */
|
||||||
"#152 (unimplemented fchown)", /* 152 = unimplemented fchown */
|
"fchown", /* 152 = fchown */
|
||||||
"#153 (unimplemented fchmod)", /* 153 = unimplemented fchmod */
|
"fchmod", /* 153 = fchmod */
|
||||||
"#154 (unimplemented wait3)", /* 154 = unimplemented wait3 */
|
"#154 (unimplemented wait3)", /* 154 = unimplemented wait3 */
|
||||||
"#155 (unimplemented socketpair)", /* 155 = unimplemented socketpair */
|
"#155 (unimplemented socketpair)", /* 155 = unimplemented socketpair */
|
||||||
"systeminfo", /* 156 = systeminfo */
|
"systeminfo", /* 156 = systeminfo */
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
/* $NetBSD: irix_sysent.c,v 1.38 2002/04/22 05:58:48 manu Exp $ */
|
/* $NetBSD: irix_sysent.c,v 1.39 2002/04/23 05:47:38 manu Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* System call switch table.
|
* System call switch table.
|
||||||
*
|
*
|
||||||
* DO NOT EDIT-- this file is automatically generated.
|
* DO NOT EDIT-- this file is automatically generated.
|
||||||
* created from NetBSD: syscalls.master,v 1.36 2002/04/20 16:56:29 manu Exp
|
* created from NetBSD: syscalls.master,v 1.37 2002/04/22 05:58:49 manu Exp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: irix_sysent.c,v 1.38 2002/04/22 05:58:48 manu Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: irix_sysent.c,v 1.39 2002/04/23 05:47:38 manu Exp $");
|
||||||
|
|
||||||
#if defined(_KERNEL_OPT)
|
#if defined(_KERNEL_OPT)
|
||||||
#include "opt_ntp.h"
|
#include "opt_ntp.h"
|
||||||
|
@ -344,8 +344,8 @@ struct sysent irix_sysent[] = {
|
||||||
sys_nosys }, /* 145 = unimplemented vhangup */
|
sys_nosys }, /* 145 = unimplemented vhangup */
|
||||||
{ 1, s(struct sys_fsync_args), 0,
|
{ 1, s(struct sys_fsync_args), 0,
|
||||||
sys_fsync }, /* 146 = fsync */
|
sys_fsync }, /* 146 = fsync */
|
||||||
{ 0, 0, 0,
|
{ 1, s(struct sys_fchdir_args), 0,
|
||||||
sys_nosys }, /* 147 = unimplemented fchdir */
|
sys_fchdir }, /* 147 = fchdir */
|
||||||
{ 0, 0, 0,
|
{ 0, 0, 0,
|
||||||
sys_nosys }, /* 148 = unimplemented getrlimit */
|
sys_nosys }, /* 148 = unimplemented getrlimit */
|
||||||
{ 0, 0, 0,
|
{ 0, 0, 0,
|
||||||
|
@ -354,10 +354,10 @@ struct sysent irix_sysent[] = {
|
||||||
sys_nosys }, /* 150 = unimplemented cacheflush */
|
sys_nosys }, /* 150 = unimplemented cacheflush */
|
||||||
{ 0, 0, 0,
|
{ 0, 0, 0,
|
||||||
sys_nosys }, /* 151 = unimplemented cachectl */
|
sys_nosys }, /* 151 = unimplemented cachectl */
|
||||||
{ 0, 0, 0,
|
{ 3, s(struct sys___posix_fchown_args), 0,
|
||||||
sys_nosys }, /* 152 = unimplemented fchown */
|
sys___posix_fchown }, /* 152 = fchown */
|
||||||
{ 0, 0, 0,
|
{ 2, s(struct sys_fchmod_args), 0,
|
||||||
sys_nosys }, /* 153 = unimplemented fchmod */
|
sys_fchmod }, /* 153 = fchmod */
|
||||||
{ 0, 0, 0,
|
{ 0, 0, 0,
|
||||||
sys_nosys }, /* 154 = unimplemented wait3 */
|
sys_nosys }, /* 154 = unimplemented wait3 */
|
||||||
{ 0, 0, 0,
|
{ 0, 0, 0,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
$NetBSD: syscalls.master,v 1.37 2002/04/22 05:58:49 manu Exp $
|
$NetBSD: syscalls.master,v 1.38 2002/04/23 05:47:38 manu Exp $
|
||||||
|
|
||||||
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
|
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
|
||||||
|
|
||||||
|
@ -265,13 +265,14 @@
|
||||||
144 STD { int irix_sys_setpgrp(int pid, int pgid); }
|
144 STD { int irix_sys_setpgrp(int pid, int pgid); }
|
||||||
145 UNIMPL vhangup
|
145 UNIMPL vhangup
|
||||||
146 NOARGS { int sys_fsync(int fd); }
|
146 NOARGS { int sys_fsync(int fd); }
|
||||||
147 UNIMPL fchdir
|
147 NOARGS { int sys_fchdir(int fd); }
|
||||||
148 UNIMPL getrlimit
|
148 UNIMPL getrlimit
|
||||||
149 UNIMPL setrlimit
|
149 UNIMPL setrlimit
|
||||||
150 UNIMPL cacheflush
|
150 UNIMPL cacheflush
|
||||||
151 UNIMPL cachectl
|
151 UNIMPL cachectl
|
||||||
152 UNIMPL fchown
|
152 NOARGS { int sys___posix_fchown(int fd, int uid, int gid); } \
|
||||||
153 UNIMPL fchmod
|
fchown
|
||||||
|
153 NOARGS { int sys_fchmod(int fd, int mode); }
|
||||||
154 UNIMPL wait3
|
154 UNIMPL wait3
|
||||||
155 UNIMPL socketpair
|
155 UNIMPL socketpair
|
||||||
156 STD { long irix_sys_systeminfo(int what, char *buf, \
|
156 STD { long irix_sys_systeminfo(int what, char *buf, \
|
||||||
|
|
Loading…
Reference in New Issue