linux32_dummy.c revision 178257
1133819Stjr/*-
2133819Stjr * Copyright (c) 1994-1995 S�ren Schmidt
3133819Stjr * All rights reserved.
4133819Stjr *
5133819Stjr * Redistribution and use in source and binary forms, with or without
6133819Stjr * modification, are permitted provided that the following conditions
7133819Stjr * are met:
8133819Stjr * 1. Redistributions of source code must retain the above copyright
9133819Stjr *    notice, this list of conditions and the following disclaimer
10133819Stjr *    in this position and unchanged.
11133819Stjr * 2. Redistributions in binary form must reproduce the above copyright
12133819Stjr *    notice, this list of conditions and the following disclaimer in the
13133819Stjr *    documentation and/or other materials provided with the distribution.
14133819Stjr * 3. The name of the author may not be used to endorse or promote products
15133819Stjr *    derived from this software without specific prior written permission
16133819Stjr *
17133819Stjr * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18133819Stjr * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19133819Stjr * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20133819Stjr * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21133819Stjr * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22133819Stjr * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23133819Stjr * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24133819Stjr * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25133819Stjr * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26133819Stjr * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27133819Stjr */
28133819Stjr
29133819Stjr#include <sys/cdefs.h>
30133819Stjr__FBSDID("$FreeBSD: head/sys/amd64/linux32/linux32_dummy.c 178257 2008-04-16 19:25:39Z jkim $");
31133819Stjr
32133819Stjr#include <sys/param.h>
33133819Stjr#include <sys/systm.h>
34133819Stjr#include <sys/proc.h>
35133819Stjr
36133819Stjr#include <amd64/linux32/linux.h>
37133819Stjr#include <amd64/linux32/linux32_proto.h>
38133819Stjr#include <compat/linux/linux_util.h>
39133819Stjr
40133819StjrDUMMY(stime);
41133819StjrDUMMY(olduname);
42133819StjrDUMMY(syslog);
43133819StjrDUMMY(uname);
44133819StjrDUMMY(vhangup);
45133819StjrDUMMY(swapoff);
46133819StjrDUMMY(adjtimex);
47133819StjrDUMMY(create_module);
48133819StjrDUMMY(init_module);
49133819StjrDUMMY(delete_module);
50133819StjrDUMMY(get_kernel_syms);
51133819StjrDUMMY(quotactl);
52133819StjrDUMMY(bdflush);
53133819StjrDUMMY(sysfs);
54133819StjrDUMMY(query_module);
55133819StjrDUMMY(nfsservctl);
56133819StjrDUMMY(rt_sigqueueinfo);
57133819StjrDUMMY(capget);
58133819StjrDUMMY(capset);
59133819StjrDUMMY(sendfile);
60133819StjrDUMMY(truncate64);
61133819StjrDUMMY(setfsuid);
62133819StjrDUMMY(setfsgid);
63133819StjrDUMMY(pivot_root);
64133819StjrDUMMY(mincore);
65133819StjrDUMMY(fadvise64);
66133819StjrDUMMY(ptrace);
67159824SnetchildDUMMY(lookup_dcookie);
68159824SnetchildDUMMY(epoll_create);
69159824SnetchildDUMMY(epoll_ctl);
70159824SnetchildDUMMY(epoll_wait);
71159824SnetchildDUMMY(remap_file_pages);
72159824SnetchildDUMMY(timer_create);
73159824SnetchildDUMMY(timer_settime);
74159824SnetchildDUMMY(timer_gettime);
75159824SnetchildDUMMY(timer_getoverrun);
76159824SnetchildDUMMY(timer_delete);
77159824SnetchildDUMMY(fstatfs64);
78159824SnetchildDUMMY(fadvise64_64);
79159824SnetchildDUMMY(mbind);
80159824SnetchildDUMMY(get_mempolicy);
81159824SnetchildDUMMY(set_mempolicy);
82159824SnetchildDUMMY(mq_open);
83159824SnetchildDUMMY(mq_unlink);
84159824SnetchildDUMMY(mq_timedsend);
85159824SnetchildDUMMY(mq_timedreceive);
86159824SnetchildDUMMY(mq_notify);
87159824SnetchildDUMMY(mq_getsetattr);
88159824SnetchildDUMMY(kexec_load);
89159824SnetchildDUMMY(waitid);
90159824SnetchildDUMMY(add_key);
91159824SnetchildDUMMY(request_key);
92159824SnetchildDUMMY(keyctl);
93159824SnetchildDUMMY(ioprio_set);
94159824SnetchildDUMMY(ioprio_get);
95159824SnetchildDUMMY(inotify_init);
96159824SnetchildDUMMY(inotify_add_watch);
97159824SnetchildDUMMY(inotify_rm_watch);
98159824SnetchildDUMMY(migrate_pages);
99159824SnetchildDUMMY(pselect6);
100159824SnetchildDUMMY(ppoll);
101159824SnetchildDUMMY(unshare);
102178257SjkimDUMMY(set_robust_list);
103178257SjkimDUMMY(get_robust_list);
104178257SjkimDUMMY(splice);
105178257SjkimDUMMY(sync_file_range);
106178257SjkimDUMMY(tee);
107178257SjkimDUMMY(vmsplice);
108133819Stjr
109133819Stjr#define DUMMY_XATTR(s)						\
110133819Stjrint								\
111133819Stjrlinux_ ## s ## xattr(						\
112133819Stjr    struct thread *td, struct linux_ ## s ## xattr_args *arg)	\
113133819Stjr{								\
114133819Stjr								\
115133819Stjr	return (ENOATTR);					\
116133819Stjr}
117133819StjrDUMMY_XATTR(set);
118133819StjrDUMMY_XATTR(lset);
119133819StjrDUMMY_XATTR(fset);
120133819StjrDUMMY_XATTR(get);
121133819StjrDUMMY_XATTR(lget);
122133819StjrDUMMY_XATTR(fget);
123133819StjrDUMMY_XATTR(list);
124133819StjrDUMMY_XATTR(llist);
125133819StjrDUMMY_XATTR(flist);
126133819StjrDUMMY_XATTR(remove);
127133819StjrDUMMY_XATTR(lremove);
128133819StjrDUMMY_XATTR(fremove);
129