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  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
    3  *
    4  * Copyright (c) 1994-1995 Søren Schmidt
    5  * All rights reserved.
    6  *
    7  * Redistribution and use in source and binary forms, with or without
    8  * modification, are permitted provided that the following conditions
    9  * are met:
   10  * 1. Redistributions of source code must retain the above copyright
   11  *    notice, this list of conditions and the following disclaimer.
   12  * 2. Redistributions in binary form must reproduce the above copyright
   13  *    notice, this list of conditions and the following disclaimer in the
   14  *    documentation and/or other materials provided with the distribution.
   15  *
   16  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
   17  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   18  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   19  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
   20  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   21  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   22  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   23  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   24  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   25  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   26  * SUCH DAMAGE.
   27  */
   28 
   29 #include <sys/cdefs.h>
   30 __FBSDID("$FreeBSD: stable/12/sys/amd64/linux32/linux32_dummy.c 365034 2020-09-01 12:09:13Z trasz $");
   31 
   32 #include <sys/param.h>
   33 #include <sys/kernel.h>
   34 #include <sys/sdt.h>
   35 #include <sys/systm.h>
   36 #include <sys/proc.h>
   37 
   38 #include <amd64/linux32/linux.h>
   39 #include <amd64/linux32/linux32_proto.h>
   40 #include <compat/linux/linux_dtrace.h>
   41 #include <compat/linux/linux_util.h>
   42 
   43 /* DTrace init */
   44 LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE);
   45 
   46 UNIMPLEMENTED(afs_syscall);
   47 UNIMPLEMENTED(break);
   48 UNIMPLEMENTED(create_module);   /* Added in Linux 1.0 removed in 2.6. */
   49 UNIMPLEMENTED(ftime);
   50 UNIMPLEMENTED(get_kernel_syms); /* Added in Linux 1.0 removed in 2.6. */
   51 UNIMPLEMENTED(getpmsg);
   52 UNIMPLEMENTED(gtty);
   53 UNIMPLEMENTED(stty);
   54 UNIMPLEMENTED(lock);
   55 UNIMPLEMENTED(mpx);
   56 UNIMPLEMENTED(nfsservctl);      /* Added in Linux 2.2 removed in 3.1. */
   57 UNIMPLEMENTED(prof);
   58 UNIMPLEMENTED(profil);
   59 UNIMPLEMENTED(putpmsg);
   60 UNIMPLEMENTED(query_module);    /* Added in Linux 2.2 removed in 2.6. */
   61 UNIMPLEMENTED(ulimit);
   62 UNIMPLEMENTED(vserver);
   63 
   64 DUMMY(stime);
   65 DUMMY(olduname);
   66 DUMMY(uname);
   67 DUMMY(vhangup);
   68 DUMMY(swapoff);
   69 DUMMY(adjtimex);
   70 DUMMY(init_module);
   71 DUMMY(delete_module);
   72 DUMMY(quotactl);
   73 DUMMY(bdflush);
   74 DUMMY(sysfs);
   75 DUMMY(sendfile);
   76 DUMMY(setfsuid);
   77 DUMMY(setfsgid);
   78 DUMMY(pivot_root);
   79 DUMMY(ptrace);
   80 DUMMY(lookup_dcookie);
   81 DUMMY(remap_file_pages);
   82 DUMMY(mbind);
   83 DUMMY(get_mempolicy);
   84 DUMMY(set_mempolicy);
   85 DUMMY(mq_open);
   86 DUMMY(mq_unlink);
   87 DUMMY(mq_timedsend);
   88 DUMMY(mq_timedreceive);
   89 DUMMY(mq_notify);
   90 DUMMY(mq_getsetattr);
   91 DUMMY(kexec_load);
   92 /* Linux 2.6.11: */
   93 DUMMY(add_key);
   94 DUMMY(request_key);
   95 DUMMY(keyctl);
   96 /* Linux 2.6.13: */
   97 DUMMY(ioprio_set);
   98 DUMMY(ioprio_get);
   99 DUMMY(inotify_init);
  100 DUMMY(inotify_add_watch);
  101 DUMMY(inotify_rm_watch);
  102 /* Linux 2.6.16: */
  103 DUMMY(migrate_pages);
  104 DUMMY(unshare);
  105 /* Linux 2.6.17: */
  106 DUMMY(tee);
  107 DUMMY(vmsplice);
  108 /* Linux 2.6.18: */
  109 DUMMY(move_pages);
  110 /* Linux 2.6.22: */
  111 DUMMY(signalfd);
  112 /* Linux 2.6.27: */
  113 DUMMY(signalfd4);
  114 DUMMY(inotify_init1);
  115 /* Linux 2.6.31: */
  116 DUMMY(perf_event_open);
  117 /* Linux 2.6.36: */
  118 DUMMY(fanotify_init);
  119 DUMMY(fanotify_mark);
  120 /* Linux 2.6.39: */
  121 DUMMY(name_to_handle_at);
  122 DUMMY(open_by_handle_at);
  123 DUMMY(clock_adjtime);
  124 /* Linux 3.0: */
  125 DUMMY(setns);
  126 /* Linux 3.2: */
  127 DUMMY(process_vm_readv);
  128 DUMMY(process_vm_writev);
  129 /* Linux 3.5: */
  130 DUMMY(kcmp);
  131 /* Linux 3.8: */
  132 DUMMY(finit_module);
  133 DUMMY(sched_setattr);
  134 DUMMY(sched_getattr);
  135 /* Linux 3.17: */
  136 DUMMY(memfd_create);
  137 DUMMY(seccomp);
  138 /* Linux 3.18: */
  139 DUMMY(bpf);
  140 /* Linux 3.19: */
  141 DUMMY(execveat);
  142 /* Linux 4.2: */
  143 DUMMY(userfaultfd);
  144 /* Linux 4.3: */
  145 DUMMY(membarrier);
  146 /* Linux 4.4: */
  147 DUMMY(mlock2);
  148 /* Linux 4.5: */
  149 DUMMY(copy_file_range);
  150 /* Linux 4.6: */
  151 DUMMY(preadv2);
  152 DUMMY(pwritev2);
  153 /* Linux 4.8: */
  154 DUMMY(pkey_mprotect);
  155 DUMMY(pkey_alloc);
  156 DUMMY(pkey_free);
  157 /* Linux 4.11: */
  158 DUMMY(statx);
  159 DUMMY(arch_prctl);
  160 /* Linux 4.18: */
  161 DUMMY(io_pgetevents);
  162 DUMMY(rseq);
  163 /* Linux 5.0: */
  164 DUMMY(clock_gettime64);
  165 DUMMY(clock_settime64);
  166 DUMMY(clock_adjtime64);
  167 DUMMY(clock_getres_time64);
  168 DUMMY(clock_nanosleep_time64);
  169 DUMMY(timer_gettime64);
  170 DUMMY(timer_settime64);
  171 DUMMY(timerfd_gettime64);
  172 DUMMY(timerfd_settime64);
  173 DUMMY(utimensat_time64);
  174 DUMMY(pselect6_time64);
  175 DUMMY(ppoll_time64);
  176 DUMMY(io_pgetevents_time64);
  177 DUMMY(recvmmsg_time64);
  178 DUMMY(mq_timedsend_time64);
  179 DUMMY(mq_timedreceive_time64);
  180 DUMMY(semtimedop_time64);
  181 DUMMY(rt_sigtimedwait_time64);
  182 DUMMY(futex_time64);
  183 DUMMY(sched_rr_get_interval_time64);
  184 DUMMY(pidfd_send_signal);
  185 DUMMY(io_uring_setup);
  186 DUMMY(io_uring_enter);
  187 DUMMY(io_uring_register);
  188 
  189 #define DUMMY_XATTR(s)                                          \
  190 int                                                             \
  191 linux_ ## s ## xattr(                                           \
  192     struct thread *td, struct linux_ ## s ## xattr_args *arg)   \
  193 {                                                               \
  194                                                                 \
  195         return (EOPNOTSUPP);                                    \
  196 }
  197 DUMMY_XATTR(set);
  198 DUMMY_XATTR(lset);
  199 DUMMY_XATTR(fset);
  200 DUMMY_XATTR(get);
  201 DUMMY_XATTR(lget);
  202 DUMMY_XATTR(fget);
  203 DUMMY_XATTR(list);
  204 DUMMY_XATTR(llist);
  205 DUMMY_XATTR(flist);
  206 DUMMY_XATTR(remove);
  207 DUMMY_XATTR(lremove);
  208 DUMMY_XATTR(fremove);

Cache object: 45fa386973d45a81755575126c76ded2


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