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/amd64/linux32/linux32_dummy.c

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
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: releng/10.1/sys/amd64/linux32/linux32_dummy.c 272020 2014-09-23 07:50:04Z bz $");
   31 
   32 #include "opt_compat.h"
   33 #include "opt_kdtrace.h"
   34 
   35 #include <sys/param.h>
   36 #include <sys/kernel.h>
   37 #include <sys/sdt.h>
   38 #include <sys/systm.h>
   39 #include <sys/proc.h>
   40 
   41 #include <amd64/linux32/linux.h>
   42 #include <amd64/linux32/linux32_proto.h>
   43 #include <compat/linux/linux_dtrace.h>
   44 #include <compat/linux/linux_util.h>
   45 
   46 /* DTrace init */
   47 LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE);
   48 
   49 DUMMY(stime);
   50 DUMMY(olduname);
   51 DUMMY(syslog);
   52 DUMMY(uname);
   53 DUMMY(vhangup);
   54 DUMMY(swapoff);
   55 DUMMY(adjtimex);
   56 DUMMY(create_module);
   57 DUMMY(init_module);
   58 DUMMY(delete_module);
   59 DUMMY(get_kernel_syms);
   60 DUMMY(quotactl);
   61 DUMMY(bdflush);
   62 DUMMY(sysfs);
   63 DUMMY(query_module);
   64 DUMMY(nfsservctl);
   65 DUMMY(rt_sigqueueinfo);
   66 DUMMY(sendfile);
   67 DUMMY(setfsuid);
   68 DUMMY(setfsgid);
   69 DUMMY(pivot_root);
   70 DUMMY(mincore);
   71 DUMMY(ptrace);
   72 DUMMY(lookup_dcookie);
   73 DUMMY(epoll_create);
   74 DUMMY(epoll_ctl);
   75 DUMMY(epoll_wait);
   76 DUMMY(remap_file_pages);
   77 DUMMY(fstatfs64);
   78 DUMMY(mbind);
   79 DUMMY(get_mempolicy);
   80 DUMMY(set_mempolicy);
   81 DUMMY(mq_open);
   82 DUMMY(mq_unlink);
   83 DUMMY(mq_timedsend);
   84 DUMMY(mq_timedreceive);
   85 DUMMY(mq_notify);
   86 DUMMY(mq_getsetattr);
   87 DUMMY(kexec_load);
   88 DUMMY(waitid);
   89 /* linux 2.6.11: */
   90 DUMMY(add_key);
   91 DUMMY(request_key);
   92 DUMMY(keyctl);
   93 /* linux 2.6.13: */
   94 DUMMY(ioprio_set);
   95 DUMMY(ioprio_get);
   96 DUMMY(inotify_init);
   97 DUMMY(inotify_add_watch);
   98 DUMMY(inotify_rm_watch);
   99 /* linux 2.6.16: */
  100 DUMMY(migrate_pages);
  101 DUMMY(pselect6);
  102 DUMMY(ppoll);
  103 DUMMY(unshare);
  104 /* linux 2.6.17: */
  105 DUMMY(splice);
  106 DUMMY(sync_file_range);
  107 DUMMY(tee);
  108 DUMMY(vmsplice);
  109 /* linux 2.6.18: */
  110 DUMMY(move_pages);
  111 /* linux 2.6.19: */
  112 DUMMY(getcpu);
  113 DUMMY(epoll_pwait);
  114 /* linux 2.6.22: */
  115 DUMMY(utimensat);
  116 DUMMY(signalfd);
  117 DUMMY(timerfd_create);
  118 DUMMY(eventfd);
  119 /* linux 2.6.23: */
  120 DUMMY(fallocate);
  121 /* linux 2.6.25: */
  122 DUMMY(timerfd_settime);
  123 DUMMY(timerfd_gettime);
  124 /* linux 2.6.27: */
  125 DUMMY(signalfd4);
  126 DUMMY(eventfd2);
  127 DUMMY(epoll_create1);
  128 DUMMY(dup3);
  129 DUMMY(inotify_init1);
  130 /* linux 2.6.30: */
  131 DUMMY(preadv);
  132 DUMMY(pwritev);
  133 /* linux 2.6.31: */
  134 DUMMY(rt_tsigqueueinfo);
  135 DUMMY(perf_event_open);
  136 /* linux 2.6.33: */
  137 DUMMY(recvmmsg);
  138 DUMMY(fanotify_init);
  139 DUMMY(fanotify_mark);
  140 /* linux 2.6.36: */
  141 DUMMY(prlimit64);
  142 /* later: */
  143 DUMMY(name_to_handle_at);
  144 DUMMY(open_by_handle_at);
  145 DUMMY(clock_adjtime);
  146 DUMMY(syncfs);
  147 DUMMY(sendmmsg);
  148 DUMMY(setns);
  149 DUMMY(process_vm_readv);
  150 DUMMY(process_vm_writev);
  151 
  152 #define DUMMY_XATTR(s)                                          \
  153 int                                                             \
  154 linux_ ## s ## xattr(                                           \
  155     struct thread *td, struct linux_ ## s ## xattr_args *arg)   \
  156 {                                                               \
  157                                                                 \
  158         return (ENOATTR);                                       \
  159 }
  160 DUMMY_XATTR(set);
  161 DUMMY_XATTR(lset);
  162 DUMMY_XATTR(fset);
  163 DUMMY_XATTR(get);
  164 DUMMY_XATTR(lget);
  165 DUMMY_XATTR(fget);
  166 DUMMY_XATTR(list);
  167 DUMMY_XATTR(llist);
  168 DUMMY_XATTR(flist);
  169 DUMMY_XATTR(remove);
  170 DUMMY_XATTR(lremove);
  171 DUMMY_XATTR(fremove);

Cache object: cd6e8dbe96ef03e79411cc6b45179f6d


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