freebsd-skq/sys/compat/linux
Jamie Gritton 0304c73163 Add hierarchical jails. A jail may further virtualize its environment
by creating a child jail, which is visible to that jail and to any
parent jails.  Child jails may be restricted more than their parents,
but never less.  Jail names reflect this hierarchy, being MIB-style
dot-separated strings.

Every thread now points to a jail, the default being prison0, which
contains information about the physical system.  Prison0's root
directory is the same as rootvnode; its hostname is the same as the
global hostname, and its securelevel replaces the global securelevel.
Note that the variable "securelevel" has actually gone away, which
should not cause any problems for code that properly uses
securelevel_gt() and securelevel_ge().

Some jail-related permissions that were kept in global variables and
set via sysctls are now per-jail settings.  The sysctls still exist for
backward compatibility, used only by the now-deprecated jail(2) system
call.

Approved by:	bz (mentor)
2009-05-27 14:11:23 +00:00
..
linux_emul.c Remove support for FUTEX_REQUEUE operation. 2009-04-19 13:48:42 +00:00
linux_emul.h Remove support for FUTEX_REQUEUE operation. 2009-04-19 13:48:42 +00:00
linux_file.c Add stuff to support upcoming BMC/IPMI flashing of newer Dell machine 2009-03-26 17:14:22 +00:00
linux_file.h Implement the linux syscalls 2008-04-08 09:45:49 +00:00
linux_futex.c Add KTR(9) tracing for futex emulation. 2009-05-07 16:14:31 +00:00
linux_futex.h Move extern variable definitions to the header file. 2009-05-02 10:06:49 +00:00
linux_getcwd.c Use shared vnode locks when invoking VOP_READDIR(). 2009-02-13 18:18:14 +00:00
linux_ioctl.c To avoid excessive code duplication move MI definitions to the MI 2009-05-07 09:39:20 +00:00
linux_ioctl.h Add TIOCPKT and TIOCSPTLCK to the Linuxolator. 2008-07-23 17:47:44 +00:00
linux_ipc.c Document that all the other commands are either 2008-11-26 16:38:43 +00:00
linux_ipc.h MFP4 (110956): 2006-12-21 13:11:06 +00:00
linux_mib.c Add hierarchical jails. A jail may further virtualize its environment 2009-05-27 14:11:23 +00:00
linux_mib.h Do not export AT_CLKTCK when emulating Linux kernel prior 2009-05-10 18:43:43 +00:00
linux_misc.c Do not export AT_CLKTCK when emulating Linux kernel prior 2009-05-10 18:43:43 +00:00
linux_misc.h Rework r189362, r191883. 2009-05-10 18:16:07 +00:00
linux_signal.c Correctly fill siginfo for the signals delivered by linux tkill/tgkill. 2008-10-19 10:02:26 +00:00
linux_signal.h Correctly fill siginfo for the signals delivered by linux tkill/tgkill. 2008-10-19 10:02:26 +00:00
linux_socket.c Validate user-supplied arguments values. 2009-05-19 09:10:53 +00:00
linux_socket.h Implement MSG_CMSG_CLOEXEC flag for linux_recvmsg(). 2009-05-18 04:07:46 +00:00
linux_stats.c Move the per-prison Linux MIB from a private one-off pointer to the new 2009-05-07 18:36:47 +00:00
linux_sysctl.c Unbreak COMPAT_LINUX32 option support on amd64. 2006-03-19 11:10:33 +00:00
linux_sysproto.h Handle unimplemented syscall by instantly returning ENOSYS instead of sending 2005-03-07 00:18:06 +00:00
linux_time.c MFP4: 109655 2006-12-20 20:17:35 +00:00
linux_uid16.c Add the support for the AT_FDCWD and fd-relative name lookups to the 2008-03-31 12:01:21 +00:00
linux_util.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
linux_util.h Add preliminary KTR(9) support to the linux emulation layer. 2009-05-07 10:01:05 +00:00