The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/i386/linux/linux_dummy.c

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*-
    2  * Copyright (c) 1994-1995 Søren Schmidt
    3  * All rights reserved.
    4  *
    5  * Redistribution and use in source and binary forms, with or without
    6  * modification, are permitted provided that the following conditions
    7  * are met:
    8  * 1. Redistributions of source code must retain the above copyright
    9  *    notice, this list of conditions and the following disclaimer 
   10  *    in this position and unchanged.
   11  * 2. Redistributions in binary form must reproduce the above copyright
   12  *    notice, this list of conditions and the following disclaimer in the
   13  *    documentation and/or other materials provided with the distribution.
   14  * 3. The name of the author may not be used to endorse or promote products
   15  *    derived from this software withough specific prior written permission
   16  *
   17  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
   18  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   19  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
   20  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
   21  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
   22  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
   23  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
   24  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
   25  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
   26  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   27  *
   28  * $FreeBSD: src/sys/i386/linux/linux_dummy.c,v 1.3.4.3 1999/09/05 08:14:12 peter Exp $
   29  */
   30 
   31 #include <sys/param.h>
   32 #include <sys/sysproto.h>
   33 #include <sys/systm.h>
   34 #include <sys/proc.h>
   35 #include <sys/resourcevar.h>
   36 
   37 #include <i386/linux/linux.h>
   38 #include <i386/linux/linux_proto.h>
   39 
   40 int
   41 linux_setup(struct proc *p, struct linux_setup_args *args, int *retval)
   42 {
   43     printf("Linux-emul(%d): setup() not supported\n", p->p_pid);
   44     return ENOSYS;
   45 }
   46 
   47 int
   48 linux_break(struct proc *p, struct linux_break_args *args, int *retval)
   49 {
   50     printf("Linux-emul(%d): break() not supported\n", p->p_pid);
   51     return ENOSYS;
   52 }
   53 
   54 int
   55 linux_stat(struct proc *p, struct linux_stat_args *args, int *retval)
   56 {
   57     printf("Linux-emul(%d): stat() not supported\n", p->p_pid);
   58     return ENOSYS;
   59 }
   60 
   61 int
   62 linux_fstat(struct proc *p, struct linux_fstat_args *args, int *retval)
   63 {
   64     printf("Linux-emul(%d): fstat() not supported\n", p->p_pid);
   65     return ENOSYS;
   66 }
   67 
   68 int
   69 linux_mount(struct proc *p, struct linux_mount_args *args, int *retval)
   70 {
   71     printf("Linux-emul(%d): mount() not supported\n", p->p_pid);
   72     return ENOSYS;
   73 }
   74 
   75 int
   76 linux_umount(struct proc *p, struct linux_umount_args *args, int *retval)
   77 {
   78     printf("Linux-emul(%d): umount() not supported\n", p->p_pid);
   79     return ENOSYS;
   80 }
   81 
   82 int
   83 linux_stime(struct proc *p, struct linux_stime_args *args, int *retval)
   84 {
   85     printf("Linux-emul(%d): stime() not supported\n", p->p_pid);
   86     return ENOSYS;
   87 }
   88 
   89 int
   90 linux_ptrace(struct proc *p, struct linux_ptrace_args *args, int *retval)
   91 {
   92     printf("Linux-emul(%d): ptrace() not supported\n", p->p_pid);
   93     return ENOSYS;
   94 }
   95 
   96 int
   97 linux_stty(struct proc *p, struct linux_stty_args *args, int *retval)
   98 {
   99     printf("Linux-emul(%d): stty() not supported\n", p->p_pid);
  100     return ENOSYS;
  101 }
  102 
  103 int
  104 linux_gtty(struct proc *p, struct linux_gtty_args *args, int *retval)
  105 {
  106     printf("Linux-emul(%d): gtty() not supported\n", p->p_pid);
  107     return ENOSYS;
  108 }
  109 
  110 int
  111 linux_ftime(struct proc *p, struct linux_ftime_args *args, int *retval)
  112 {
  113     printf("Linux-emul(%d): ftime() not supported\n", p->p_pid);
  114     return ENOSYS;
  115 }
  116 
  117 int
  118 linux_prof(struct proc *p, struct linux_prof_args *args, int *retval)
  119 {
  120     printf("Linux-emul(%d): prof() not supported\n", p->p_pid);
  121     return ENOSYS;
  122 }
  123 
  124 int
  125 linux_phys(struct proc *p, struct linux_phys_args *args, int *retval)
  126 {
  127     printf("Linux-emul(%d): phys() not supported\n", p->p_pid);
  128     return ENOSYS;
  129 }
  130 
  131 int
  132 linux_lock(struct proc *p, struct linux_lock_args *args, int *retval)
  133 {
  134     printf("Linux-emul(%d): lock() not supported\n", p->p_pid);
  135     return ENOSYS;
  136 }
  137 
  138 int
  139 linux_mpx(struct proc *p, struct linux_mpx_args *args, int *retval)
  140 {
  141     printf("Linux-emul(%d): mpx() not supported\n", p->p_pid);
  142     return ENOSYS;
  143 }
  144 
  145 int
  146 linux_ulimit(struct proc *p, struct linux_ulimit_args *args, int *retval)
  147 {
  148     printf("Linux-emul(%d): ulimit() not supported\n", p->p_pid);
  149     return ENOSYS;
  150 }
  151 
  152 int
  153 linux_olduname(struct proc *p, struct linux_olduname_args *args, int *retval)
  154 {
  155     printf("Linux-emul(%d): olduname() not supported\n", p->p_pid);
  156     return ENOSYS;
  157 }
  158 
  159 int
  160 linux_ustat(struct proc *p, struct linux_ustat_args *args, int *retval)
  161 {
  162     printf("Linux-emul(%d): ustat() not supported\n", p->p_pid);
  163     return ENOSYS;
  164 }
  165 
  166 int
  167 linux_ioperm(struct proc *p, struct linux_ioperm_args *args, int *retval)
  168 {
  169     printf("Linux-emul(%d): ioperm() not supported\n", p->p_pid);
  170     return 0; /* EINVAL SOS XXX */
  171 }
  172 
  173 int
  174 linux_ksyslog(struct proc *p, struct linux_ksyslog_args *args, int *retval)
  175 {
  176     printf("Linux-emul(%d): ksyslog(%x) not supported\n",
  177         p->p_pid, args->what);
  178     return ENOSYS;      /* EPERM - Peter - it's a root-only thing */
  179 }
  180 
  181 int
  182 linux_vhangup(struct proc *p, struct linux_vhangup_args *args, int *retval)
  183 {
  184     printf("Linux-emul(%d): vhangup() not supported\n", p->p_pid);
  185     return ENOSYS;
  186 }
  187 
  188 int
  189 linux_idle(struct proc *p, struct linux_idle_args *args, int *retval)
  190 {
  191     printf("Linux-emul(%d): idle() not supported\n", p->p_pid);
  192     return ENOSYS;
  193 }
  194 
  195 int
  196 linux_vm86(struct proc *p, struct linux_vm86_args *args, int *retval)
  197 {
  198     printf("Linux-emul(%d): vm86() not supported\n", p->p_pid);
  199     return ENOSYS;
  200 }
  201 
  202 int
  203 linux_swapoff(struct proc *p, struct linux_swapoff_args *args, int *retval)
  204 {
  205     printf("Linux-emul(%d): swapoff() not supported\n", p->p_pid);
  206     return ENOSYS;
  207 }
  208 
  209 int
  210 linux_sysinfo(struct proc *p, struct linux_sysinfo_args *args, int *retval)
  211 {
  212     printf("Linux-emul(%d): sysinfo() not supported\n", p->p_pid);
  213     return ENOSYS;
  214 }
  215 
  216 int
  217 linux_clone(struct proc *p, struct linux_clone_args *args, int *retval)
  218 {
  219     printf("Linux-emul(%d): clone() not supported\n", p->p_pid);
  220     return ENOSYS;
  221 }
  222 
  223 int
  224 linux_uname(struct proc *p, struct linux_uname_args *args, int *retval)
  225 {
  226     printf("Linux-emul(%d): uname() not supported\n", p->p_pid);
  227     return ENOSYS;
  228 }
  229 
  230 int
  231 linux_modify_ldt(struct proc *p, struct linux_modify_ldt_args *args, int *retval)
  232 {
  233     printf("Linux-emul(%d): modify_ldt() not supported\n", p->p_pid);
  234     return ENOSYS;
  235 }
  236 
  237 int
  238 linux_adjtimex(struct proc *p, struct linux_adjtimex_args *args, int *retval)
  239 {
  240     printf("Linux-emul(%d): adjtimex() not supported\n", p->p_pid);
  241     return ENOSYS;
  242 }
  243 
  244 int
  245 linux_create_module(struct proc *p, struct linux_create_module_args *args, int *retval)
  246 {
  247     printf("Linux-emul(%d): create_module() not supported\n", p->p_pid);
  248     return ENOSYS;
  249 }
  250 
  251 int
  252 linux_init_module(struct proc *p, struct linux_init_module_args *args, int *retval)
  253 {
  254     printf("Linux-emul(%d): init_module() not supported\n", p->p_pid);
  255     return ENOSYS;
  256 }
  257 
  258 int
  259 linux_delete_module(struct proc *p, struct linux_delete_module_args *args, int *retval)
  260 {
  261     printf("Linux-emul(%d): delete_module() not supported\n", p->p_pid);
  262     return ENOSYS;
  263 }
  264 
  265 int
  266 linux_get_kernel_syms(struct proc *p, struct linux_get_kernel_syms_args *args, int *retval)
  267 {
  268     printf("Linux-emul(%d): get_kernel_syms() not supported\n", p->p_pid);
  269     return ENOSYS;
  270 }
  271 
  272 int
  273 linux_quotactl(struct proc *p, struct linux_quotactl_args *args, int *retval)
  274 {
  275     printf("Linux-emul(%d): quotactl() not supported\n", p->p_pid);
  276     return ENOSYS;
  277 }
  278 
  279 int
  280 linux_bdflush(struct proc *p, struct linux_bdflush_args *args, int *retval)
  281 {
  282     printf("Linux-emul(%d): bdflush() not supported\n", p->p_pid);
  283     return ENOSYS;
  284 }

Cache object: 2320bc3b25e86613add9c2b7330d3e66


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.