[BACK]Return to sunos_machdep.c CVS log [TXT][DIR] Up to [local] / sys / arch / sparc / sparc

Annotation of sys/arch/sparc/sparc/sunos_machdep.c, Revision 1.1

1.1     ! nbrk        1: /*     $OpenBSD: sunos_machdep.c,v 1.2 1997/08/08 08:27:41 downsj Exp $        */
        !             2: /*     $NetBSD: sunos_machdep.c,v 1.4 1996/10/05 23:44:33 mrg Exp $    */
        !             3:
        !             4: /*
        !             5:  * Copyright (c) 1995 Matthew R. Green
        !             6:  * All rights reserved.
        !             7:  *
        !             8:  * Redistribution and use in source and binary forms, with or without
        !             9:  * modification, are permitted provided that the following conditions
        !            10:  * are met:
        !            11:  * 1. Redistributions of source code must retain the above copyright
        !            12:  *    notice, this list of conditions and the following disclaimer.
        !            13:  * 2. Redistributions in binary form must reproduce the above copyright
        !            14:  *    notice, this list of conditions and the following disclaimer in the
        !            15:  *    documentation and/or other materials provided with the distribution.
        !            16:  * 3. All advertising materials mentioning features or use of this software
        !            17:  *    must display the following acknowledgement:
        !            18:  *      This product includes software developed by Matthew R. Green for
        !            19:  *      the NetBSD Project.
        !            20:  * 4. The name of the author may not be used to endorse or promote products
        !            21:  *    derived from this software without specific prior written permission.
        !            22:  *
        !            23:  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
        !            24:  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
        !            25:  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
        !            26:  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
        !            27:  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
        !            28:  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
        !            29:  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
        !            30:  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
        !            31:  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
        !            32:  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
        !            33:  * SUCH DAMAGE.
        !            34:  */
        !            35:
        !            36: /*
        !            37:  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
        !            38:  */
        !            39:
        !            40: #include <sys/param.h>
        !            41: #include <sys/systm.h>
        !            42: #include <sys/proc.h>
        !            43: #include <sys/namei.h>
        !            44: #include <sys/user.h>
        !            45: #include <sys/filedesc.h>
        !            46: #include <sys/ioctl.h>
        !            47: #include <sys/mount.h>
        !            48: #include <sys/kernel.h>
        !            49: #include <sys/signal.h>
        !            50: #include <sys/signalvar.h>
        !            51: #include <sys/malloc.h>
        !            52:
        !            53: #include <sys/syscallargs.h>
        !            54: #include <compat/sunos/sunos_syscallargs.h>
        !            55:
        !            56: int
        !            57: sunos_sys_sigreturn(p, v, retval)
        !            58:         register struct proc *p;
        !            59:        void *v;
        !            60:        register_t *retval;
        !            61: {
        !            62:        struct sunos_sys_sigreturn_args *uap = v;
        !            63:
        !            64:        return (sys_sigreturn(p, (struct sys_sigreturn_args *)uap, retval));
        !            65: }

CVSweb