2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
4 * Copyright (c) 1994-1995 Søren Schmidt
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
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.
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
29 #include <sys/cdefs.h>
30 __FBSDID("$FreeBSD$");
32 #include "opt_compat.h"
34 #include <sys/param.h>
35 #include <sys/kernel.h>
37 #include <sys/systm.h>
40 #include <amd64/linux32/linux.h>
41 #include <amd64/linux32/linux32_proto.h>
42 #include <compat/linux/linux_dtrace.h>
43 #include <compat/linux/linux_util.h>
46 LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE);
48 UNIMPLEMENTED(afs_syscall);
50 UNIMPLEMENTED(create_module); /* Added in Linux 1.0 removed in 2.6. */
52 UNIMPLEMENTED(get_kernel_syms); /* Added in Linux 1.0 removed in 2.6. */
53 UNIMPLEMENTED(getpmsg);
58 UNIMPLEMENTED(nfsservctl); /* Added in Linux 2.2 removed in 3.1. */
60 UNIMPLEMENTED(profil);
61 UNIMPLEMENTED(putpmsg);
62 UNIMPLEMENTED(query_module); /* Added in Linux 2.2 removed in 2.6. */
63 UNIMPLEMENTED(ulimit);
64 UNIMPLEMENTED(vserver);
83 DUMMY(lookup_dcookie);
84 DUMMY(remap_file_pages);
91 DUMMY(mq_timedreceive);
103 DUMMY(inotify_add_watch);
104 DUMMY(inotify_rm_watch);
106 DUMMY(migrate_pages);
110 DUMMY(sync_file_range);
121 DUMMY(inotify_init1);
123 DUMMY(perf_event_open);
125 DUMMY(fanotify_init);
126 DUMMY(fanotify_mark);
128 DUMMY(name_to_handle_at);
129 DUMMY(open_by_handle_at);
130 DUMMY(clock_adjtime);
134 DUMMY(process_vm_readv);
135 DUMMY(process_vm_writev);
140 DUMMY(sched_setattr);
141 DUMMY(sched_getattr);
158 DUMMY(copy_file_range);
163 DUMMY(pkey_mprotect);
167 #define DUMMY_XATTR(s) \
169 linux_ ## s ## xattr( \
170 struct thread *td, struct linux_ ## s ## xattr_args *arg) \
185 DUMMY_XATTR(lremove);
186 DUMMY_XATTR(fremove);