WSL2-Linux-Kernel/Documentation
Serge E. Hallyn 1f29fae297 file capabilities: add no_file_caps switch (v4)
Add a no_file_caps boot option when file capabilities are
compiled into the kernel (CONFIG_SECURITY_FILE_CAPABILITIES=y).

This allows distributions to ship a kernel with file capabilities
compiled in, without forcing users to use (and understand and
trust) them.

When no_file_caps is specified at boot, then when a process executes
a file, any file capabilities stored with that file will not be
used in the calculation of the process' new capability sets.

This means that booting with the no_file_caps boot option will
not be the same as booting a kernel with file capabilities
compiled out - in particular a task with  CAP_SETPCAP will not
have any chance of passing capabilities to another task (which
isn't "really" possible anyway, and which may soon by killed
altogether by David Howells in any case), and it will instead
be able to put new capabilities in its pI.  However since fI
will always be empty and pI is masked with fI, it gains the
task nothing.

We also support the extra prctl options, setting securebits and
dropping capabilities from the per-process bounding set.

The other remaining difference is that killpriv, task_setscheduler,
setioprio, and setnice will continue to be hooked.  That will
be noticable in the case where a root task changed its uid
while keeping some caps, and another task owned by the new uid
tries to change settings for the more privileged task.

Changelog:
	Nov 05 2008: (v4) trivial port on top of always-start-\
		with-clear-caps patch
	Sep 23 2008: nixed file_caps_enabled when file caps are
		not compiled in as it isn't used.
		Document no_file_caps in kernel-parameters.txt.

