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 without 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 
   29 #include <sys/cdefs.h>
   30 __FBSDID("$FreeBSD: stable/8/sys/i386/linux/linux_dummy.c 234318 2012-04-15 16:55:26Z netchild $");
   31 
   32 #include <sys/param.h>
   33 #include <sys/systm.h>
   34 #include <sys/proc.h>
   35 
   36 #include <i386/linux/linux.h>
   37 #include <i386/linux/linux_proto.h>
   38 #include <compat/linux/linux_util.h>
   39 
   40 DUMMY(stime);
   41 DUMMY(fstat);
   42 DUMMY(olduname);
   43 DUMMY(syslog);
   44 DUMMY(uname);
   45 DUMMY(vhangup);
   46 DUMMY(vm86old);
   47 DUMMY(swapoff);
   48 DUMMY(adjtimex);
   49 DUMMY(create_module);
   50 DUMMY(init_module);
   51 DUMMY(delete_module);
   52 DUMMY(get_kernel_syms);
   53 DUMMY(quotactl);
   54 DUMMY(bdflush);
   55 DUMMY(sysfs);
   56 DUMMY(vm86);
   57 DUMMY(query_module);
   58 DUMMY(nfsservctl);
   59 DUMMY(rt_sigqueueinfo);
   60 DUMMY(sendfile);                /* different semantics */
   61 DUMMY(setfsuid);
   62 DUMMY(setfsgid);
   63 DUMMY(pivot_root);
   64 DUMMY(mincore);
   65 DUMMY(lookup_dcookie);
   66 DUMMY(epoll_create);
   67 DUMMY(epoll_ctl);
   68 DUMMY(epoll_wait);
   69 DUMMY(remap_file_pages);
   70 DUMMY(fstatfs64);
   71 DUMMY(mbind);
   72 DUMMY(get_mempolicy);
   73 DUMMY(set_mempolicy);
   74 DUMMY(kexec_load);
   75 DUMMY(waitid);
   76 /* linux 2.6.11: */
   77 DUMMY(add_key);
   78 DUMMY(request_key);
   79 DUMMY(keyctl);
   80 /* linux 2.6.13: */
   81 DUMMY(ioprio_set);
   82 DUMMY(ioprio_get);
   83 DUMMY(inotify_init);
   84 DUMMY(inotify_add_watch);
   85 DUMMY(inotify_rm_watch);
   86 /* linux 2.6.16: */
   87 DUMMY(migrate_pages);
   88 DUMMY(pselect6);
   89 DUMMY(ppoll);
   90 DUMMY(unshare);
   91 /* linux 2.6.17: */
   92 DUMMY(splice);
   93 DUMMY(sync_file_range);
   94 DUMMY(tee);
   95 DUMMY(vmsplice);
   96 /* linux 2.6.18: */
   97 DUMMY(move_pages);
   98 /* linux 2.6.19: */
   99 DUMMY(getcpu);
  100 DUMMY(epoll_pwait);
  101 /* linux 2.6.22: */
  102 DUMMY(utimensat);
  103 DUMMY(signalfd);
  104 DUMMY(timerfd_create);
  105 DUMMY(eventfd);
  106 /* linux 2.6.23: */
  107 DUMMY(fallocate);
  108 /* linux 2.6.25: */
  109 DUMMY(timerfd_settime);
  110 DUMMY(timerfd_gettime);
  111 /* linux 2.6.27: */
  112 DUMMY(signalfd4);
  113 DUMMY(eventfd2);
  114 DUMMY(epoll_create1);
  115 DUMMY(dup3);
  116 DUMMY(pipe2);
  117 DUMMY(inotify_init1);
  118 /* linux 2.6.30: */
  119 DUMMY(preadv);
  120 DUMMY(pwritev);
  121 /* linux 2.6.31 */
  122 DUMMY(rt_tsigqueueinfo);
  123 DUMMY(perf_event_open);
  124 /* linux 2.6.33: */
  125 DUMMY(recvmmsg);
  126 DUMMY(fanotify_init);
  127 DUMMY(fanotify_mark);
  128 /* linux 2.6.36: */
  129 DUMMY(prlimit64);
  130 /* later: */
  131 DUMMY(name_to_handle_at);
  132 DUMMY(open_by_handle_at);
  133 DUMMY(clock_adjtime);
  134 DUMMY(syncfs);
  135 DUMMY(sendmmsg);
  136 DUMMY(setns);
  137 DUMMY(process_vm_readv);
  138 DUMMY(process_vm_writev);
  139 
  140 #define DUMMY_XATTR(s)                                          \
  141 int                                                             \
  142 linux_ ## s ## xattr(                                           \
  143     struct thread *td, struct linux_ ## s ## xattr_args *arg)   \
  144 {                                                               \
  145                                                                 \
  146         return (ENOATTR);                                       \
  147 }
  148 DUMMY_XATTR(set);
  149 DUMMY_XATTR(lset);
  150 DUMMY_XATTR(fset);
  151 DUMMY_XATTR(get);
  152 DUMMY_XATTR(lget);
  153 DUMMY_XATTR(fget);
  154 DUMMY_XATTR(list);
  155 DUMMY_XATTR(llist);
  156 DUMMY_XATTR(flist);
  157 DUMMY_XATTR(remove);
  158 DUMMY_XATTR(lremove);
  159 DUMMY_XATTR(fremove);

Cache object: f982b8f86e4057c92ed0c9e8ab08d669


[ 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.