Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/osf1 regen for 'const poisoning for strings, and ...



details:   https://anonhg.NetBSD.org/src/rev/627efb6b117d
branches:  trunk
changeset: 472157:627efb6b117d
user:      cgd <cgd%NetBSD.org@localhost>
date:      Fri Apr 23 06:20:33 1999 +0000

description:
regen for 'const poisoning for strings, and minor cleanup'

diffstat:

 sys/compat/osf1/osf1_syscall.h     |  58 +++++++++++++++++++-------------------
 sys/compat/osf1/osf1_syscallargs.h |  24 +++++++-------
 sys/compat/osf1/osf1_syscalls.c    |   4 +-
 sys/compat/osf1/osf1_sysent.c      |   4 +-
 4 files changed, 45 insertions(+), 45 deletions(-)

diffs (truncated from 315 to 300 lines):

diff -r fe7eb2af989b -r 627efb6b117d sys/compat/osf1/osf1_syscall.h
--- a/sys/compat/osf1/osf1_syscall.h    Fri Apr 23 06:19:51 1999 +0000
+++ b/sys/compat/osf1/osf1_syscall.h    Fri Apr 23 06:20:33 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: osf1_syscall.h,v 1.19 1999/02/09 20:36:17 christos Exp $       */
+/*     $NetBSD: osf1_syscall.h,v 1.20 1999/04/23 06:20:33 cgd Exp $    */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.13 1999/02/09 20:34:17 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.14 1999/04/23 06:19:51 cgd Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -19,7 +19,7 @@
 /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
 #define        OSF1_SYS_read   3
 
-/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
+/* syscall: "write" ret: "int" args: "int" "const char *" "u_int" */
 #define        OSF1_SYS_write  4
 
 /* syscall: "close" ret: "int" args: "int" */
@@ -28,25 +28,25 @@
 /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
 #define        OSF1_SYS_wait4  7
 
-/* syscall: "link" ret: "int" args: "char *" "char *" */
+/* syscall: "link" ret: "int" args: "const char *" "const char *" */
 #define        OSF1_SYS_link   9
 
-/* syscall: "unlink" ret: "int" args: "char *" */
+/* syscall: "unlink" ret: "int" args: "const char *" */
 #define        OSF1_SYS_unlink 10
 
-/* syscall: "chdir" ret: "int" args: "char *" */
+/* syscall: "chdir" ret: "int" args: "const char *" */
 #define        OSF1_SYS_chdir  12
 
 /* syscall: "fchdir" ret: "int" args: "int" */
 #define        OSF1_SYS_fchdir 13
 
-/* syscall: "mknod" ret: "int" args: "char *" "int" "int" */
+/* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
 #define        OSF1_SYS_mknod  14
 
-/* syscall: "chmod" ret: "int" args: "char *" "int" */
+/* syscall: "chmod" ret: "int" args: "const char *" "int" */
 #define        OSF1_SYS_chmod  15
 
-/* syscall: "__posix_chown" ret: "int" args: "char *" "int" "int" */
+/* syscall: "__posix_chown" ret: "int" args: "const char *" "int" "int" */
 #define        OSF1_SYS___posix_chown  16
 
 /* syscall: "obreak" ret: "int" args: "char *" */
@@ -61,10 +61,10 @@
 /* syscall: "getpid" ret: "pid_t" args: */
 #define        OSF1_SYS_getpid 20
 
-/* syscall: "mount" ret: "int" args: "int" "char *" "int" "caddr_t" */
+/* syscall: "mount" ret: "int" args: "int" "const char *" "int" "caddr_t" */
 #define        OSF1_SYS_mount  21
 
-/* syscall: "unmount" ret: "int" args: "char *" "int" */
+/* syscall: "unmount" ret: "int" args: "const char *" "int" */
 #define        OSF1_SYS_unmount        22
 
 /* syscall: "setuid" ret: "int" args: "uid_t" */
@@ -73,7 +73,7 @@
 /* syscall: "getuid" ret: "uid_t" args: */
 #define        OSF1_SYS_getuid 24
 
-/* syscall: "access" ret: "int" args: "char *" "int" */
+/* syscall: "access" ret: "int" args: "const char *" "int" */
 #define        OSF1_SYS_access 33
 
 /* syscall: "sync" ret: "int" args: */
@@ -91,7 +91,7 @@
 /* syscall: "pipe" ret: "int" args: */
 #define        OSF1_SYS_pipe   42
 