Signed-off-by: Serge Hallyn <serue@us.ibm.com>
Acked-by: Andrew G. Morgan <morgan@kernel.org>
Signed-off-by: James Morris <jmorris@namei.org>
2008-11-06 07:14:51 +08:00
..
ABI Merge branch 'master' into for-upstream 2008-10-20 16:07:19 +01:00
DocBook Rationalise Randy's address a bit 2008-10-30 11:38:47 -07:00
PCI PCI: fix AER capability check 2008-10-20 11:01:52 -07:00
RCU
accounting .gitignore updates 2008-10-30 11:38:45 -07:00
acpi
aoe
arm [ARM] 5323/1: Remove outdated empeg documentation. 2008-10-29 22:00:39 +00:00
auxdisplay .gitignore updates 2008-10-30 11:38:45 -07:00
blackfin Blackfin arch: add supporting for kgdb 2008-10-13 14:07:19 +08:00
block Merge branch 'docs' of git://git.lwn.net/linux-2.6 2008-10-16 12:18:16 -07:00
cdrom doc/cdrom: Trvial documentation error, file not present 2008-10-10 08:22:44 +02:00
cgroups container freezer: document the cgroup freezer subsystem. 2008-10-20 08:52:34 -07:00
connector .gitignore updates 2008-10-30 11:38:45 -07:00
console
controllers memcg: avoid accounting special pages 2008-10-20 08:52:38 -07:00
cpu-freq [CPUFREQ] correct broken links and email addresses 2008-10-09 13:52:40 -04:00
cpuidle
cris fix random typos 2008-10-16 11:21:30 -07:00
crypto
development-process Add the development process document 2008-10-16 11:51:30 -06:00
device-mapper
driver-model
dvb
early-userspace
fault-injection
fb uvesafb: document mode to mode_option parameter change 2008-10-16 11:21:44 -07:00
filesystems fs: remove prepare_write/commit_write 2008-10-30 11:38:45 -07:00
firmware_class
frv
hwmon hwmon: (lm90) Add support for the LM99 16 degree offset 2008-10-26 17:04:39 +01:00
i2c i2c: The i2c mailing list is moving 2008-10-30 15:55:47 +01:00
i2o
ia64 .gitignore updates 2008-10-30 11:38:45 -07:00
ide
infiniband
input Input: psmouse - add support for Elantech touchpads 2008-10-16 22:54:35 -04:00
ioctl cdrom: update ioctl documentation 2008-09-27 19:32:17 +02:00
isdn Rationalise Randy's address a bit 2008-10-30 11:38:47 -07:00
ja_JP HOWTO: Sync patch for jp_JP/HOWTO 2008-10-29 15:03:50 -07:00
kbuild
kdump powerpc: Support for relocatable kdump kernel 2008-10-22 15:01:22 +11:00
ko_KR
laptops Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
lguest lguest: fix example launcher compile after moved asm-x86 dir. 2008-10-31 11:24:27 +11:00
m68k
make
mips
mn10300
mtd
namespaces
netlabel
networking Rationalise Randy's address a bit 2008-10-30 11:38:47 -07:00
parisc
pcmcia .gitignore updates 2008-10-30 11:38:45 -07:00
power pm: document use of RTC in pm_trace 2008-10-16 11:21:29 -07:00
powerpc of/spi: Support specifying chip select as active high via device tree 2008-10-20 23:34:01 -05:00
prctl
s390 [S390] cio: Exorcise cio_msg= from documentation. 2008-10-10 21:33:49 +02:00
scheduler sched: remove sched-design.txt from 00-INDEX 2008-10-30 11:37:58 +01:00
scsi Rationalise Randy's address a bit 2008-10-30 11:38:47 -07:00
serial
sh sh: Kill off long-dead HD64465 cchip support. 2008-10-28 20:07:44 +09:00
sound Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-10-11 12:39:35 -07:00
sparc
spi .gitignore updates 2008-10-30 11:38:45 -07:00
sysctl Document kernel taint flags properly 2008-10-29 15:03:49 -07:00
telephony
thermal
timers
tracers ftrace: inject markers via trace_marker file 2008-10-14 10:37:20 +02:00
uml
usb Merge branch 'master' into for-upstream 2008-10-20 16:07:19 +01:00
video4linux Rationalise Randy's address a bit 2008-10-30 11:38:47 -07:00
vm .gitignore updates 2008-10-30 11:38:45 -07:00
w1 W1: Documentation/w1/masters/ds2490 update 2008-10-16 11:21:51 -07:00
watchdog .gitignore updates 2008-10-30 11:38:45 -07:00
x86 doc/x86: fix doc subdirs 2008-10-28 16:36:42 +01:00
zh_CN
00-INDEX doc/x86: fix doc subdirs 2008-10-28 16:36:42 +01:00
BUG-HUNTING
Changes
CodingStyle
DMA-API.txt fix an example of scatterlists handling in DMA-API.txt 2008-10-09 08:56:18 +02:00
DMA-ISA-LPC.txt
DMA-attributes.txt
DMA-mapping.txt Documentation/DMA-mapping.txt: update for pci_dma_mapping_error() changes 2008-09-23 08:09:14 -07:00
HOWTO Remove Andrew Morton's http://www.zip.com.au/~akpm/ 2008-10-16 11:21:32 -07:00
IO-mapping.txt
IPMI.txt
IRQ-affinity.txt
IRQ.txt
Intel-IOMMU.txt
MSI-HOWTO.txt PCI: fix MSI-HOWTO.txt info about MSI-X MMIO space 2008-10-20 10:54:24 -07:00
Makefile
ManagementStyle docs: fix ManagementStyle book name 2008-10-30 11:38:46 -07:00
README.DAC960
README.cycladesZ
SAK.txt Remove Andrew Morton's old email accounts 2008-10-16 11:21:32 -07:00
SELinux.txt
SM501.txt
SecurityBugs
Smack.txt
SubmitChecklist documentation: explain memory barriers 2008-10-16 11:21:32 -07:00
SubmittingDrivers Remove Andrew Morton's old email accounts 2008-10-16 11:21:32 -07:00
SubmittingPatches Merge branch 'docs' of git://git.lwn.net/linux-2.6 2008-10-16 12:18:16 -07:00
VGA-softcursor.txt
applying-patches.txt
atomic_ops.txt
basic_profiling.txt
binfmt_misc.txt
braille-console.txt
bt8xxgpio.txt
cachetlb.txt
cciss.txt
computone.txt
cpqarray.txt
cpu-hotplug.txt
cpu-load.txt
cpusets.txt container freezer: document the cgroup freezer subsystem. 2008-10-20 08:52:34 -07:00
cputopology.txt
dcdbas.txt
debugging-modules.txt
debugging-via-ohci1394.txt
dell_rbu.txt
devices.txt USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
digiepca.txt
dontdiff dontdiff: more updates to be closer to gitignore 2008-10-16 11:21:31 -07:00
edac.txt
eisa.txt
email-clients.txt
exception.txt
feature-removal-schedule.txt Schedule removal of the legacy i2c device driver binding model 2008-10-22 20:21:32 +02:00
floppy.txt
ftrace.txt ftrace: handle archs that do not support irqs_disabled_flags 2008-10-31 00:03:26 +01:00
gpio.txt gpiolib: request/free hooks 2008-10-16 11:21:40 -07:00
hayes-esp.txt
highuid.txt
hw_random.txt
initrd.txt
io-mapping.txt io mapping: improve documentation 2008-11-03 18:21:44 +01:00
io_ordering.txt
ioctl-number.txt usb: vstusb.c : new driver for spectrometers used by Vernier Software & Technology, Inc. 2008-10-17 14:41:01 -07:00
iostats.txt
irqflags-tracing.txt
isapnp.txt
java.txt
kernel-doc-nano-HOWTO.txt
kernel-docs.txt
kernel-parameters.txt file capabilities: add no_file_caps switch (v4) 2008-11-06 07:14:51 +08:00
keys-request-key.txt
keys.txt
kobject.txt kobject: Fix kobject_rename and !CONFIG_SYSFS 2008-10-16 09:24:52 -07:00
kprobes.txt
kref.txt
ldm.txt
leds-class.txt
local_ops.txt
lockdep-design.txt
lockstat.txt
logo.gif
logo.txt
magic-number.txt
markers.txt markers: documentation fix for teardown 2008-10-14 10:38:33 +02:00
mca.txt
md.txt
memory-barriers.txt
memory-hotplug.txt
memory.txt
mono.txt
moxa-smartio
mutex-design.txt
nbd.txt
nmi_watchdog.txt
nommu-mmap.txt
numastat.txt
oops-tracing.txt
paride.txt
parport-lowlevel.txt
parport.txt
pi-futex.txt
pnp.txt
preempt-locking.txt
prio_tree.txt
ramdisk.txt
rbtree.txt
rfkill.txt
riscom8.txt
robust-futex-ABI.txt
robust-futexes.txt
rocket.txt
rt-mutex-design.txt
rt-mutex.txt
rtc.txt
serial-console.txt
sgi-ioc4.txt
sgi-visws.txt
sparse.txt
specialix.txt
spinlocks.txt
stable_api_nonsense.txt
stable_kernel_rules.txt Update stable tree documentation 2008-10-29 15:03:49 -07:00
stallion.txt
svga.txt
sx.txt
sysfs-rules.txt
sysrq.txt Merge branch 'v28-timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-10-20 13:19:56 -07:00
tracepoints.txt tracing: tracepoints, documentation 2008-10-14 10:28:47 +02:00
tty.txt
unaligned-memory-access.txt
unicode.txt
unshare.txt
video-output.txt
volatile-considered-harmful.txt
voyager.txt
zorro.txt

README.cycladesZ

The Cyclades-Z must have firmware loaded onto the card before it will
operate.  This operation should be performed during system startup,

The firmware, loader program and the latest device driver code are
available from Cyclades at
    ftp://ftp.cyclades.com/pub/cyclades/cyclades-z/linux/