X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fplanetlab.h;h=ef6aad4ab6fd25dd0d0a2966d499bb992b7315fe;hb=da4283f4995283be5020e58eaf7fb02d014a07da;hp=fe346aa7e2610260c5553e90611c4a7547916837;hpb=6471cae28b5b32ff2d425b3d103a4ceac7550125;p=util-vserver.git diff --git a/lib/planetlab.h b/lib/planetlab.h index fe346aa..ef6aad4 100644 --- a/lib/planetlab.h +++ b/lib/planetlab.h @@ -43,11 +43,14 @@ struct sliver_resources { struct vc_rlimit vs_as; struct vc_rlimit vs_nproc; struct vc_rlimit vs_openfd; - unsigned int vs_whitelisted; + unsigned long long vs_whitelisted; + struct vc_ctx_caps vs_capabilities; }; +int adjust_lim(struct vc_rlimit *vcr, struct rlimit *lim); + int -pl_chcontext(xid_t ctx, uint32_t flags, uint64_t bcaps, struct sliver_resources *slr); +pl_chcontext(xid_t ctx, uint64_t bcaps, struct sliver_resources *slr); int pl_setup_done(xid_t ctx);