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$");
   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(prctl);
   60 DUMMY(rt_sigpending);
   61 DUMMY(rt_sigtimedwait);
   62 DUMMY(rt_sigqueueinfo);
   63 DUMMY(capget);
   64 DUMMY(capset);
   65 DUMMY(sendfile);
   66 DUMMY(truncate64);
   67 DUMMY(setfsuid);
   68 DUMMY(setfsgid);
   69 DUMMY(pivot_root);
   70 DUMMY(mincore);
   71 DUMMY(fadvise64);
   72 DUMMY(set_tid_address);
   73 DUMMY(lookup_dcookie);
   74 DUMMY(epoll_create);
   75 DUMMY(epoll_ctl);
   76 DUMMY(epoll_wait);
   77 DUMMY(remap_file_pages);
   78 DUMMY(fstatfs64);
   79 DUMMY(tgkill);
   80 DUMMY(fadvise64_64);
   81 DUMMY(mbind);
   82 DUMMY(get_mempolicy);
   83 DUMMY(set_mempolicy);
   84 DUMMY(kexec_load);
   85 DUMMY(waitid);
   86 DUMMY(add_key);
   87 DUMMY(request_key);
   88 DUMMY(keyctl);
   89 DUMMY(ioprio_set);
   90 DUMMY(ioprio_get);
   91 DUMMY(inotify_init);
   92 DUMMY(inotify_add_watch);
   93 DUMMY(inotify_rm_watch);
   94 DUMMY(migrate_pages);
   95 DUMMY(openat);
   96 DUMMY(mkdirat);
   97 DUMMY(mknodat);
   98 DUMMY(fchownat);
   99 DUMMY(futimesat);
  100 DUMMY(fstatat64);
  101 DUMMY(unlinkat);
  102 DUMMY(renameat);
  103 DUMMY(linkat);
  104 DUMMY(symlinkat);
  105 DUMMY(readlinkat);
  106 DUMMY(fchmodat);
  107 DUMMY(faccessat);
  108 DUMMY(pselect6);
  109 DUMMY(ppoll);
  110 DUMMY(unshare);
  111 DUMMY(timer_create);
  112 DUMMY(timer_settime);
  113 DUMMY(timer_gettime);
  114 DUMMY(timer_getoverrun);
  115 DUMMY(timer_delete);
  116 DUMMY(mq_open);
  117 DUMMY(mq_unlink);
  118 DUMMY(mq_timedsend);
  119 DUMMY(mq_timedreceive);
  120 DUMMY(mq_notify);
  121 DUMMY(mq_getsetattr);
  122 
  123 #define DUMMY_XATTR(s)                                          \
  124 int                                                             \
  125 linux_ ## s ## xattr(                                           \
  126     struct thread *td, struct linux_ ## s ## xattr_args *arg)   \
  127 {                                                               \
  128                                                                 \
  129         return (ENOATTR);                                       \
  130 }
  131 DUMMY_XATTR(set);
  132 DUMMY_XATTR(lset);
  133 DUMMY_XATTR(fset);
  134 DUMMY_XATTR(get);
  135 DUMMY_XATTR(lget);
  136 DUMMY_XATTR(fget);
  137 DUMMY_XATTR(list);
  138 DUMMY_XATTR(llist);
  139 DUMMY_XATTR(flist);
  140 DUMMY_XATTR(remove);
  141 DUMMY_XATTR(lremove);
  142 DUMMY_XATTR(fremove);

Cache object: ff6530421cb49baa65e3a6002950daaf


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