Changeset 2716
- Timestamp:
- 05/03/08 18:53:45 (7 months ago)
- Files:
-
- trunk/lib/issupported.c (modified) (1 diff)
- trunk/lib/issupportedstring.c (modified) (1 diff)
- trunk/lib/vserver.h (modified) (1 diff)
- trunk/scripts/vserver.functions (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/issupported.c
r2589 r2716 48 48 case vcFEATURE_VSTAT : return ver >= 0x00020103; 49 49 case vcFEATURE_PPTAG : return conf & VC_VCI_PPTAG; 50 case vcFEATURE_PIDSPACE : return ver >= 0x00020303 || ver >= 0x00020201; 50 51 default : assert(false); 51 52 } trunk/lib/issupportedstring.c
r2589 r2716 35 35 DECL(MIGRATE), DECL(NAMESPACE), DECL(SCHED), DECL(VINFO), 36 36 DECL(VHI), DECL(VSHELPER0), DECL(VSHELPER), DECL(VWAIT), 37 DECL(VNET), DECL(VSTAT), DECL(PPTAG), 37 DECL(VNET), DECL(VSTAT), DECL(PPTAG), DECL(PIDSPACE), 38 38 }; 39 39 trunk/lib/vserver.h
r2705 r2716 967 967 vcFEATURE_SCHED, vcFEATURE_VINFO, vcFEATURE_VHI, 968 968 vcFEATURE_VSHELPER0, vcFEATURE_VSHELPER, vcFEATURE_VWAIT, 969 vcFEATURE_VNET, vcFEATURE_VSTAT, vcFEATURE_PPTAG, } 969 vcFEATURE_VNET, vcFEATURE_VSTAT, vcFEATURE_PPTAG, 970 vcFEATURE_PIDSPACE, } 970 971 vcFeatureSet; 971 972 trunk/scripts/vserver.functions
r2709 r2716 758 758 local d="$vdir"/spaces 759 759 760 test ! -e "$d"/pid || \ 761 OPTS_VSPACE=( "${OPTS_VSPACE[@]}" --pid ) 760 ( test ! -e "$d"/pid && 761 ! $_VSERVER_INFO PIDSPACE FEATURE ) || \ 762 OPTS_VSPACE=( "${OPTS_VSPACE[@]}" --pid ) 762 763 763 764 test ! -e "$d"/net || {