-/* syscall: "open" ret: "int" args: "char *" "int" "int" */
+/* syscall: "open" ret: "int" args: "const char *" "int" "int" */
 #define        OSF1_SYS_open   45
 
                                /* 46 is obsolete sigaction */
@@ -104,10 +104,10 @@
 /* syscall: "__getlogin" ret: "int" args: "char *" "u_int" */
 #define        OSF1_SYS___getlogin     49
 
-/* syscall: "setlogin" ret: "int" args: "char *" */
+/* syscall: "setlogin" ret: "int" args: "const char *" */
 #define        OSF1_SYS_setlogin       50
 
-/* syscall: "acct" ret: "int" args: "char *" */
+/* syscall: "acct" ret: "int" args: "const char *" */
 #define        OSF1_SYS_acct   51
 
 /* syscall: "ioctl" ret: "int" args: "int" "int" "caddr_t" */
@@ -116,22 +116,22 @@
 /* syscall: "reboot" ret: "int" args: "int" */
 #define        OSF1_SYS_reboot 55
 
-/* syscall: "revoke" ret: "int" args: "char *" */
+/* syscall: "revoke" ret: "int" args: "const char *" */
 #define        OSF1_SYS_revoke 56
 
-/* syscall: "symlink" ret: "int" args: "char *" "char *" */
+/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
 #define        OSF1_SYS_symlink        57
 
-/* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
+/* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
 #define        OSF1_SYS_readlink       58
 
-/* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
+/* syscall: "execve" ret: "int" args: "const char *" "char *const *" "char *const *" */
 #define        OSF1_SYS_execve 59
 
 /* syscall: "umask" ret: "int" args: "int" */
 #define        OSF1_SYS_umask  60
 
-/* syscall: "chroot" ret: "int" args: "char *" */
+/* syscall: "chroot" ret: "int" args: "const char *" */
 #define        OSF1_SYS_chroot 61
 
 /* syscall: "getpgrp" ret: "int" args: */
@@ -143,10 +143,10 @@
 /* syscall: "vfork" ret: "int" args: */
 #define        OSF1_SYS_vfork  66
 
-/* syscall: "stat" ret: "int" args: "char *" "struct osf1_stat *" */
+/* syscall: "stat" ret: "int" args: "const char *" "struct osf1_stat *" */
 #define        OSF1_SYS_stat   67
 
-/* syscall: "lstat" ret: "int" args: "char *" "struct osf1_stat *" */
+/* syscall: "lstat" ret: "int" args: "const char *" "struct osf1_stat *" */
 #define        OSF1_SYS_lstat  68
 
 /* syscall: "mmap" ret: "caddr_t" args: "caddr_t" "size_t" "int" "int" "int" "off_t" */
@@ -173,7 +173,7 @@
 /* syscall: "gethostname" ret: "int" args: "char *" "u_int" */
 #define        OSF1_SYS_gethostname    87
 
-/* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
+/* syscall: "sethostname" ret: "int" args: "const char *" "u_int" */
 #define        OSF1_SYS_sethostname    88
 
 /* syscall: "getdtablesize" ret: "int" args: */
@@ -261,7 +261,7 @@
 /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
 #define        OSF1_SYS___posix_rename 128
 
-/* syscall: "truncate" ret: "int" args: "char *" "off_t" */
+/* syscall: "truncate" ret: "int" args: "const char *" "off_t" */
 #define        OSF1_SYS_truncate       129
 
 /* syscall: "ftruncate" ret: "int" args: "int" "off_t" */
@@ -276,13 +276,13 @@
 /* syscall: "shutdown" ret: "int" args: "int" "int" */
 #define        OSF1_SYS_shutdown       134
 
-/* syscall: "mkdir" ret: "int" args: "char *" "int" */
+/* syscall: "mkdir" ret: "int" args: "const char *" "int" */
 #define        OSF1_SYS_mkdir  136
 
-/* syscall: "rmdir" ret: "int" args: "char *" */
+/* syscall: "rmdir" ret: "int" args: "const char *" */
 #define        OSF1_SYS_rmdir  137
 
-/* syscall: "utimes" ret: "int" args: "char *" "struct timeval *" */
+/* syscall: "utimes" ret: "int" args: "const char *" "struct timeval *" */
 #define        OSF1_SYS_utimes 138
 
                                /* 139 is obsolete 4.2 sigreturn */
