This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git] / kernel / vserver / Kconfig
1 #
2 # Linux VServer configuration
3 #
4
5 menu "Linux VServer"
6
7 config  VSERVER_LEGACY
8         bool    "Enable Legacy Kernel API"
9         default y
10         help
11           This enables the legacy API used in vs1.xx, which allows
12           to use older tools (for migration purposes).
13
14 config  PROC_SECURE
15         bool    "Enable Proc Security"
16         depends on PROC_FS
17         default y
18         help
19           Hide proc entries by default for xid>1
20
21 config  VSERVER_HARDCPU
22         bool    "Enable Hard CPU Limits"
23         depends on EXPERIMENTAL
24         default n
25         help
26           Activate the Hard CPU Limits
27
28 choice
29         prompt  "Persistent Inode Context Tagging"
30         default INOXID_GID24
31         help
32           This adds persistent context information to filesystems
33           mounted with the tagxid option. Tagging is a requirement
34           for per context disk limits and per context quota.
35
36
37 config  INOXID_NONE
38         bool    "Disabled"
39         help
40           no context information is store for inodes
41
42 config  INOXID_GID16
43         bool    "UID32/GID16"
44         help
45           reduces GID to 16 bit, but leaves UID at 32 bit.
46
47 config  INOXID_GID24
48         bool    "UID24/GID24"
49         help
50           uses the upper 8bit from UID and GID for XID tagging
51           which leaves 24bit for UID/GID each, which should be
52           more than sufficient for normal use.
53
54 config  INOXID_GID32
55         bool    "UID32/GID32"
56         help
57           this uses otherwise reserved inode fields in the on
58           disk representation, which limits the use to a few
59           filesystems (currently ext2 and ext3)
60
61 config  INOXID_MAGIC
62         bool    "Runtime"
63         depends on EXPERIMENTAL
64         help
65           inodes are tagged when first accessed, this doesn't
66           require any persistant information, but might give
67           funny results for mixed access.
68
69 endchoice
70
71 endmenu
72