linux_dummy.c revision 97748
19313Ssos/*- 29313Ssos * Copyright (c) 1994-1995 S�ren Schmidt 39313Ssos * All rights reserved. 49313Ssos * 59313Ssos * Redistribution and use in source and binary forms, with or without 69313Ssos * modification, are permitted provided that the following conditions 79313Ssos * are met: 89313Ssos * 1. Redistributions of source code must retain the above copyright 99313Ssos * notice, this list of conditions and the following disclaimer 109313Ssos * in this position and unchanged. 119313Ssos * 2. Redistributions in binary form must reproduce the above copyright 129313Ssos * notice, this list of conditions and the following disclaimer in the 139313Ssos * documentation and/or other materials provided with the distribution. 149313Ssos * 3. The name of the author may not be used to endorse or promote products 1597748Sschweikh * derived from this software without specific prior written permission 169313Ssos * 179313Ssos * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 189313Ssos * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 199313Ssos * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 209313Ssos * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 219313Ssos * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 229313Ssos * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 239313Ssos * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 249313Ssos * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 259313Ssos * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 269313Ssos * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 279313Ssos * 2850477Speter * $FreeBSD: head/sys/i386/linux/linux_dummy.c 97748 2002-06-02 20:05:59Z schweikh $ 299313Ssos */ 309313Ssos 319313Ssos#include <sys/param.h> 329313Ssos#include <sys/systm.h> 339313Ssos#include <sys/proc.h> 349313Ssos 3514331Speter#include <i386/linux/linux.h> 3668583Smarcel#include <i386/linux/linux_proto.h> 3783221Smarcel#include <compat/linux/linux_util.h> 3812458Sbde 3949850SmarcelDUMMY(stat); 4049850SmarcelDUMMY(stime); 4149850SmarcelDUMMY(fstat); 4249850SmarcelDUMMY(olduname); 4383221SmarcelDUMMY(syslog); 4449850SmarcelDUMMY(uname); 4549850SmarcelDUMMY(vhangup); 4650345SmarcelDUMMY(vm86old); 4749850SmarcelDUMMY(swapoff); 4849850SmarcelDUMMY(adjtimex); 4949850SmarcelDUMMY(create_module); 5049850SmarcelDUMMY(init_module); 5149850SmarcelDUMMY(delete_module); 5249850SmarcelDUMMY(get_kernel_syms); 5349850SmarcelDUMMY(quotactl); 5449850SmarcelDUMMY(bdflush); 5550345SmarcelDUMMY(sysfs); 5650345SmarcelDUMMY(vm86); 5750345SmarcelDUMMY(query_module); 5850345SmarcelDUMMY(nfsservctl); 5950345SmarcelDUMMY(prctl); 6050345SmarcelDUMMY(rt_sigpending); 6150345SmarcelDUMMY(rt_sigtimedwait); 6250345SmarcelDUMMY(rt_sigqueueinfo); 6350345SmarcelDUMMY(capget); 6450345SmarcelDUMMY(capset); 6550345SmarcelDUMMY(sendfile); 6655784SmarcelDUMMY(mmap2); 6755784SmarcelDUMMY(truncate64); 6855784SmarcelDUMMY(ftruncate64); 6983221SmarcelDUMMY(setfsuid); 7083221SmarcelDUMMY(setfsgid); 7183221SmarcelDUMMY(pivot_root); 7283221SmarcelDUMMY(mincore); 7383221SmarcelDUMMY(madvise); 74