@@ -310,13 +310,13 @@
 /* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
 #define        OSF1_SYS_getdirentries  159
 
-/* syscall: "statfs" ret: "int" args: "char *" "struct osf1_statfs *" "int" */
+/* syscall: "statfs" ret: "int" args: "const char *" "struct osf1_statfs *" "int" */
 #define        OSF1_SYS_statfs 160
 
 /* syscall: "fstatfs" ret: "int" args: "int" "struct osf1_statfs *" "int" */
 #define        OSF1_SYS_fstatfs        161
 
-/* syscall: "__posix_lchown" ret: "int" args: "char *" "int" "int" */
+/* syscall: "__posix_lchown" ret: "int" args: "const char *" "int" "int" */
 #define        OSF1_SYS___posix_lchown 208
 
 /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
diff -r fe7eb2af989b -r 627efb6b117d sys/compat/osf1/osf1_syscallargs.h
--- a/sys/compat/osf1/osf1_syscallargs.h        Fri Apr 23 06:19:51 1999 +0000
+++ b/sys/compat/osf1/osf1_syscallargs.h        Fri Apr 23 06:20:33 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: osf1_syscallargs.h,v 1.19 1999/02/09 20:36:17 christos Exp $   */
+/*     $NetBSD: osf1_syscallargs.h,v 1.20 1999/04/23 06:20:33 cgd Exp $        */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.13 1999/02/09 20:34:17 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.14 1999/04/23 06:19:51 cgd Exp 
  */
 
 #ifndef _OSF1_SYS__SYSCALLARGS_H_
@@ -27,7 +27,7 @@
                }
 
 struct osf1_sys_mknod_args {
-       syscallarg(char *) path;
+       syscallarg(const char *) path;
        syscallarg(int) mode;
        syscallarg(int) dev;
 };
@@ -46,13 +46,13 @@
 
 struct osf1_sys_mount_args {
        syscallarg(int) type;
-       syscallarg(char *) path;
+       syscallarg(const char *) path;
        syscallarg(int) flags;
        syscallarg(caddr_t) data;
 };
 
 struct osf1_sys_unmount_args {
-       syscallarg(char *) path;
+       syscallarg(const char *) path;
        syscallarg(int) flags;
 };
 
@@ -61,7 +61,7 @@
 };
 
 struct osf1_sys_open_args {
-       syscallarg(char *) path;
+       syscallarg(const char *) path;
        syscallarg(int) flags;
        syscallarg(int) mode;
 };
@@ -78,17 +78,17 @@
 
 struct osf1_sys_execve_args {
        syscallarg(const char *) path;
-       syscallarg(char **) argp;
-       syscallarg(char **) envp;
+       syscallarg(char *const *) argp;
+       syscallarg(char *const *) envp;
 };
 
 struct osf1_sys_stat_args {
-       syscallarg(char *) path;
+       syscallarg(const char *) path;
        syscallarg(struct osf1_stat *) ub;
 };
 
 struct osf1_sys_lstat_args {
-       syscallarg(char *) path;
+       syscallarg(const char *) path;
        syscallarg(struct osf1_stat *) ub;
 };
 
@@ -131,7 +131,7 @@
 };
 
 struct osf1_sys_truncate_args {
-       syscallarg(char *) path;
+       syscallarg(const char *) path;
        syscallarg(off_t) length;
 };
 
@@ -170,7 +170,7 @@
 };
 
 struct osf1_sys_statfs_args {
-       syscallarg(char *) path;
+       syscallarg(const char *) path;
        syscallarg(struct osf1_statfs *) buf;
        syscallarg(int) len;
 };
diff -r fe7eb2af989b -r 627efb6b117d sys/compat/osf1/osf1_syscalls.c
--- a/sys/compat/osf1/osf1_syscalls.c   Fri Apr 23 06:19:51 1999 +0000
+++ b/sys/compat/osf1/osf1_syscalls.c   Fri Apr 23 06:20:33 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: osf1_syscalls.c,v 1.17 1999/02/09 20:36:17 christos Exp $      */
+/*     $NetBSD: osf1_syscalls.c,v 1.18 1999/04/23 06:20:33 cgd Exp $   */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.13 1999/02/09 20:34:17 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.14 1999/04/23 06:19:51 cgd Exp 
  */
 
 #if defined(_KERNEL) && !defined(_LKM)
diff -r fe7eb2af989b -r 627efb6b117d sys/compat/osf1/osf1_sysent.c



Home | Main Index | Thread Index | Old Index