Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/aout sync with regular syscalls.master: Add getcw...
details: https://anonhg.NetBSD.org/src/rev/9f5494d7846c
branches: trunk
changeset: 467769:9f5494d7846c
user: sommerfe <sommerfe%NetBSD.org@localhost>
date: Sun Mar 28 21:56:56 1999 +0000
description:
sync with regular syscalls.master: Add getcwd, fchroot, and tweak __getlogin
diffstat:
sys/compat/aout/aout_syscall.h | 14 ++++++++++----
sys/compat/aout/aout_syscallargs.h | 6 ++++--
sys/compat/aout/aout_syscalls.c | 6 ++++--
sys/compat/aout/aout_sysent.c | 8 ++++++--
sys/compat/aout/syscalls.master | 6 ++++--
5 files changed, 28 insertions(+), 12 deletions(-)
diffs (133 lines):
diff -r c34e481a7d4d -r 9f5494d7846c sys/compat/aout/aout_syscall.h
--- a/sys/compat/aout/aout_syscall.h Sun Mar 28 21:48:50 1999 +0000
+++ b/sys/compat/aout/aout_syscall.h Sun Mar 28 21:56:56 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: aout_syscall.h,v 1.1 1999/02/11 09:43:53 christos Exp $ */
+/* $NetBSD: aout_syscall.h,v 1.2 1999/03/28 21:57:50 sommerfe Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.1 1999/02/11 09:41:34 christos Exp
+ * created from NetBSD: syscalls.master,v 1.2 1999/03/28 21:56:56 sommerfe Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -152,7 +152,7 @@
/* syscall: "sigprocmask13" ret: "int" args: "int" "int" */
#define AOUT_SYS_sigprocmask13 48
-/* syscall: "__getlogin" ret: "int" args: "char *" "u_int" */
+/* syscall: "__getlogin" ret: "int" args: "char *" "size_t" */
#define AOUT_SYS___getlogin 49
/* syscall: "setlogin" ret: "int" args: "const char *" */
@@ -697,4 +697,10 @@
/* syscall: "__sigreturn14" ret: "int" args: "struct sigcontext *" */
#define AOUT_SYS___sigreturn14 295
-#define AOUT_SYS_MAXSYSCALL 296
+/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
+#define AOUT_SYS___getcwd 296
+
+/* syscall: "fchroot" ret: "int" args: "int" */
+#define AOUT_SYS_fchroot 297
+
+#define AOUT_SYS_MAXSYSCALL 298
diff -r c34e481a7d4d -r 9f5494d7846c sys/compat/aout/aout_syscallargs.h
--- a/sys/compat/aout/aout_syscallargs.h Sun Mar 28 21:48:50 1999 +0000
+++ b/sys/compat/aout/aout_syscallargs.h Sun Mar 28 21:56:56 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: aout_syscallargs.h,v 1.1 1999/02/11 09:43:53 christos Exp $ */
+/* $NetBSD: aout_syscallargs.h,v 1.2 1999/03/28 21:57:50 sommerfe Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.1 1999/02/11 09:41:34 christos Exp
+ * created from NetBSD: syscalls.master,v 1.2 1999/03/28 21:56:56 sommerfe Exp
*/
#ifndef _AOUT_SYS__SYSCALLARGS_H_
@@ -511,4 +511,6 @@
int sys___sigprocmask14 __P((struct proc *, void *, register_t *));
int sys___sigsuspend14 __P((struct proc *, void *, register_t *));
int sys___sigreturn14 __P((struct proc *, void *, register_t *));
+int sys___getcwd __P((struct proc *, void *, register_t *));
+int sys_fchroot __P((struct proc *, void *, register_t *));
#endif /* _AOUT_SYS__SYSCALLARGS_H_ */
diff -r c34e481a7d4d -r 9f5494d7846c sys/compat/aout/aout_syscalls.c
--- a/sys/compat/aout/aout_syscalls.c Sun Mar 28 21:48:50 1999 +0000
+++ b/sys/compat/aout/aout_syscalls.c Sun Mar 28 21:56:56 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: aout_syscalls.c,v 1.1 1999/02/11 09:43:53 christos Exp $ */
+/* $NetBSD: aout_syscalls.c,v 1.2 1999/03/28 21:57:50 sommerfe Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.1 1999/02/11 09:41:34 christos Exp
+ * created from NetBSD: syscalls.master,v 1.2 1999/03/28 21:56:56 sommerfe Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@@ -393,4 +393,6 @@
"__sigprocmask14", /* 293 = __sigprocmask14 */
"__sigsuspend14", /* 294 = __sigsuspend14 */
"__sigreturn14", /* 295 = __sigreturn14 */
+ "__getcwd", /* 296 = __getcwd */
+ "fchroot", /* 297 = fchroot */
};
diff -r c34e481a7d4d -r 9f5494d7846c sys/compat/aout/aout_sysent.c
--- a/sys/compat/aout/aout_sysent.c Sun Mar 28 21:48:50 1999 +0000
+++ b/sys/compat/aout/aout_sysent.c Sun Mar 28 21:56:56 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: aout_sysent.c,v 1.1 1999/02/11 09:43:53 christos Exp $ */
+/* $NetBSD: aout_sysent.c,v 1.2 1999/03/28 21:57:51 sommerfe Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.1 1999/02/11 09:41:34 christos Exp
+ * created from NetBSD: syscalls.master,v 1.2 1999/03/28 21:56:56 sommerfe Exp
*/
#include "opt_ktrace.h"
@@ -723,5 +723,9 @@
sys___sigsuspend14 }, /* 294 = __sigsuspend14 */
{ 1, s(struct sys___sigreturn14_args),
sys___sigreturn14 }, /* 295 = __sigreturn14 */
+ { 2, s(struct sys___getcwd_args),
+ sys___getcwd }, /* 296 = __getcwd */
+ { 1, s(struct sys_fchroot_args),
+ sys_fchroot }, /* 297 = fchroot */
};
diff -r c34e481a7d4d -r 9f5494d7846c sys/compat/aout/syscalls.master
--- a/sys/compat/aout/syscalls.master Sun Mar 28 21:48:50 1999 +0000
+++ b/sys/compat/aout/syscalls.master Sun Mar 28 21:56:56 1999 +0000
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.1 1999/02/11 09:41:34 christos Exp $
+ $NetBSD: syscalls.master,v 1.2 1999/03/28 21:56:56 sommerfe Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -134,7 +134,7 @@
47 NOARGS { gid_t sys_getgid(void); }
48 NOARGS { int compat_13_sys_sigprocmask(int how, \
int mask); } sigprocmask13
-49 NOARGS { int sys___getlogin(char *namebuf, u_int namelen); }
+49 NOARGS { int sys___getlogin(char *namebuf, size_t namelen); }
50 NOARGS { int sys_setlogin(const char *namebuf); }
51 STD { int aout_sys_acct(const char *path); }
52 NOARGS { int compat_13_sys_sigpending(void); } sigpending13
@@ -575,3 +575,5 @@
sigset_t *oset); }
294 NOARGS { int sys___sigsuspend14(const sigset_t *set); }
295 NOARGS { int sys___sigreturn14(struct sigcontext *sigcntxp); }
+296 NOARGS { int sys___getcwd(char *bufp, size_t length); }
+297 NOARGS { int sys_fchroot(int fd); }
Home |
Main Index |
Thread Index |
Old Index