1/*- 2 * Copyright (c) 2002 Doug Rabson 3 * Copyright (c) 1994-1995 S�ren Schmidt 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 14 unchanged lines hidden (view full) --- 23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 */ 29 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: head/sys/compat/linux/linux_misc.c 143197 2005-03-07 00:18:06Z sobomax $"); |
32 33#include "opt_mac.h" 34 35#include <sys/param.h> 36#include <sys/blist.h> 37#include <sys/fcntl.h> 38#if defined(__i386__) || defined(__alpha__) 39#include <sys/imgact_aout.h> --- 29 unchanged lines hidden (view full) --- 69#include <vm/vm_extern.h> 70#include <vm/vm_object.h> 71#include <vm/swap_pager.h> 72 73#include <posix4/sched.h> 74 75#include "opt_compat.h" 76 |
77#include <compat/linux/linux_sysproto.h> 78 |
79#ifdef COMPAT_LINUX32 80#include <machine/../linux32/linux.h> 81#include <machine/../linux32/linux32_proto.h> 82#else 83#include <machine/../linux/linux.h> 84#include <machine/../linux/linux_proto.h> 85#endif 86 --- 1302 unchanged lines hidden (view full) --- 1389 1390int 1391linux_getsid(struct thread *td, struct linux_getsid_args *args) 1392{ 1393 struct getsid_args bsd; 1394 bsd.pid = args->pid; 1395 return getsid(td, &bsd); 1396} |
1397 1398int 1399linux_nosys(struct thread *td, struct nosys_args *ignore) 1400{ 1401 1402 return (ENOSYS); 1403} |