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-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: releng/10.4/sys/amd64/linux32/linux32_dummy.c 297300 2016-03-27 06:10:51Z dchagin $");
   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(sendfile);
   66 DUMMY(setfsuid);
   67 DUMMY(setfsgid);
   68 DUMMY(pivot_root);
   69 DUMMY(mincore);
   70 DUMMY(ptrace);
   71 DUMMY(lookup_dcookie);
   72 DUMMY(remap_file_pages);
   73 DUMMY(mbind);
   74 DUMMY(get_mempolicy);
   75 DUMMY(set_mempolicy);
   76 DUMMY(mq_open);
   77 DUMMY(mq_unlink);
   78 DUMMY(mq_timedsend);
   79 DUMMY(mq_timedreceive);
   80 DUMMY(mq_notify);
   81 DUMMY(mq_getsetattr);
   82 DUMMY(kexec_load);
   83 /* linux 2.6.11: */
   84 DUMMY(add_key);
   85 DUMMY(request_key);
   86 DUMMY(keyctl);
   87 /* linux 2.6.13: */
   88 DUMMY(ioprio_set);
   89 DUMMY(ioprio_get);
   90 DUMMY(inotify_init);
   91 DUMMY(inotify_add_watch);
   92 DUMMY(inotify_rm_watch);
   93 /* linux 2.6.16: */
   94 DUMMY(migrate_pages);
   95 DUMMY(unshare);
   96 /* linux 2.6.17: */
   97 DUMMY(splice);
   98 DUMMY(sync_file_range);
   99 DUMMY(tee);
  100 DUMMY(vmsplice);
  101 /* linux 2.6.18: */
  102 DUMMY(move_pages);
  103 /* linux 2.6.19: */
  104 DUMMY(getcpu);
  105 /* linux 2.6.22: */
  106 DUMMY(signalfd);
  107 DUMMY(timerfd_create);
  108 /* linux 2.6.25: */
  109 DUMMY(timerfd_settime);
  110 DUMMY(timerfd_gettime);
  111 /* linux 2.6.27: */
  112 DUMMY(signalfd4);
  113 DUMMY(inotify_init1);
  114 /* linux 2.6.30: */
  115 DUMMY(preadv);
  116 DUMMY(pwritev);
  117 /* linux 2.6.31: */
  118 DUMMY(rt_tsigqueueinfo);
  119 DUMMY(perf_event_open);
  120 /* linux 2.6.33: */
  121 DUMMY(fanotify_init);
  122 DUMMY(fanotify_mark);
  123 /* later: */
  124 DUMMY(name_to_handle_at);
  125 DUMMY(open_by_handle_at);
  126 DUMMY(clock_adjtime);
  127 DUMMY(setns);
  128 DUMMY(process_vm_readv);
  129 DUMMY(process_vm_writev);
  130 
  131 #define DUMMY_XATTR(s)                                          \
  132 int                                                             \
  133 linux_ ## s ## xattr(                                           \
  134     struct thread *td, struct linux_ ## s ## xattr_args *arg)   \
  135 {                                                               \
  136                                                                 \
  137         return (ENOATTR);                                       \
  138 }
  139 DUMMY_XATTR(set);
  140 DUMMY_XATTR(lset);
  141 DUMMY_XATTR(fset);
  142 DUMMY_XATTR(get);
  143 DUMMY_XATTR(lget);
  144 DUMMY_XATTR(fget);
  145 DUMMY_XATTR(list);
  146 DUMMY_XATTR(llist);
  147 DUMMY_XATTR(flist);
  148 DUMMY_XATTR(remove);
  149 DUMMY_XATTR(lremove);
  150 DUMMY_XATTR(fremove);

Cache object: e951bcc6512eff0907300692eb908998


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