vserver 2.0-rc4
[linux-2.6.git] / kernel / vserver / Kconfig
1 #
2 # Linux VServer configuration
3 #
4
5 config  VSERVER
6         bool
7         default y
8
9 config  VSERVER_SECURITY
10         bool
11         depends on SECURITY
12         default y
13         select SECURITY_CAPABILITIES
14
15 config  VSERVER_LEGACYNET
16         bool
17         depends on !VSERVER_NGNET
18         default y
19
20 menu "Linux VServer"
21
22 config  VSERVER_LEGACY
23         bool    "Enable Legacy Kernel API"
24         default y
25         help
26           This enables the legacy API used in vs1.xx, which allows
27           to use older tools (for migration purposes).
28
29 config  VSERVER_NGNET
30         bool    "Disable Legacy Networking Kernel API"
31         depends on EXPERIMENTAL
32         default n
33         help
34           This disables the legacy networking API which is required
35           by the chbind tool. Do not disable it unless you exactly
36           know what you are doing.
37
38 config  VSERVER_PROC_SECURE
39         bool    "Enable Proc Security"
40         depends on PROC_FS
41         default y
42         help
43           Hide proc entries by default for xid>1
44
45 config  VSERVER_HARDCPU
46         bool    "Enable Hard CPU Limits"
47         depends on EXPERIMENTAL
48         default n
49         help
50           Activate the Hard CPU Limits
51
52 config  VSERVER_HARDCPU_IDLE
53         bool    "Limit the IDLE task"
54         depends on VSERVER_HARDCPU
55         default n
56         help
57           Limit the idle slices, so the the next context
58           will be scheduled as soon as possible.
59           might improve interactivity/latency but
60           increases scheduling overhead.
61
62 choice
63         prompt  "Persistent Inode Context Tagging"
64         default INOXID_UGID24
65         help
66           This adds persistent context information to filesystems
67           mounted with the tagxid option. Tagging is a requirement
68           for per context disk limits and per context quota.
69
70
71 config  INOXID_NONE
72         bool    "Disabled"
73         help
74           no context information is store for inodes
75
76 config  INOXID_UID16
77         bool    "UID16/GID32"
78         help
79           reduces UID to 16 bit, but leaves GID at 32 bit.
80
81 config  INOXID_GID16
82         bool    "UID32/GID16"
83         help
84           reduces GID to 16 bit, but leaves UID at 32 bit.
85
86 config  INOXID_UGID24
87         bool    "UID24/GID24"
88         help
89           uses the upper 8bit from UID and GID for XID tagging
90           which leaves 24bit for UID/GID each, which should be
91           more than sufficient for normal use.
92
93 config  INOXID_INTERN
94         bool    "UID32/GID32"
95         help
96           this uses otherwise reserved inode fields in the on
97           disk representation, which limits the use to a few
98           filesystems (currently ext2 and ext3)
99
100 config  INOXID_RUNTIME
101         bool    "Runtime"
102         depends on EXPERIMENTAL
103         help
104           inodes are tagged when first accessed, this doesn't
105           require any persistant information, but might give
106           funny results for mixed access.
107
108 endchoice
109
110 config  XID_TAG_NFSD
111         bool    "Tag NFSD User Auth and Files"
112         default n
113         help
114           Enable this if you do want the kernel nfsd to
115           use the xid tagging specified above.
116           (will require patched clients too)
117
118 config  VSERVER_DEBUG
119         bool    "VServer Debugging Code"
120         default n
121         help
122           Set this to yes if you want to be able to activate
123           debugging output at runtime. It adds a probably small
124           overhead (~ ??%) to all vserver related functions and
125           increases the kernel size by about 20k.
126
127 config  VSERVER_HISTORY
128         bool    "VServer History Tracing"
129         depends on VSERVER_DEBUG
130         default n
131         help
132           Set this to yes if you want to record the history of
133           linux-vserver activities, so they can be replayed on
134           a kernel panic (oops)
135
136 config  VSERVER_HISTORY_SIZE
137         int "Per CPU History Size (32-65536)"
138         depends on VSERVER_HISTORY
139         range 32 65536
140         default 64
141         help
142           This allows you to specify the number of entries in
143           the per CPU history buffer.
144
145 endmenu
146