int vc_text2cap(char const *);
char const * vc_cap2text(unsigned int);
- inline static uint_least32_t vc_get_securecaps() {
+ inline static uint_least32_t vc_get_insecurecaps() {
return ( (1<<VC_CAP_LINUX_IMMUTABLE) | (1<<VC_CAP_NET_BROADCAST) |
(1<<VC_CAP_NET_ADMIN) | (1<<VC_CAP_NET_RAW) |
(1<<VC_CAP_IPC_LOCK) | (1<<VC_CAP_IPC_OWNER) |
vcCFG_RECENT_SHORT,
vcCFG_RECENT_FULL } vcCfgStyle;
+
+ /** Maps an xid given at '--xid' options to an xid_t */
+ xid_t vc_xidopt2xid(char const *, bool honor_static, char const **err_info);
+
vcCfgStyle vc_getVserverCfgStyle(char const *id);
/** Resolves the name of the vserver. The result will be allocated and must