freebsd-skq/sys
pjd 01946bf901 Added sysctl security.jail.jailed.
It returns 1 is process is inside of jail and 0 if it is not.
Information if we are in jail or not is not a secret, there is plenty of
ways to discover it. Many people are using own hack to check this and
this will be a legal way from now on.

It will be great if our starting scripts will take advantage of this sysctl
to allow clean "boot" inside jail.

Approved by:	rwatson, scottl (mentor)
2004-02-19 14:29:14 +00:00
..
alpha Regen. 2004-02-04 22:00:44 +00:00
amd64 Checkpoint the NOTES I was working on. 2004-02-19 04:39:14 +00:00
arm Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
boot Re-add sio.S, and properly deal with assembler files. 2004-02-17 07:13:04 +00:00
cam Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
coda - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
compat Add BSD compatibility tty ioctls LINUX_TIOCSBRK and LINUX_TIOCCBRK. This 2004-02-19 12:38:12 +00:00
conf MFi386: revision 1.466 2004-02-19 13:10:39 +00:00
contrib Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
crypto Fix a reentrancy issue in md5_calc(). 2004-01-27 18:57:21 +00:00
ddb If not in the debugger or if the user requests it with the 2004-01-28 06:51:18 +00:00
dev Fix problem caused by previous commit where some users' buttons 2004-02-19 05:35:20 +00:00
fs Use size_t or ssize_t wherever appropriate instead of casting from int * 2004-02-19 09:56:58 +00:00
geom Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
gnu Enforce the file size limit in VOP_WRITE() as well as VOP_TRUNCATE(); 2004-02-19 09:06:06 +00:00
i4b Based on an excellent suggestion from tanimura@ define I4BPRI and use it 2003-11-10 14:20:34 +00:00
i386 Switch to using the new $PIR interrupt routing code and remove the old 2004-02-18 22:41:53 +00:00
ia64 Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
isa Workaround some ACPI BIOSen which break the IO port into multiple 2004-02-15 20:30:22 +00:00
isofs/cd9660 Spell magic '16' number as IO_SEQSHIFT. 2004-01-19 20:03:43 +00:00
kern Added sysctl security.jail.jailed. 2004-02-19 14:29:14 +00:00
libkern Remove register keyword and constify tmp values. This fixes 2004-02-12 03:23:13 +00:00
modules Adding missing cx (cronyx/Sigma) entry. 2004-02-14 21:14:38 +00:00
net Backout MT_TAG removal (i.e. bring back MT_TAGs) for now, as dummynet is 2004-02-18 00:04:52 +00:00
net80211 Change WI_RID_SCAN_RES compatibility interface to return the result after 2004-01-19 05:25:43 +00:00
netatalk Eliminate a duplicate free when deleting an interface address. This 2003-11-28 04:19:41 +00:00
netatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netgraph Use the official ng_timeout function to trigger sending. This means, 2004-01-30 15:34:57 +00:00
netinet Fixed ucred structure leak. 2004-02-19 14:13:21 +00:00
netinet6 IPSEC and FAST_IPSEC have the same internal API now; 2004-02-17 14:02:37 +00:00
netipsec Fix type in a sysctl. It used to be: net.key.prefered_oldsa 2004-02-16 17:09:53 +00:00
netipx Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netkey avoid duplicate free. 2004-01-25 17:18:12 +00:00
netnatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netncp The present defaults for the open and close for device drivers which 2003-09-27 12:01:01 +00:00
netsmb Use automatic major number allocation for nsmb devices. 2004-02-11 12:49:49 +00:00
nfs University of Michigan's Citi NFSv4 kernel client code. 2003-11-14 20:54:10 +00:00
nfs4client Use consistent style for cdevsw initialization 2004-02-14 20:04:25 +00:00
nfsclient Locking for the per-process resource limits structure. 2004-02-04 21:52:57 +00:00
nfsserver Fix some becuase -> because typos. 2003-12-17 16:12:01 +00:00
opencrypto Do not aggressively unroll the AES implementation, in non-benchmarking use 2004-02-04 08:44:10 +00:00
pc98 Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
pccard - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
pci This is not a D_TTY driver. 2004-02-15 10:08:09 +00:00
posix4 The sem_timedwait() and ksem_timedwait() functions both 2004-02-03 22:27:03 +00:00
powerpc Work-in-progress for the 'Kauai' ATA device in Mac notebooks. The 2004-02-12 09:17:16 +00:00
rpc Don't panic because of RPC proto mismatches. Whitespace cleanup. 2004-01-17 21:25:05 +00:00
security Commit file missed in last pass: MAC api uses 'struct pipepair', not 2004-02-01 21:52:09 +00:00
sparc64 - Fix for sparc64 to use new __panic() function 2004-01-27 15:02:18 +00:00
sys Fixed some style bugs (spaces instead of tabs in macro definitions ...). 2004-02-18 02:56:14 +00:00
tools Attempt to clean up the emu10k1-alsa.h stuff so that config doesn't 2004-02-05 22:51:16 +00:00
ufs Abstract dirhash's locking using macros. This should make it easier to 2004-02-15 21:39:35 +00:00
vm - Correct a long-standing race condition in vm_page_try_to_free() that 2004-02-19 07:43:55 +00:00
Makefile Replaced outdated comment. 2004-01-17 03:28:27 +00:00