Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/osf1 stub classcntl(). for now, it returns ENOSY...



details:   https://anonhg.NetBSD.org/src/rev/f7be54c76ee6
branches:  trunk
changeset: 472657:f7be54c76ee6
user:      cgd <cgd%NetBSD.org@localhost>
date:      Tue May 04 05:17:22 1999 +0000

description:
stub classcntl().  for now, it returns ENOSYS.  (a stub for classcntl()
was suggested by Anders Magnusson <ragge%ludd.luth.se@localhost>.)

diffstat:

 sys/compat/osf1/osf1_misc.c     |  13 ++++++++++++-
 sys/compat/osf1/syscalls.master |   5 +++--
 2 files changed, 15 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r d0bf7be5bab4 -r f7be54c76ee6 sys/compat/osf1/osf1_misc.c
--- a/sys/compat/osf1/osf1_misc.c       Tue May 04 05:11:03 1999 +0000
+++ b/sys/compat/osf1/osf1_misc.c       Tue May 04 05:17:22 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_misc.c,v 1.49 1999/05/04 02:45:35 cgd Exp $ */
+/* $NetBSD: osf1_misc.c,v 1.50 1999/05/04 05:17:22 cgd Exp $ */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -334,3 +334,14 @@
 
        return (error);
 }
+
+int
+osf1_sys_classcntl(p, v, retval)
+       struct proc *p;
+       void *v;
+       register_t *retval;
+{
+
+       /* XXX */
+       return (ENOSYS);
+}
diff -r d0bf7be5bab4 -r f7be54c76ee6 sys/compat/osf1/syscalls.master
--- a/sys/compat/osf1/syscalls.master   Tue May 04 05:11:03 1999 +0000
+++ b/sys/compat/osf1/syscalls.master   Tue May 04 05:17:22 1999 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.25 1999/05/04 04:59:21 cgd Exp $
+       $NetBSD: syscalls.master,v 1.26 1999/05/04 05:17:22 cgd Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -108,7 +108,8 @@
 50     NOARGS          { int sys_setlogin(const char *namebuf); }
 51     NOARGS          { int sys_acct(const char *path); }
 52     UNIMPL          sigpending
-53     UNIMPL          classcntl
+53     STD             { int osf1_sys_classcntl(int opcode, int arg1, \
+                           int arg2, int arg3); }
 54     STD             { int osf1_sys_ioctl(int fd, int com, caddr_t data); }
 55     STD             { int osf1_sys_reboot(int opt); }
 56     NOARGS          { int sys_revoke(const char *path); }



Home | Main Index | Thread Index | Old Index