VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[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  VSERVER_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_UGID24
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_UID16
43         bool    "UID16/GID32"
44         help
45           reduces UID to 16 bit, but leaves GID at 32 bit.
46
47 config  INOXID_GID16
48         bool    "UID32/GID16"
49         help
50           reduces GID to 16 bit, but leaves UID at 32 bit.
51
52 config  INOXID_UGID24
53         bool    "UID24/GID24"
54         help
55           uses the upper 8bit from UID and GID for XID tagging
56           which leaves 24bit for UID/GID each, which should be
57           more than sufficient for normal use.
58
59 config  INOXID_INTERN
60         bool    "UID32/GID32"
61         help
62           this uses otherwise reserved inode fields in the on
63           disk representation, which limits the use to a few
64           filesystems (currently ext2 and ext3)
65
66 config  INOXID_RUNTIME
67         bool    "Runtime"
68         depends on EXPERIMENTAL
69         help
70           inodes are tagged when first accessed, this doesn't
71           require any persistant information, but might give
72           funny results for mixed access.
73
74 endchoice
75
76 config  VSERVER_DEBUG
77         bool    "Compile Debugging Code"
78         default n
79         help
80           Set this to yes if you want to be able to activate
81           debugging output at runtime. It adds a probably small
82           overhead (~ ??%) to all vserver related functions and
83           increases the kernel size by about 20k.
84
85 endmenu
86