linux32_dummy.c (302408) | linux32_dummy.c (314107) |
---|---|
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 --- 13 unchanged lines hidden (view full) --- 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> | 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 --- 13 unchanged lines hidden (view full) --- 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: stable/11/sys/amd64/linux32/linux32_dummy.c 297061 2016-03-20 13:21:20Z dchagin $"); | 30__FBSDID("$FreeBSD: stable/11/sys/amd64/linux32/linux32_dummy.c 314107 2017-02-22 19:57:59Z dchagin $"); |
31 32#include "opt_compat.h" 33 34#include <sys/param.h> 35#include <sys/kernel.h> 36#include <sys/sdt.h> 37#include <sys/systm.h> 38#include <sys/proc.h> --- 70 unchanged lines hidden (view full) --- 109DUMMY(timerfd_gettime); 110/* linux 2.6.27: */ 111DUMMY(signalfd4); 112DUMMY(inotify_init1); 113/* linux 2.6.30: */ 114DUMMY(preadv); 115DUMMY(pwritev); 116/* linux 2.6.31: */ | 31 32#include "opt_compat.h" 33 34#include <sys/param.h> 35#include <sys/kernel.h> 36#include <sys/sdt.h> 37#include <sys/systm.h> 38#include <sys/proc.h> --- 70 unchanged lines hidden (view full) --- 109DUMMY(timerfd_gettime); 110/* linux 2.6.27: */ 111DUMMY(signalfd4); 112DUMMY(inotify_init1); 113/* linux 2.6.30: */ 114DUMMY(preadv); 115DUMMY(pwritev); 116/* linux 2.6.31: */ |
117DUMMY(rt_tsigqueueinfo); | 117DUMMY(rt_tgsigqueueinfo); |
118DUMMY(perf_event_open); 119/* linux 2.6.33: */ 120DUMMY(fanotify_init); 121DUMMY(fanotify_mark); | 118DUMMY(perf_event_open); 119/* linux 2.6.33: */ 120DUMMY(fanotify_init); 121DUMMY(fanotify_mark); |
122/* later: */ | 122/* linux 2.6.39: */ |
123DUMMY(name_to_handle_at); 124DUMMY(open_by_handle_at); 125DUMMY(clock_adjtime); | 123DUMMY(name_to_handle_at); 124DUMMY(open_by_handle_at); 125DUMMY(clock_adjtime); |
126/* linux 3.0: */ |
|
126DUMMY(setns); | 127DUMMY(setns); |
128/* linux 3.2: */ |
|
127DUMMY(process_vm_readv); 128DUMMY(process_vm_writev); | 129DUMMY(process_vm_readv); 130DUMMY(process_vm_writev); |
131/* linux 3.5: */ 132DUMMY(kcmp); 133/* linux 3.8: */ 134DUMMY(finit_module); 135DUMMY(sched_setattr); 136DUMMY(sched_getattr); 137/* linux 3.14: */ 138DUMMY(renameat2); 139/* linux 3.15: */ 140DUMMY(seccomp); 141DUMMY(getrandom); 142DUMMY(memfd_create); 143/* linux 3.18: */ 144DUMMY(bpf); 145/* linux 3.19: */ 146DUMMY(execveat); 147/* linux 4.2: */ 148DUMMY(userfaultfd); 149/* linux 4.3: */ 150DUMMY(membarrier); 151/* linux 4.4: */ 152DUMMY(mlock2); 153/* linux 4.5: */ 154DUMMY(copy_file_range); 155/* linux 4.6: */ 156DUMMY(preadv2); 157DUMMY(pwritev2); 158/* linux 4.8: */ 159DUMMY(pkey_mprotect); 160DUMMY(pkey_alloc); 161DUMMY(pkey_free); |
|
129 130#define DUMMY_XATTR(s) \ 131int \ 132linux_ ## s ## xattr( \ 133 struct thread *td, struct linux_ ## s ## xattr_args *arg) \ 134{ \ 135 \ 136 return (ENOATTR); \ --- 13 unchanged lines hidden --- | 162 163#define DUMMY_XATTR(s) \ 164int \ 165linux_ ## s ## xattr( \ 166 struct thread *td, struct linux_ ## s ## xattr_args *arg) \ 167{ \ 168 \ 169 return (ENOATTR); \ --- 13 unchanged lines hidden --- |